fileassociations - mechpaul/NXPatcher GitHub Wiki
fileassociations
There are three default file associations with this section. This section is only used if the user is dragging & dropping a file on NXPatcher or if the user associated a file type with NXPatcher. When a file is executed with NXPatcher in these manners, the program checks the file suffix ("00080to00081.patch", "ManualPatch.exe") and searches for the file suffix in the fileassociations block. The command associated with the file suffix is then executed with that file.
As an example:
[fileassociations]
patch = write
exe = split
wz = version
C:\Nexon\Maplestory> NXPatcher 00080to00081.patch
First NXPatcher looks for the file suffix ("patch"), then NXPatcher looks up the file suffix in the fileassociations block which returns "write". The "write" command is then executed on the patch file.
For patch files, the write or read command must be used. For exe files, the hijack or split command must be used. For wz files, the version command must be used.