xforce / eve-echoes-tools

Collection of tools helping in reverse engineering Eve Echoes
MIT License
70 stars 19 forks source link

Refactor patch processing #14

Closed SilkyPants closed 1 year ago

SilkyPants commented 3 years ago

This PR looks to unpack the data into the expected file structure, then apply the patch files over the top - adding any new files that may have been added outside of this step. This should also aid in handling #12 as the extracted data can be stored in a folder passed in the --gamedatadir (-g) folder. This is also the same for the XAPK unpack directory (as there is an APK that is hosted by the publisher as well, that could be extracted to this folder).

If these are passed in, the user will be asked if they would like them cleared before continuing, although this is not required for processing.

To aid in processing, the steps to loop over nxs and sd files has been combined, as they are being walked over anyway.