Alyosha
He/Him
Editor, Emulator Coder, Expert player (3832)
Joined: 11/30/2014
Posts: 2835
Location: US
With GBAHawk 2.2.0 released, I added check marks to DKC 2 and Super Metroid GBA. At the moment there are no remaining runs to check for games that I have carts for, so, I guess that's all for now.
GoddessMaria
She/Her
Reviewer, Experienced player (868)
Joined: 5/29/2009
Posts: 519
Location: Hell...
Do you need an authentic Emerald or LeafGreen cart to do testing?
Current projects: failing at life
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3832)
Joined: 11/30/2014
Posts: 2835
Location: US
GoddessMaria wrote:
Do you need an authentic Emerald or LeafGreen cart to do testing?
Well as long as the run doesn't save I don't need it, the run should work for any cart as long as no saves or autosaves happen. But otherwise yes I would need one (I don't have one and I'm not willing to pay ~$200 for one to buy it myself, what's with these crazy prices?) Although with 2.2.0, people can tune runs to their personal carts, so there isn't a need for me in particular to do it, and I think emulation is otherwise accurate enough for a new run to sync on console (of course, testing as you go is recommended.) Pokemon is probably the last run of interest for console verification, so I'm willing to help in whatever way is needed for it to happen. Side note: I heard back from Epilogue and they say Mario Kart save loading will be supported in an upcoming software patch, so eventually that one will be done too.
CDRomatron
He/Him
Joined: 3/28/2017
Posts: 7
Location: Scotland
Hi, was recommended coming along here from Discord. I'm trying to start on a little project to do some learning. A big goal for me was being able to run the TAS on console, since I had all the hardware I would need to run through GBI. The game is Spyro Fusion, saves with EEPROM. I've been using GBAHawk 2.2.0, and have verified that my dumps match what they should be in terms of the bios and game. The game rarely advances RNG, which makes manipulation trivial in most instances, except for a singular minigame that appears approx. 3 mins into gameplay. The RNG function uses the current frame count to seed it when starting the minigame, so I need to know what frame I've entered the minigame. On GBAHawk, I've seen the value I get, and the starting position of the enemy (which gives me an idea of where I am). On console, the same inputs give me a different starting position. After playing around on GBAHawk, it appears like the console is entering 4 frames later than emulator. My suspicion at the moment is due to the game doing occasional auto-saves with EEPROM. I understand that there is a sync option for tuning, which might solve my problem. But I'm unsure where to start with it (as the range is ~64k possible options). Does anyone have any suggestions based on the situation? Thanks in advance.
Speedrunner who finds something cool once every couple years I guess?
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3832)
Joined: 11/30/2014
Posts: 2835
Location: US
CDRomatron wrote:
Hi, was recommended coming along here from Discord. I'm trying to start on a little project to do some learning. A big goal for me was being able to run the TAS on console, since I had all the hardware I would need to run through GBI. The game is Spyro Fusion, saves with EEPROM. I've been using GBAHawk 2.2.0, and have verified that my dumps match what they should be in terms of the bios and game. The game rarely advances RNG, which makes manipulation trivial in most instances, except for a singular minigame that appears approx. 3 mins into gameplay. The RNG function uses the current frame count to seed it when starting the minigame, so I need to know what frame I've entered the minigame. On GBAHawk, I've seen the value I get, and the starting position of the enemy (which gives me an idea of where I am). On console, the same inputs give me a different starting position. After playing around on GBAHawk, it appears like the console is entering 4 frames later than emulator. My suspicion at the moment is due to the game doing occasional auto-saves with EEPROM. I understand that there is a sync option for tuning, which might solve my problem. But I'm unsure where to start with it (as the range is ~64k possible options). Does anyone have any suggestions based on the situation? Thanks in advance.
I would start around 10000. Unfortunately EEPROM timings vary widely, it's a bit of a process to tune them.
CDRomatron
He/Him
Joined: 3/28/2017
Posts: 7
Location: Scotland
Thanks for the quick response and suggestion. I've so far tried setting it to 10000, 20000, and 32000, none of which seem to change the frame it arrives at as the RNG is the same across all three. It's just the option titled "EEPROM Offset"? (I've been changing it manually in the SyncSettings.json to get to the point where I can test it.)
Speedrunner who finds something cool once every couple years I guess?
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3832)
Joined: 11/30/2014
Posts: 2835
Location: US
CDRomatron wrote:
Thanks for the quick response and suggestion. I've so far tried setting it to 10000, 20000, and 32000, none of which seem to change the frame it arrives at as the RNG is the same across all three. It's just the option titled "EEPROM Offset"? (I've been changing it manually in the SyncSettings.json to get to the point where I can test it.)
Does your movie start from cleared cart RAM? If so, do you clear cart RAM on your cartridge to 0xFF before replaying on console? Yeah the EEPROM Offset is the only setting you should need to change.
CDRomatron
He/Him
Joined: 3/28/2017
Posts: 7
Location: Scotland
Was not sure, so I've gone through and checked. I've tried clearing the save ram on both, copying the cart save to GBAHawk, copying the GBAHawk save to the cart, and 0xFF the whole save on both, neither seem to change the seed I reach the minigame at.
Speedrunner who finds something cool once every couple years I guess?
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3832)
Joined: 11/30/2014
Posts: 2835
Location: US
CDRomatron wrote:
Was not sure, so I've gone through and checked. I've tried clearing the save ram on both, copying the cart save to GBAHawk, copying the GBAHawk save to the cart, and 0xFF the whole save on both, neither seem to change the seed I reach the minigame at.
Interesting. Can you send me the movie file and the time stamps you use?