e-sh4rk / emeraldace_web Goto Github PK
View Code? Open in Web Editor NEWRepository storing predefined codes for the Pokemon Gen3 ACE code generator
Repository storing predefined codes for the Pokemon Gen3 ACE code generator
movs r11, {0x7f8695d6 } ? will result in Arm.InvalidCommand in the output. If the register is changed to r12, things work fine and results in the following set of commands:
k I … o E3B0C3DF MOVS r12, #0x7c000003
m M ? n E2ACC7E1 ADC r12, r12, #0x3840000
4 Q ? n E2ACCBA5 ADC r12, r12, #0x29400
z F ? n E2ACC0EE ADC r12, r12, #0xee
q F ? n E2ACC0E5 ADC r12, r12, #0xe5
If I ask the code generator what box names correspond to these commands but with r11 swapped in place of r12, it turns out there is an invalid character.
I would normally expect that the parser either finds a longer but writeable solution that works for the requested register
I was trying to set my PRNG state to a specific seed using the web tool, and wasn't able to confirm the location when doing actual RNG.
So to test the validity of the code generator, I found one of the seeds Sleipnir had already generated codes for:
His Box code output for that seed was as follows:
Box 1: (FM...o♀S?n) [one ...]
Box 2: ( ?"FS?n ) [starts with space; righty "; ends with space]
Box 3: (?"XD...o ) [righty "; one ...; ends with two spaces]
Box 4: (E5"!n ) [righty "; ends with three spaces]
Box 5: (G/!nh♀!n)
Box 6: ( ?" ...Qn ) [starts with space; righty "; one space after "; one ...; ends with space]
Box 7: (?" ...?q ) [righty "; one space after "; one ...; ends with two spaces]
Box 8: (EmFlo ) [lower case L; ends with three spaces]
Box 9: (yLRom"Ro) [righty "]
Box 10: ( ?"FGEn ) [starts with space; righty "; ends with space]
Box 11: (?" ...?q ) [righty "; one space after "; one ...; ends with two spaces]
Box 12: (E"STn ) [lefty "; ends with three spaces]
Box 13: (YN?nFNRo)
Box 14: (S?n... Rn ) [one ...; one space after ...; ends with space]
Your PRNG Seed code generator outputs the following.
INPUT:
@@ title = "Change PRNG Seed (ENG)"
@@ exit = "CertificateENG"
seed = 0x6DCC1D29
@@
movs r12, 0x3000000 %% R12=3000000
adc r12,r12, 0x2D80 %% R12=R12+2D80=3002D80
adc r12,r12, 0x3000 %% R12=R12+3000=3005D80=PRNG state location
movs r11, { seed } ?
str r11, [r12]! %% Store new seed in PRNG state location
OUTPUT:
F M … o E3B0C7C0 MOVS r12, #0x3000000
♀ S ? n E2ACCDB6 ADC r12, r12, #0x2d80
F S ? n E2ACCDC0 ADC r12, r12, #0x3000
r ” … o E3B0B2E6 MOVS r11, #0x6000000e
h ♀ ! n E2ABB6DC ADC r11, r11, #0xdc00000
G / ! n E2ABBAC1 ADC r11, r11, #0xc1000
W D ! n E2ABBED1 ADC r11, r11, #0xd10
… ” ! n E2ABB2B0 ADC r11, r11, #0xb
␣ … ? q E5ACB000 STR r11, [r12, #0x0]!
Box 1: F M … o ♀ S ? n [FM…o♀S?n]
Box 2: ␣ ␣ ␣ F S ? n ␣ [ FS?n ]
Box 3: ␣ ␣ r ” … o ␣ ␣ [ r”…o ]
Box 4: ␣ h ♀ ! n ␣ ␣ ␣ [ h♀!n ]
Box 5: G / ! n W D ! n [G/!nWD!n]
Box 6: ␣ ␣ ␣ … ” ! n ␣ [ …”!n ]
Box 7: ␣ ␣ ␣ … ? q ␣ ␣ [ …?q ]
Box 8: ␣ m F l o ␣ ␣ ␣ [ mFlo ]
Box 9: y L R o m ” R o [yLRom”Ro]
Box 10: ␣ ␣ ␣ F G E n ␣ [ FGEn ]
Box 11: ␣ ␣ ␣ … ? q ␣ ␣ [ …?q ]
Box 12: ␣ “ S T n ␣ ␣ ␣ [ “STn ]
Box 13: Y N ? n F N R o [YN?nFNRo]
Box 14: S ? n … ␣ R n ␣ [S?n… Rn ]
Raw data (in hexadecimal):
C0 C7 B0 E3 B6 CD AC E2 FF 00 00 00 C0 CD AC E2 00 FF 00 00 E6 B2 B0 E3 00 00 FF 00 DC B6 AB E2 00 00 00 FF C1 BA AB E2 D1 BE AB E2 FF 00 00 00 B0 B2 AB E2 00 FF 00 00 00 B0 AC E5 00 00 FF 00 E1 C0 E0 E3 00 00 00 FF ED C6 CC E3 E1 B2 CC E3 FF 00 00 00 C0 C1 BF E2 00 FF 00 00 00 B0 AC E5 00 00 FF 00 B1 CD CE E2 00 00 00 FF D3 C8 AC E2 C0 C8 CC E3 FF CD AC E2 B0 00 CC E2 00 FF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.