1
Forum Settings
       
« Previous 1 2 3 4 5 6 7 8 9 10 11
Reply To Thread

FFXI Patch UtilFollow

#1 Jul 19 2005 at 5:40 PM Rating: Excellent
**
741 posts
OK, I was bored today at work (and deciding not to do work) so I wrote this nifty app.

The goal is to help relieve stress on the update servers by making the FFXI update available for download on non-FFXI servers.

The problem is...I can't download the current ffxi update..So I don't really know FOR SURE if this program works. I mean, I've tested the patching system on other packages, such as source code and music files, and that stuff works, so now I leave it up to you guys.


Download

The download will be removed in a couple hours just to alleviate server stress (I don't have a very good place to host this file). So if someone wants to host the file for me, please do.

Installation
Download the above zip file, unzip the .exe and run it.

Making a patch
When you start ffxi_patch, the ffxi path should be set for you, and the patch path should have a ffxi.patch appended to the path above. If for any reason you need to change these paths, click the `...' and select the appropriate files and directories.

Either after you have playonline running or before, fire up ffxi_patch.exe. Before you go to FFXI and press 'Play' to do the version check, press the "Prepare before download" button. This will do a complete scan of the files in the ffxi folder. Wait until this completes (It could take a long while).

Now FFXI patch system has a memory of the files in the FFXI folder. Your next job is to actually do the update. Good luck.

Once you've updated FFXI, return to FFXI_Patch and press the "Prepare after download (download completed)" button. This will scan the files once more and determine what has changed between updates.

Once that has finished, click "Save Patch" and the patch file will be saved to the location in the "Patch Path" text entry.

Take that file, zip it up, and store it on some website for people to download.

Saving CRCs for someone else to make a patch
Like above, set the FFXI Path to the path you wish to make a record of. Hit the "Prepare before download" button. Once that finishes, the Save CRCs button will activate. Click it and save the CRC file to disk. Put this file online somewhere.
NOTE: If either the person creating the CRC file or the person loading the CRC have modified their folders in any way whatsoever except for the FFXI updates, then this method will copy and include those changes!!!

Creating a patch via Loaded CRCs
Set your FFXI Path appropriately for the CRCs--sorry the CRC file doesn't store it. So if the CRC is a list of all the ROM files you will need to make sure your FFXI Path points to the ROM directory. Once that is set, set the Patch Path to where you want to save the patches. Now click "Load CRCs" and select the crc file to open.

DO NOT CLICK "Prepare before download" as the CRC file contains all the information.

Now, just press the "Prepare after download (download completed)" button. This will scan the files in your specified path and compare them to what was in the CRC file.

Again, press "Save Patch" in order to save the .patch file.

Installing a patch
Download a .zip'd patch, unzip it anywhere. Run ffxi_patch, and click the `...' next to Patch Path. Browse for the .patch file. Make sure the FFXI Path text field is set correctly and hit the "Apply patch" button. It should work.


Words of warning
- There's no guarantee this will work. In fact, it's a public alpha in my opinion. This is the first update we've had an application like this, so let's just give it a go to see if it works?

- If it does work, what will happen is that your files will be patched and when you go to log into ffxi you will have to still connect to the update server. You will still have to experience the 'checking files' part of the update. However, once the checking files part is done, you shouldn't experience any download whatsoever (since the files will all be up-to-date).

- Downloading files and data from other people is risky business. Be sure to virus scan the patch (and my ffxi_patch.exe too!)

- SquareEnix might be a little upset about this. Use at your own risk.



If I've helped, rate me up please^^; If I've done something bad, please let me know by rating down and posting telling why.

Thank you FFXI community, you've all been great!




Edited, Tue Jul 19 18:47:54 2005 by Sarchar

Edited, Tue Jul 19 20:59:17 2005 by Sarchar

Edited, Tue Jul 19 21:02:48 2005 by Sarchar
#2 Jul 19 2005 at 5:42 PM Rating: Decent
No explanation of how this works and too much risk of malicious code.

Keyloggers don't show up in virus-scans.
#3 Jul 19 2005 at 5:47 PM Rating: Decent
**
741 posts
FolkenCS wrote:
No explanation of how this works and too much risk of malicious code.

Keyloggers don't show up in virus-scans.


I've also put it on my personal website, so if key loggers do show up, then you've someone to blame.

Also, I'll be releasing source code sometime in the future.
#4 Jul 19 2005 at 5:48 PM Rating: Default
Can you explain the hypothesis of how it works?
#5 Jul 19 2005 at 5:52 PM Rating: Decent
**
741 posts
FolkenCS wrote:
Can you explain the hypothesis of how it works?


I'm not sure what you mean entirely. Basically the program runs a CRC (Cyclic redunancy check) on all your data files, then after you've patched FFXI, it does it again and makes a note of what's different. The program NEVER reads any files outside of the FFXI Path specified.

The things that are different get saved to a patch file. That patch file can be read by the program for other people to install. All the data that gets transfered is straight from SE to a .patch file, then straight to your computer.

It's up to you if you want to try it or not, really, but I hope I am doing the community a favor by giving this program out.

If there are any other questions, I'll be happy to answer.

Edited, Tue Jul 19 18:56:33 2005 by Sarchar
#6 Jul 19 2005 at 5:55 PM Rating: Default
Ah.. So this will catch all of the new files and bundle them up for distribution.
#7 Jul 19 2005 at 5:55 PM Rating: Decent
**
741 posts
FolkenCS wrote:
Ah.. So this will catch all of the new files and bundle them up for distribution.


Yes, that's the goal ^^;
#8 Jul 19 2005 at 5:57 PM Rating: Decent
***
2,817 posts
The only problem is, if you don't hook any registry API's, you're not going to know whether or not the update sets any keys. Without the keys being recorded as well, even if you captured the deltas between non-update/update and handed it off to a non-updated client, it wouldn't do any good since PlayOnline would read the registry and decide the client is still using an older version. Then the user would be back to square one. ><
#9 Jul 19 2005 at 5:57 PM Rating: Decent
we could spread it as a torrent ^^
#10 Jul 19 2005 at 5:58 PM Rating: Decent
*
72 posts
has anyone tried making this zip yet, and if so, would they be willing to post a link to the resulting zip? S-E still havent given me the update, after an entire day of sporadic attempts... :(
#11 Jul 19 2005 at 5:58 PM Rating: Decent
*
96 posts
i am noobie to programming stuff....

but u mention setting up the correct path for the program....

How do i find out which path is my ffxi at?

Please help and i am seriously considering to use your program
#12REDACTED, Posted: Jul 19 2005 at 5:59 PM, Rating: Sub-Default, (Expand Post) Well I hate SE and I will do this just to get their predjiduce minds in order.
#13 Jul 19 2005 at 6:03 PM Rating: Decent
**
741 posts
Fhqwghads the Tulip wrote:
The only problem is, if you don't hook any registry API's, you're not going to know whether or not the update sets any keys. Without the keys being recorded as well, even if you captured the deltas between non-update/update and handed it off to a non-updated client, it wouldn't do any good since PlayOnline would read the registry and decide the client is still using an older version. Then the user would be back to square one. ><


Almost correct, but still missing something.

I hope to have support for Registry entries in the future, so look for that.

However, the FFXI update still is smarter than you give it credit. You know the "Checking files..." part? It does that to make sure it doesn't download files it doesn't need. Even if the registry says "Hey ffxi, you're behind in your versioning," then the installer will get the update info, and find which files need updating. Using this patch system, it'll find that -no- files need updating and FFXI will update the registry to the current version.


Try it!

Edited, Tue Jul 19 19:03:58 2005 by Sarchar
#14 Jul 19 2005 at 6:04 PM Rating: Decent
**
741 posts
orcbiereturn wrote:
i am noobie to programming stuff....

but u mention setting up the correct path for the program....

How do i find out which path is my ffxi at?

Please help and i am seriously considering to use your program


It should be set automatically. If not, you'll have to find out where FFXI is installed. It's usually in a place like

C:\Program Files\PlayOnline\FINAL FANTASY XI\

#15 Jul 19 2005 at 6:11 PM Rating: Decent
*
64 posts
I will do it. Almost done checking my files, and then I'll get the update and see what I can do. (Might need to give me... 5 hours or so? XD)
#16 Jul 19 2005 at 6:12 PM Rating: Good
**
287 posts
this will make model edits a bit easier too... XD just make a .patch file for the "updated" models and distrubute it... run it and boom, new looking characters w/o all the fuss XD.
just another idea which this could be used for.

i love the idea, and was hopin someone would write out something like this. and i hope to see the .patch files on bittorrent sites soon XD


hell man take your time, theres alot of crap that has to be done XD. btw... mr programmer dude... are you perchance keeping a database with all the CRCs of each file or not? that might make things faster in the longrun...

and there is a problem about the .dlls in the patch file... there should be a way to authenticate the .patch file as an original. like... an original release, etc... perhaps MD5sum... that way we dont have keyloggers etc looped into the various .dlls.

just a couple of ideas.



Edited, Tue Jul 19 19:15:24 2005 by RanDomErrOr
#17 Jul 19 2005 at 6:15 PM Rating: Decent
**
741 posts
RanDomErrOr wrote:
this will make model edits a bit easier too... XD just make a .patch file for the "updated" models and distrubute it... run it and boom, new looking characters w/o all the fuss XD.
just another idea which this could be used for.

i love the idea, and was hopin someone would write out something like this. and i hope to see the .patch files on bittorrent sites soon XD


Yeah, such a cool idea. I didn't even think of this when I was writing the app^^;

Say you wanted to have the naked mithra model (o,O) then just go download nakedmithra.patch and install it^^

Cool!

#18 Jul 19 2005 at 6:15 PM Rating: Decent
*
96 posts
If anyone have use this software and got hteir hand on the latest FFXI updates, kindly post a link to get your updated zip files.
#19 Jul 19 2005 at 6:16 PM Rating: Decent
32 posts
In theory because there is a seperate "Installation" Phase of patching could you not have someone whos at like 80/90% do a scan and then let them finish up fast and then after the installation finish it?
#20 Jul 19 2005 at 6:21 PM Rating: Decent
**
408 posts
I actually doubt that the registry keys have anything to do whatsoever with patching. As evidence pointing to this, I have had to do a complete HD format in the past. To save myself the trouble of re-patching my FFXI, I copied the entire contents of my FFXI directory into a secondary hard drive.

Once my format was done and my HD was prepped again, I re-installed the original FFXI, Zilart, CoP into the original drive (to rewnew the original registry keys and place my shortcuts and stuff), and then copied over my backup FFXI on top of the installation.

Booted up FFXI, got into PoL. PoL did a version and file check but did not download any new files. Boom, FFXI was up and running again without a hitch, in less time than it would take to actually re-download the actual patches all over again. No registry problems whatsoever.

So, theoretically, if Sarchar's program works and if some kind soul does decide to scan his FFXI directory pre- and post-patch and put up the patch for download, us PC users would be in for an easier time.

Distribution through a .torrent system would take a heck of a lot of load off of the SE patch servers and let the rest of us get into the game servers a lot faster.
#21 Jul 19 2005 at 6:21 PM Rating: Decent
**
741 posts
NukeFall wrote:
In theory because there is a seperate "Installation" Phase of patching could you not have someone whos at like 80/90% do a scan and then let them finish up fast and then after the installation finish it?


I have no idea. Like I said, I've been unable to download the patch...it's up to you guys to try this!
#22 Jul 19 2005 at 6:22 PM Rating: Good
**
287 posts
my god, SE *might* actually commend you for a job well done XD helping them drop the load of their update servers to NOTHING... XD they'd love it...
#23 Jul 19 2005 at 6:24 PM Rating: Decent
33 posts
One thing you really want to avoid is downloading a patch made by someone who has altered their .dat files or anything like that. If you decide to patch with one of those you could end up queering your entire FFXI installation and have to start over from scratch.

That, and the possibility of mailicious code entering te system from any one of a number of places. But like always, user beware.
#24 Jul 19 2005 at 6:24 PM Rating: Decent
**
741 posts
Aiantes wrote:


Booted up FFXI, got into PoL. PoL did a version and file check but did not download any new files. Boom, FFXI was up and running again without a hitch, in less time than it would take to actually re-download the actual patches all over again. No registry problems whatsoever.


That's exactly what I'm expecting to happen. FFXI will think that its version is still out of date, but it will also find out that none of the files need updating since you've already downloaded them all (via a patch). Therefore, it'll just update the registry itself and move on.

#25 Jul 19 2005 at 6:26 PM Rating: Decent
32 posts
I wonder what would happen if you tried to apply a patch made by someone with CoP and you dont. If you did the vice versa you would just have to download the additional files.
#26 Jul 19 2005 at 6:26 PM Rating: Decent
**
741 posts
Sammitch wrote:
One thing you really want to avoid is downloading a patch made by someone who has altered their .dat files or anything like that. If you decide to patch with one of those you could end up queering your entire FFXI installation and have to start over from scratch.

That, and the possibility of mailicious code entering te system from any one of a number of places. But like always, user beware.



Actually, the patch system shouldn't pick up modded dat files. For example, say I changed my fly model to a sapling model (I hate flies!). I run the patch and it finds the size and crc of that file. After the patch, it'll check the files again and find that my fly model hasn't change (It's still the sapling model) and won't include it in the patch.

In essense, the files that don't change on the target machine won't be included in the patch, even if some of your files differ.

« Previous 1 2 3 4 5 6 7 8 9 10 11
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 239 All times are in CST
Anonymous Guests (239)