Gericom / GBARunner2

A GBA hypervisor for DS. (like nintendont for gc on wii)
745 stars 60 forks source link

RTC Support #168

Open nstephenh opened 3 years ago

nstephenh commented 3 years ago

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.

CaptainPizu commented 3 years ago

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?

AhsanAmeer1066 commented 3 years ago

I have the same problem with pokemon red adventures

Corshi commented 3 years ago

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.

Kirit29 commented 3 years ago

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

Corshi commented 3 years ago

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]

shyonae commented 2 years ago

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?