GBARunner2 icon indicating copy to clipboard operation
GBARunner2 copied to clipboard

RTC Support

Open nstephenh opened this issue 4 years ago • 6 comments

I've been playing a rom hack of Pokemon FireRed (Pokemon Unbound), and it doesn't appear that there's any RTC support enabled in GBARunner2 (or at least the version currently bundled with TwilightMenu 3DS).

Is it implemented and disabled or is it not implemented yet? The emulator I was using before (mGBA on 3DS) properly syncs the time with the console.

nstephenh avatar Feb 07 '21 20:02 nstephenh

I have the same issue with the same game! Except that on top of that, I also have inverted coulours on the overworld, but not inside houses or in battles. Everything else runs smoothly... Any ideas on how to fix it?

CaptainPizu avatar Feb 08 '21 14:02 CaptainPizu

I have the same problem with pokemon red adventures

AhsanAmeer1066 avatar Feb 28 '21 04:02 AhsanAmeer1066

Same. Also, apparently there is pull for it, ready to get build [Oct 10, 2020]: https://github.com/Gericom/GBARunner2/pull/157#issue-500892549

I tried, but for some reason I'm not able to compile it. So we need to wait, for someone with correct setup, to run it.

Corshi avatar Mar 20 '21 19:03 Corshi

gbarunner2 does have rtc support actually. It checks the game id and since fire red (Game id POKEMON FIRE BPRE) doesn't have natural rtc you have to trick gbarunner2 into thinking its a game that supports rtc by editing the game id with a hex editor. So if you change it from POKEMON FIRE BPRE to let say POKEMON RUBY AXVE it should fix the issue

Kirit29 avatar Mar 21 '21 20:03 Kirit29

It did work, Thank You. Before, I was messing with IDs to fix corrupted hacks, but never to add a feature. I would not thought about that.

It looks like ID in always in the same offsets, A0 to AF. So, it could be cool to have that in "Advance Settings" (patches/cheats/hacks), to change them to hex: 50 4F 4B 45 4D 4F 4E 20 52 55 42 59 41 58 56 45 [POKEMON RUBYAXVE]

Corshi avatar Mar 21 '21 22:03 Corshi

gbarunner2 does have rtc support actually. It checks the game id and since fire red (Game id POKEMON FIRE BPRE) doesn't have natural rtc you have to trick gbarunner2 into thinking its a game that supports rtc by editing the game id with a hex editor. So if you change it from POKEMON FIRE BPRE to let say POKEMON RUBY AXVE it should fix the issue

This didn't work for me, I changed pokemon unbound's ID to RUBYAXVE and then to the emerald ID and on GBARunner2, it boots until the gameboy logo and hangs there, while on mGBA on pc it works and recognizes the rom correctly. Am I doing something wrong?

shyonae avatar Mar 18 '22 08:03 shyonae