Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Doubt regarding some GBA internal battery saving.. #94256 05/10/14 01:32 AM
Joined: Mar 2008
Posts: 1,037
Shideravan Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,037
I ever wanted to understand why this kind of error happens with GBA Pokémon games...


"A user interface is like a joke. If you have to explain it, it's not that good."
Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94262 05/10/14 03:41 AM
Joined: Feb 2004
Posts: 2,061
Vas Crabb Online Content
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,061
The cart has a battery-backed real-time clock/calendar in it. You get that message when the cart detects it isn't keeping time properly. Time-based events won't trigger. I think this affects tides, berry growth and Eevee.

Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94268 05/11/14 03:41 AM
Joined: Mar 2008
Posts: 1,037
Shideravan Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,037
There's a strage thing that I see when running Pokémon Emerald...
The game is a lot buggy than Pokémon Ruby/Pokémon Sapphire...
But Emerald is a clone of Ruby and Sapphire, don't is?
Then why there's a lot more of graphical glitches than R/S?

(The problem happens with both "pokeemer" and "pokeemerj")

Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94271 05/11/14 11:06 AM
Joined: Mar 2001
Posts: 16,300
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,300
Emerald is a later reprogrammed version of Ruby/Sapphire. Given it's not the same game internally it will obviously perform differently.

Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94272 05/11/14 11:14 AM
Joined: Dec 2012
Posts: 242
L
LoganB Offline
Senior Member
Offline
Senior Member
L
Joined: Dec 2012
Posts: 242
That RTC also appears in Boktai and Sennen Kazoku.

Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94273 05/11/14 11:18 AM
Joined: Mar 2001
Posts: 16,300
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,300
The RTC is emulated; it's possible it's read-only (i.e., it always tells the game your PC's current time rather than whatever the game attempts to set) which the game interprets as "not working".

ETA: Nope. It was back in the early days of the driver, but somewhere between then and now it got removed. That would do it.

Last edited by R. Belmont; 05/11/14 11:22 AM.
Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94275 05/11/14 04:03 PM
Joined: Mar 2006
Posts: 1,032
L
Lord Nightmare Offline
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,032
Boktai has the rtc and sun sensor both hooked to the same bus/register using low vs high nybble i think, which is a gigantic pain in the ass to emulate from what i gather?


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94283 05/11/14 09:21 PM
Joined: Mar 2001
Posts: 16,300
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,300
Not particularly. Boktai would get it's own cart type then, and "normal" RTC carts would get another. That's the beauty of doing cartridges right.

Re: Doubt regarding some GBA internal battery saving.. [Re: Shideravan] #94288 05/12/14 07:06 AM
Joined: Jun 2013
Posts: 29
B
BPzeBanshee Offline
Member
Offline
Member
B
Joined: Jun 2013
Posts: 29
Is it intended behaviour that Pokemon Sapphire only correctly saves/starts when run from software list?

Using MESS 0.153, when I run from software list I can load/save just fine with exception of the Real Time Clock error, and in console I get the message: GBA: Detected (XML) gba_flash_1m

Run same ROM without using softlist and I get instead:
GBA: Detected (ROM) FLASH_1M RTC
GBA: Emulate FLASH_1M RTC
GBA: Detected (ROM) FLASH_1M RTC
GBA: Emulate FLASH_1M RTC

And it wouldn't save without spewing an error.

I also got a incorrect rom error trying the one I had through softlist, so I tested both methods again with my personal dump of Pokemon Sapphire (which shows in softlist as correct to pokesaph) and without using softlist I couldn't even get it to start.

Last edited by BPzeBanshee; 05/12/14 07:07 AM.
Re: Doubt regarding some GBA internal battery saving.. [Re: BPzeBanshee] #94289 05/12/14 09:11 AM
Joined: Dec 2012
Posts: 242
L
LoganB Offline
Senior Member
Offline
Senior Member
L
Joined: Dec 2012
Posts: 242
Originally Posted By BPzeBanshee
Is it intended behaviour that Pokemon Sapphire only correctly saves/starts when run from software list?

Using MESS 0.153, when I run from software list I can load/save just fine with exception of the Real Time Clock error, and in console I get the message: GBA: Detected (XML) gba_flash_1m

Run same ROM without using softlist and I get instead:
GBA: Detected (ROM) FLASH_1M RTC
GBA: Emulate FLASH_1M RTC
GBA: Detected (ROM) FLASH_1M RTC
GBA: Emulate FLASH_1M RTC

And it wouldn't save without spewing an error.

I also got a incorrect rom error trying the one I had through softlist, so I tested both methods again with my personal dump of Pokemon Sapphire (which shows in softlist as correct to pokesaph) and without using softlist I couldn't even get it to start.


Yes, that is the intended behaviour. Some GBA games, like the Pokemon series, use a 512K FLASH chip rather than the 1MB FLASH that emulators give it. This acts as a sort of anti-piracy, like some SNES games which detect if there's a larger amount of SRAM available than what it was programmed for (Donkey Kong Country comes to mind).

Page 1 of 2 1 2

Who's Online Now
2 registered members (Edstrom, 1 invisible), 150 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,683
Posts114,012
Members4,863
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3