Gaming Changing the time in Sun and Moon?

  • Thread starter Thread starter Tzuba
  • Start date Start date
  • Views Views 9,267
  • Replies Replies 58
  • Likes Likes 1
You can't reverse a save file... Use ida pro on the code.bin.
Code:
_BOOL4 __fastcall Savedata::GameTime::IsAlolaOffsetExists(Savedata::GameTime *this)
{
  return this->data.AlolaOffset != 9999999;
}

In my moon save, the value is set to 0xA8C0 -> 43200 -> 12:00:00
So my guess is, change it to 0 or 9999999, to enable sun time.
I've just tried to replace it to "0" and it displays "Save data corrupted" at pokémon moon launch... :-( Where is the hash of the save file? XD
 
@Omegadrien
Yes, you can. But Talo said, that the value for the alolan time offset is represented by an 8 byte timestamp. So it is a double value.
And I am not sure, what you have to add to this double value to get an 12 hour offset.
It's an int64, not double. Just a normal int64 unix timestamp.

I've just tried to replace it to "0" and it displays "Save data corrupted" at pokémon moon launch... :-( Where is the hash of the save file? XD
You need to fix all crc16 values, fix sha256 hash and sign the save with RSA-768... just use pkhex...
 
  • Like
Reactions: RealityNinja
move ut 3ds clock 6-8 hours forward, so when u are playing sun at 20:00, ur in game time be daly time
 
OK , it works, guys!! Sun time during day, in pokémon moon!
(in the save file, at offset 0x4648, replace to "7F 96 98 00 00 00 00 00" then use pkhex (https://github.com/kwsch/PKHeX) to fix the crc16 values)

But the coffee man (in pokémon center) says that it's 6 am, and not 12am (current time).... WTF?
 
Last edited by RealityNinja,
  • Like
Reactions: xtheman
Why couldn't they just stick with system time? It was much nicer that way. Oh well...
They need to do this, because Moon is 12 hours ahead of sun and
in the post game, you can switch the dimension from moon to sun and sun to moon
So the game needs some sort of value, to know what the current time is, otherwise it uses the system time.
 
They need to do this, because Moon is 12 hours ahead of sun and
in the post game, you can switch the dimension from moon to sun and sun to moon
So the game needs some sort of value, to know what the current time is, otherwise it uses the system time.

Ah, I only just got to the Elite Four. That's actually really nice to know. lol
 
They need to do this, because Moon is 12 hours ahead of sun and
in the post game, you can switch the dimension from moon to sun and sun to moon

So does this mean the edition doesn't actually matter? Or does that only affect a special zone or reset once you quit the game?
 
So does this mean the edition doesn't actually matter? Or does that only affect a special zone or reset once you quit the game?
It does matter, all version exclusive mons are still version exclusive.
This dimension stuff only exists to give you a second cosmog (the first one is the box legend) and to change time.
 
  • Like
Reactions: jaspern
OK, fixed!!
Just to that to have normam day/night cycle in pokémon moon:
1. export your save of pokémon moon
2. hex edit it. At offset 0x4648, replace by "0000"
3. Use pkhex to calculate the hash of the save (so just re export your save with pkhex)
4. import the save file in pokémon moon

edit: if you replace by "7F9698", you will have 6am instead of 12am for example
 
Last edited by RealityNinja,
  • Like
Reactions: feer10
OK, fixed!!
Just to that:
1. export your save of pokémon moon
2. hex edit it. At offset 0x4648, replace by "0000"
3. Use pkhex to calculate the hash of the save
4. import the save file in pokémon moon

edit; if you replace by "7F9698", you will have 6am instead of 12am for example

moon or sun?
 

Site & Scene News

Popular threads in this forum