April Fools and ZSNES
Moderator: ZSNES Mods
-
- New Member
- Posts: 9
- Joined: Mon Jul 27, 2009 12:23 am
April Fools and ZSNES
Is there anywhere I can find a list of the joke openings that pop up whenever I open zsnes on 4/1, and is there way to get that to happen all the time not just 4/1
Re: April Fools and ZSNES
Since I love to be a spoil sport, here is the code you need to look at.
This bit of code checks the date for 0x401, April 1st, then using the seconds field of the current time to call:
https://github.com/emillon/zsnes/blob/m ... 1076-L1087
...this function, horizon get:
https://github.com/emillon/zsnes/blob/f ... #L735-L738
...which in turn references this unencrypted table of text messages:
https://github.com/emillon/zsnes/blob/f ... #L621-L733
They're only "encoded" as hexadecimal, with a few placeholders in the high ASCII range that are probably specific to the ZSNES font. Note the cute completely random sounding comment right above the table.
This bit of code checks the date for 0x401, April 1st, then using the seconds field of the current time to call:
https://github.com/emillon/zsnes/blob/m ... 1076-L1087
...this function, horizon get:
https://github.com/emillon/zsnes/blob/f ... #L735-L738
...which in turn references this unencrypted table of text messages:
https://github.com/emillon/zsnes/blob/f ... #L621-L733
They're only "encoded" as hexadecimal, with a few placeholders in the high ASCII range that are probably specific to the ZSNES font. Note the cute completely random sounding comment right above the table.