bucanero / apollo-ps3

Apollo Save Tool (PS3)
http://www.bucanero.com.ar/
GNU General Public License v3.0
358 stars 23 forks source link

Handle BSD variables across different patches #38

Closed bucanero closed 3 years ago

bucanero commented 3 years ago

Some game patches, like NPEB01899, require that the CRC32 hash is calculated on one file, but saved on another different file.

:GAMEDATA
[Get CRC32 GAMEDATA (Required)]
set [crc32_GAMEDATA]:crc32

;dependency: METADATA

:METADATA
[Update CRC32 on METADATA (required)]
write at 0xc:[crc32_GAMEDATA]

For these patches to work, Apollo needs to handle and keep variable values across different patches.