2013-09-08, 04:48 PM
krnis Wrote:how to apply the minor patch with compare each latest version of exe file and minor patch version of exe file?
and do you know website address of latest version of maplestory?
For minor patches:
The program connects to the patch directory, but instead of downloading the patch file it downloads Version.info. Version.info contains all of the versions which that directory has the patch for, a CRC of the Maplestory patcher, and a CRC of the Maplestory.exe file. It then runs a CRC check on Maplestory.exe. If the CRC is different, then it downloads the new EXE from the patch FTP. It downloads ExePatch.dat which gets renamed as Maplestory.exe on your computer. This is how minor patches work.
The CRC used is the same CRC that's used for the patch files. The source code for how to compute this CRC is in the source code provided in the NXPatcher Advanced spoiler.
As far as how to figure out where the next patch will be, that information on how to find it is located in the NXPatcher Lite and NXPatcher Advanced spoilers. You can use Patchwatcher.net if you'd rather not figure it out yourself.
Here is an example of what the patch directory looks like:
ftp://tw.patch.maplestory.gamania.com/ma...dir/00160/
Of course, that's for the Taiwanese version.
If there is a new version of maplestory and we need to figure out where the patch file is being downloaded from, then it's so easy to load up the program in a debugger (WinDBG, IDA Pro) and get the HTTP/FTP address.
