Views: 27,870,003 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-08-25 07:41 AM
Guest:

0 users reading Does the internal clock work? | 1 bot

Main - General - Does the internal clock work? Hide post layouts | New reply


arcsin27
Posted on 05-28-25 12:40 AM (rev. 2 of 05-28-25 12:47 AM) Link | #7753
I'm not sure if I worded the title right, idk much about how DS games worked lol

I'm trying to level up areas in the Safari Zone in Pokemon HeartGold. It's been 20 days, so I'm testing if the areas have been leveling up. So far, I haven't been able to find anything that requires waiting time, only 0 day pokemon

From what I understand, the DS console or HGSS cartridges or something were able to keep time even when the DS was off (which is why changing the DS's calendar didn't unlock safari levels). Does MelonDS have a way to emulate this? Is there something else I have to do to get the safari zone to level up? Or am I just unlucky and haven't seen the pokemon I want yet lol

EDIT: I found another thread discussing Pokemon internal clocks! https://melonds.kuribo64.net/board/thread.php?pid=4907#4907

A reply says it does work, but things like changing your PCs time and using savestates triggers the game's protections against cheating and resets the timers or something? ...I've been using savestates, and when I started this safari zone thing I checked if changing my PCs date had an effect. It also sometimes bugs out and switches my timezone a few times

It sucks it takes so long to see if it works, but I'm gonna stop using savestates and stop my laptop from changing timezones for a while to see if that's the issue. At the very least, it sounds like Melon does emulate internal clocks! Seems like it's not impossible, I was maybe just accidentally delaying it?

Arisotura
Posted on 05-28-25 12:51 AM Link | #7754
depends on which melonDS version you use

1.0 RC has the new RTC emulation, so basically when you start the game, melonDS takes the system time and counts from that (but also keeps track of the offset between the host system time and the DS time). this means that the passage of time remains accurate from the game's viewpoint, and the game/DS firmware can change the time, too (melonDS will take it into account).

0.9.5 and prior just always return the host system time.

____________________
Kuribo64

arcsin27
Posted on 05-28-25 01:08 AM Link | #7755
I'm on 1.0 RC! I'm not certain I'm following the rest of the explanation though, idk enough about the DS or tech in general lol

So when I open Melon, it reads my computer's time and adds that to the ROM's/firmware's internal clock?

If that is how it works, then it sounds like the internal clock mechanic is emulated just fine! That'd mean my issue is I keep triggering anti-cheat failsafes by using savestates and having my computer's time change so much I suppose!

Arisotura
Posted on 05-28-25 01:20 AM Link | #7756
using savestates would revert back to what the emulated time was when the savestate was taken

(I think)

____________________
Kuribo64


Main - General - Does the internal clock work? Hide post layouts | New reply

Page rendered in 0.063 seconds. (4096KB of memory used)
MySQL - queries: 28, rows: 83/83, time: 0.047 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.