A Lua script for the Bizhawk/mGBA emulator compatible with Pokemon Fire Red, Leaf Green, Ruby, Sapphire, and Emerald that tracks relevant data for the IronMon challenge.
When testing the quickload changes included in #412 (will want to merge this before that PR) I noticed consistently that swapping to a new settings file for quickload while a tracker-generated rom is currently loaded results in the tracker erroneously carrying over the attempts file from the previous quickload settings file into the new one
Example reproduction steps:
Set up tracker quickload for one particular settings file e.g. RSE Kaizo
Quickload a couple of roms / edit the attempts count to some arbitrary number > 1
Change the quickload settings file to another settings file e.g. RSE Survival while RSE Kaizo AutoRandomized.gba is still loaded in the emulator
Notice how the attempts counter from RSE Kaizo Attempts.txt carries over into RSE Survival Attempts.txt
Went with adding an optional (default false) parameter to force the attempts filepath to be based off the currently set settings file & create a new attempts counter for it if it does not exist. Seems to work fine for me in the above steps but definitely test in case there's a case I didn't catch / it broke elsewhere
When testing the quickload changes included in #412 (will want to merge this before that PR) I noticed consistently that swapping to a new settings file for quickload while a tracker-generated rom is currently loaded results in the tracker erroneously carrying over the attempts file from the previous quickload settings file into the new one
Example reproduction steps:
RSE Kaizo
RSE Survival
whileRSE Kaizo AutoRandomized.gba
is still loaded in the emulatorRSE Kaizo Attempts.txt
carries over intoRSE Survival Attempts.txt
Went with adding an optional (default false) parameter to force the attempts filepath to be based off the currently set settings file & create a new attempts counter for it if it does not exist. Seems to work fine for me in the above steps but definitely test in case there's a case I didn't catch / it broke elsewhere