Open pitrako opened 1 year ago
Currently no. This is explained in the README. The hardware only supports the RTC in combination with flash save types but this game uses EEPROM.
edit: Actually nevermind. This is not in the README.
I've been trying to make this game work with RTC correctly by patching it to save to FLASH512 and FLASH1M, manually editing the header, and setting the per game saveType
setting to either of the RTC options of flash.
The game boots and prompts me to set up the time with the correct date and time already pre-filled. After that it fails to save.
I've tried using these tools to patch the game. All with the same result stated above:
I realize that this might not be an agb_firm issue but, do you have any idea if it is at all possible to patch Boktai to save the same way as Pokémon games for instance? These work fine. Even the Pokémon Unbound Romhack has a correct time reading.
It's definitely possible but i don't know if these tools work for Boktai. The tools for bootleg patching definitely will not because they save on the "ROM" (a flash chip) instead of external flash.
Ok, so I thought these tools just changed the save type and that I'd need to match open_agb_firm configuration for the ROM to work. Can you briefly describe to me what one would need to do or look into to patch the game to work correctly with agb_firm? I'm down for some hex copy/pasting between Boktai and a working game it that's all there is to it.
All EEPROM related functions must be replaced by equivalent flash functions and these functions must execute from internal RAM. That's about it.
That gba-flash-patcher seems to search for areas with many zero bytes in the ROM. I'm not sure how this is supposed to work if it's running from ROM because gbatek mentions that you must not use any flash read/write/erase functions from ROM.
Any way of making RTC work on this game?