Greavesy1899 / MafiaToolkit

Open source toolkit for Mafia games. (Mafia II, Mafia III, Mafia DE)
MIT License
123 stars 20 forks source link

Reverse file type "Patches" #11

Closed Greavesy1899 closed 4 years ago

Greavesy1899 commented 6 years ago

Was started. The library can decompress the data, read the header data, and try and pin point each file; but this format is different to the "SDS" format.

There is no xml to this file. At runtime, the game reads the SDS before this and then reads the patches data. The data from patches then overwrites the data in the memory by indexing. There is a chance that files can be added into the SDS, but that is unknown.

VitoA3City is the only patches file that we can fully reverse, as this archive holds only DDS.

With the data which only overwrites partial information, this is the biggest issue, and a solution I cannot figure out.

Greavesy1899 commented 4 years ago

Works on Definitive Edition, no plans for Classic. Modders can take the information from Definitive Edition.