SaveMgr: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Leoetlino
imported>Leoetlino
No edit summary
Line 7: Line 7:
SaveMgr can only load up to 0x20 files<ref>SaveMgr code: 0x7100E0EE50</ref>.
SaveMgr can only load up to 0x20 files<ref>SaveMgr code: 0x7100E0EE50</ref>.


For each file, one Bgsvdata resource object is created and save information is loaded from the resource. SaveMgr only supports a single file entry in the "file_list"<ref>Bgsvdata resource code: 0x710127B060</ref>.
For each file, one Bgsvdata resource object is created and save information is loaded from the resource. SaveMgr only supports a single file entry in the "file_list"<ref>Bgsvdata resource code: 0x710127B060</ref>. The HashValue is ignored; the game always uses CRC32(DataName).


After all resources have been loaded, a different Bgsvdata resource object is created and internally populated with N file entries, where N is the number of distinct file_name values<ref>0x7100E0F22C</ref> in all previously loaded resources.
After all resources have been loaded, a different Bgsvdata resource object is created and internally populated with N file entries, where N is the number of distinct file_name values<ref>0x7100E0F22C</ref> in all previously loaded resources.
Anonymous user

Navigation menu