• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Development: Christmas Present for PC! Your very own RTC for FR and LG

mindfreak

Belgium Rom hacker
45
Posts
16
Years
  • Seen Nov 1, 2012
To bad you had to post a patch.
It's much more fun trying to assemble this on your own and now almost anyone can use it.:(
Anyway, merry Christmas and thanks for sharing.
 

interdpth

I've seen things, man.
275
Posts
19
Years
  • Seen Jun 8, 2021
Zodiac's won't work vanilla. I'm 99% sure my patch will work for FR, I don't have the game otherwise i'd have a ROM for it.

But I messed something up in code before i pasted it, so the code was bad.

Hopefully people will respect my wishes and not post an example script how to use it

Anywho, i'll be having a day and night system based off of MasterMind's code soon. ^_^

Future releases like this will be ASM only. And i'll make sure I don't fudge it up XD
 

mindfreak

Belgium Rom hacker
45
Posts
16
Years
  • Seen Nov 1, 2012
Yes I got ZodiacDaGreats clock Working!:classic:
Now I've just to find out how I can display it ingame.(interdpths example script)
And somehow I think thats the most difficult part since all the rest was given here.
 

Sierraffinity

Desperately trying to retire from ROM hacking
1,069
Posts
16
Years
Zodiac's won't work vanilla. I'm 99% sure my patch will work for FR, I don't have the game otherwise i'd have a ROM for it.

But I messed something up in code before i pasted it, so the code was bad.

Hopefully people will respect my wishes and not post an example script how to use it

Anywho, i'll be having a day and night system based off of MasterMind's code soon. ^_^

Future releases like this will be ASM only. And i'll make sure I don't fudge it up XD
What do you mean, "won't work vanilla"? It works just fine when implemented. And if yours works fine in FR, I may just try it.
 

Full Metal

C(++) Developer.
810
Posts
16
Years
ok...i'm confuzzled, does this, or does it not work with firered?
would i have to do some fancy stuff with patches to get it to work in FR (as in the changelog)?
I gues i dont mind it being lg, it's just that i own a fr...i sold my lg :\
plus...my work on my sinnoh patch is all on fr too....so yea...
And ps, can't wait for d/n system ^-^
 

interdpth

I've seen things, man.
275
Posts
19
Years
  • Seen Jun 8, 2021
What do you mean, "won't work vanilla"? It works just fine when implemented. And if yours works fine in FR, I may just try it.

I meant with the org being 0.

Mine is fully setup XD

Oh, hey, go GF, yay it works for both. Diego, if you need to script a to see how to use it, let me know.
 

interdpth

I've seen things, man.
275
Posts
19
Years
  • Seen Jun 8, 2021
0x300553C.minutes =0x300553C.minutes + 0x3005537.minutes;
if(0x300553C.minutes > 59)
{
0x300553C.minutes -= 60;
0x300553C.hours++;
}
0x300553C.hours =0x300553C.hours + 0x3005537.hours;
if(0x300553C.hours > 23)
{
0x300553C.hours -= 24;
0x300553C.dayofweek++;
}
0x300553C.dayofweek = (0x300553C.dayofweek + 0x3005537.dayofweek) % 7;

The RTC does that math every frame so use that as a basis for your setter.
 

Sierraffinity

Desperately trying to retire from ROM hacking
1,069
Posts
16
Years
0x300553C.minutes =0x300553C.minutes + 0x3005537.minutes;
if(0x300553C.minutes > 59)
{
0x300553C.minutes -= 60;
0x300553C.hours++;
}
0x300553C.hours =0x300553C.hours + 0x3005537.hours;
if(0x300553C.hours > 23)
{
0x300553C.hours -= 24;
0x300553C.dayofweek++;
}
0x300553C.dayofweek = (0x300553C.dayofweek + 0x3005537.dayofweek) % 7;

The RTC does that math every frame so use that as a basis for your setter.
On a GBA, this would make it to what you set it, right? But on the computer, wouldn't this offset your computer's time by that amount?
 

interdpth

I've seen things, man.
275
Posts
19
Years
  • Seen Jun 8, 2021
... ... ...
Man, I am such a n00b. How would I do this, and how could I make it so it has the right time in and out of the computer? :/

If they're on an actual console.

They fix the time.

If not they don't need to touch it
 
Back
Top