Jump to content

FE: Awakening Hacking Topic


VincentASM
 Share

Recommended Posts

0199CA38 - Pointer Location

0134DCD8 - First Character

6199CA38 00000000

B199CA38 00000000

// QuickMax Skills

2000001F 000000FE

00000020 FFFFFFFF

00000024 FFFFFFFF

00000028 FFFFFFFF

*etc*

The address you have for the pointer shifts.

The pointer I found is apparently the same even when I remove my SD card.

Constant pointer to Character Table in US version: 3CF1100

...Holy crap.

The team pointers I found *ARE* crucial...

But I just found out something studying a Japanese codemaker for FE13 on GBATemp...

Each character lists the location of the next active team member near the top.

Meaning... a "0000000" pointer caused the 2nd Morgan not to appear.

Which means...

I can make a code to make everyone have all skills regardless of how many characters there are.

If you want this to work on *ALL* your characters, just use the code on the world map.

If you are on a map/prep screen your characters must be *ACTIVE* as in have that green icon next to them. And if the code doesn't work, save first, and then reset.

Can anyone else test this for me?

All active characters all skills (US version)

B3CF1100 00000000

C0000000 00000044

2000001F 000000FE

00000020 FFFFFFFE

00000024 FFFFFFFF

00000028 7FFFFFFF

6000000C 00000000

B000000C 00000000

D2000000 00000000

Explanation

B3CF1100 00000000 (Loads pointer to character table as "offset")

C0000000 00000044 (Loop Code)

2000001F 000000FE (Writes skills)

00000020 FFFFFFFE

00000024 FFFFFFFF

00000028 7FFFFFFF

6000000C 00000000 (Checks if next character pointer is zero'd, if not, set offset to next character)

B000000C 00000000 (Changes "offset" to next character)

D2000000 00000000 (End Loop)

EU version [uNTESTED]:

B3CF2100 00000000

C0000000 00000044

2000001F 000000FE

00000020 FFFFFFFE

00000024 FFFFFFFF

00000028 7FFFFFFF

6000000C 00000000

B000000C 00000000

D2000000 00000000

Please test this Vincent.

Edit:

All active characters Base Stats +32 (US version)

B3CF1100 00000000

C0000000 00000044

00000084 20202020

00000088 20202020

6000000C 00000000

B000000C 00000000

D2000000 00000000

Edited by shadowofchaos
Link to comment
Share on other sites

  • Replies 877
  • Created
  • Last Reply

Top Posters In This Topic

All active characters Base Stats +32 (US version)

B3CF1100 00000000

C0000000 00000044

00000084 20202020

00000088 20202020

6000000C 00000000

B000000C 00000000

D2000000 00000000

you know 32 isn't the cap right? try making it 64 (or more if people break the cap somehow) otherwise it works fine, even with some dlc

thanks for that code bruh, with that i made this

255 quantity for all items held

B3CF1100 00000000

C0000000 00000044

200000a2 000000FF

200000a6 000000FF

200000aa 000000FF

200000ae 000000FF

200000b2 000000FF

6000000C 00000000

B000000C 00000000

D2000000 00000000

Edited by Missing Number
Link to comment
Share on other sites

Excuse me i need a little help.....

My problem is I'm trying to create M!Morgan over a MU(Robin) from my Logbook but in under a minute the game crashes .

Okay so i got M!Morgan in but whenever i try to put in the Parent pointer the game crashes upon highlighting Morgan.

Could someone assist me? please and thank you.

Edited by TemporalDragon
Link to comment
Share on other sites

Excuse me i need a little help.....

My problem is I'm trying to create M!Morgan over a MU(Robin) from my Logbook but in under a minute the game crashes .

Okay so i got M!Morgan in but whenever i try to put in the Parent pointer the game crashes upon highlighting Morgan.

Could someone assist me? please and thank you.

We *technically* haven't figured out parent pointers yet.

Link to comment
Share on other sites

Excuse me i need a little help.....

My problem is I'm trying to create M!Morgan over a MU(Robin) from my Logbook but in under a minute the game crashes .

Okay so i got M!Morgan in but whenever i try to put in the Parent pointer the game crashes upon highlighting Morgan.

Could someone assist me? please and thank you.

After generating M!Morgan, save your game and soft-reset. Now load your M!Morgan save again and create a fresh, new RAM dump.

If you pull the parent pointers from this RAM dump, it ought to work. Like forged weapons, I think the parent pointers are very sensitive, as the data they point to changes a lot depending on your character ordering.

For now, I'd only advice copying existing parent pointers from your RAM dump. So if you have F!Morgan or F!Morgan's sibling, copy their parent pointer.

Link to comment
Share on other sites

Okay so i looked at F!Morgans Parent pointer and assumed which was this:

taPTmJU.png

So i created a code that replicates that pointer and directed it here:

9pzFuVy.png

The game ended up crashing upon highlighting M!Morgan

Did i do something wrong? I'm pretty sure i put the Parent pointer in the right place.

Anyway the code i used was: 013D04B8 158EB430 (For Slot 3 which contained M!Morgan)

Link to comment
Share on other sites

One uestion I have is if M!Robin is hacked to have an S-Rank support with a male unit who is in a male-exclusive class, will Morgan be male or be F!Morgan in a male-exclusive class?

Link to comment
Share on other sites

Okay so i looked at F!Morgans Parent pointer and assumed which was this:

taPTmJU.png

So i created a code that replicates that pointer and directed it here:

9pzFuVy.png

The game ended up crashing upon highlighting M!Morgan

Did i do something wrong? I'm pretty sure i put the Parent pointer in the right place.

Anyway the code i used was: 013D04B8 158EB430 (For Slot 3 which contained M!Morgan)

you gotta take that number, and slice off 14000000, which yields 018EB430. go to that, you'll see the father, and some ways after, the mother, the stuff in between, i haven't yet decyphered. also, even cloning all the data in that area wont get you to have parents before they are crafted by the game

[spoiler=see what i did there?]

in the original save, some data was the same, and in the next, some of it changed (after i talked) i didnt have the time to record the differences tho

[spoiler=Sully x Stahl (Kjelle)]

attachicon.gifBefore.png

one thing that really sucks is the inibility to create this data, as i have tried (basically copied EVERYTHING in that area to an older save before kids) and failed (crash) so i can't even have parents til chapter 13 T~T

One uestion I have is if M!Robin is hacked to have an S-Rank support with a male unit who is in a male-exclusive class, will Morgan be male or be F!Morgan in a male-exclusive class?

i..... think so... ??

speaking of which, classables are generated when u enter the joining chapter, why dont we have a chapter select code? we can recruit multiple morgans that way no? im still foggy on the status of multimorgan. we got a surefire way of doing that yet or no?

if someone made a chapter select code.... i wonder what happens when you have no S ranks when you enter.... say you enter lucina's chapter from the begining of the game, you wouldn't have chrom paired with anyone, would it default to Chrom x Villager? but what about the others? what would happen then?

Link to comment
Share on other sites

Change Slot 1 Character to MaMU (JP):

D9000000 03BEF6E4

D4000000 00000008

B3CEE100 00000000

D6000000 00000064

D2000000 00000000

Change Slot 1 Character to FeMU (JP):

D9000000 03BEF6E4

D4000000 00000240

B3CEE100 00000000

D6000000 00000064

D2000000 00000000

Improved MaMU x FeMU support code (JP):

B3BEF6E4 00000000

0000020C 120D0803

D9000000 00000010

D4000000 00000011

D6000000 00000208

D2000000 00000000

B3BEF6E4 00000000

D9000000 00000010

DC000000 00000238

0000020C 120D0803

D6000000 00000208

D2000000 00000000

Change Slot 1 Character to MaMU (US):

D9000000 03BF2738

D4000000 00000008

B3CF1100 00000000

D6000000 00000064

D2000000 00000000

Change Slot 1 Character to FeMU (US):

D9000000 03BF2738

D4000000 00000240

B3CF1100 00000000

D6000000 00000064

D2000000 00000000

Improved MaMU x FeMU support code (US):

B3BF2738 00000000

0000020C 120D0803

D9000000 00000010

D4000000 00000011

D6000000 00000208

D2000000 00000000

B3BF2738 00000000

D9000000 00000010

DC000000 00000238

0000020C 120D0803

D6000000 00000208

D2000000 00000000

I swear, if I wasn't so into it, Rufurufu is not worth it.

tumblr_nokj3xXSPh1rmzb08o1_640.png

tumblr_nokj3xXSPh1rmzb08o2_640.png

The the character roster has a pointer to the next character in the "team".

So I couldn't "add" another person onto the green team without repointing the empty team pointer, as well as making a pointer to the "next" Morgan in Morgan's character slot.

Edited by shadowofchaos
Link to comment
Share on other sites

The the character roster has a pointer to the next character in the "team".

So I couldn't "add" another person onto the green team without repointing the empty team pointer, as well as making a pointer to the "next" Morgan in Morgan's character slot.

i so did not get that.... i take it another morgan isn't so easy?

Link to comment
Share on other sites

Looks like we might owe SciresM another big thank you. This was released a few days ago: https://gbatemp.net/threads/release-3ds-builder.388858/


I don't like .rsf files. They're stupid. So I made this thing.

uxvUvRN.png

It's designed to be as simple as possible.

Open a Romfs folder, or check the Pre-built box and select a pre-built decrypted Romfs binary.

Open an Exefs folder, or check the Pre-built box and select a pre-built decrypted Exefs binary.

Open the decrypted exheader for the game you're rebuilding. If the game in question was released before today, 3DS Builder should recognize the game's name and provide the correct serial. You can also enter a custom serial, if you want, of the form (CTR|KTR)-(P|U|N)-([A-Z0-9]){4}.

Choose a location to save the resulting file.

Hit go, and the program will generate a playable .3ds.

Source Code is available here: https://github.com/SciresM/3DS-Builder

And you can download it here: https://github.com/SciresM/3DS-Builder/releases

Edited by Bunny5390
Link to comment
Share on other sites

[spoiler=so after spending the better part of the day trying to get the best out of my logbook by inputting random sets of numbers to alter stats, i finally rested on something semi-decent.... ]
FEA.png

i honestly have no idea what the game does with this data to get these attributes..... i went through 0001 to 000A and it seemed to have a pattern, but after that i couldn't figure it out, so i started plugging in random numbers and got some crazy results, some of which include negative numbers

the girl i used this on was a grandmaster with maxed stats, 0000 left me with 40 in everywhere but luck. if anyone can figure this out, it would be great, otherwise i think im going to call it quits on racking my brain. feel free to plug in your own random values and share the results

unrelated but was testing it just the same ; i got a crash from turning this female into a MU, it was in the barracks, i'll assume it was a convo between her and her male counterpart, beware

Link to comment
Share on other sites

In reference to that "Hair color?" it's hair color used for the portrait for the Logbook/Streetpass and viewing Support Convos from the title screen. Filter my posts to find when I made one value blue and the other white to figure it out.

Link to comment
Share on other sites

With the Logbook data, the four bytes related to appearance, I did some fooling around with changing them, and I see how they work.

tz0eOwK.png

It only changes the appearance of the person on the portrait and 3D model. Changing the gender doesn't change the 3D model to the new gender, instead it just shows the same gender equivalent. The game knows what's the true gender of the unit somewhere.

I tried this on my main avatar and a guest avatar. Main avatars have pointers to character table entries that determine if they're male or female for Supports, and I know guest avatars point to a non-Support entry. So maybe the Logbook has to determine it's gender elsewhere? IDK, I'm tired.

So essentially, this is really appearance only.

So now I wonder where the voice option is.

Welp, that was fun.

EDIT: As for the Asset/Flaw bytes. It seems the first byte is Asset and the second byte is Flaw. I compared to the units I have and Logbook Units and it is in sync with the order of the character creator

Examples

Edward - 01 03 A: HP F: Magic

Wolt - 01 07 A: HP F: Def

MaMU - 07 06 A: Def F: Lck

FeMU - 05 06 A: Spd F: Lck

Friend - 06 03 A: Lck F: Mag (His first time playing he thought that Luck was good and Magic wasn't needed for Grandmaster lol)

Each byte.

01 - HP

02 - Strength

03 - Magic

04 - Skill

05 - Speed

06 - Luck

07 - Defense

08 - Resistance

Yay, now I can make certain DLC characters not crap (Seliph!)

Edited by Jacien
Link to comment
Share on other sites

EDIT: As for the Asset/Flaw bytes. It seems the first byte is Asset and the second byte is Flaw. I compared to the units I have and Logbook Units and it is in sync with the order of the character creator

Each byte.

01 - HP

02 - Strength

03 - Magic

04 - Skill

05 - Speed

06 - Luck

07 - Defense

08 - Resistance

Yay, now I can make certain DLC characters not crap (Seliph!)

numbers higher than that yeilds strange results, try my 7038 if u favor luck and magic with a dash of skill and speed.

unfortunately it doesn't help my dancer..... if anyone finds a value that gives strength and skill (and doesn't neuter any stats) throw it my way

Edited by Missing Number
Link to comment
Share on other sites

Heres something i wanna figure out. Where are children stat caps stored? I wanna update my morgans to reflect my MU's changed asset/flaw

edit: I'm the best. 5 minutes after looking at a dump.

QBTC7OL.png

Red: Parent 1

Orange and Yellow: Parent 1's parents.

Blue: Parent 2

Green: Parent 2's Asset/Flaw (if MU)

Edited by someonewhodied
Link to comment
Share on other sites

Slot 1 Character Modifier (JP):

D9000000 03BEF6E4

D4000000 00000008

D4000000 0000XXXX

B3CEE100 00000000

D6000000 00000064

D2000000 00000000

Slot 1 Character Modifier (US):

D9000000 03BF2738

D4000000 00000008

D4000000 0000XXXX

B3CF1100 00000000

D6000000 00000064

D2000000 00000000

XXXX Values:

0x0 Male My Unit/Male Avatar

0x238 Female My Unit/Female Avatar

0x470 Guest My Unit/Guest Avatar

0x6A8 Chrom

0x8E0 Liz/Lissa

0xB18 Frederick

0xD50 Viole/Virion

0xF88 Soiree/Sully

0x11C0 Vaike

0x13F8 Sol/Stahl

0x1630 Miriel

0x1868 Callum/Kellam

0x1AA0 Sumia

0x1CD8 Ronku/Lon'qu

0x1F10 Richt/Ricken

0x2148 Mariabelle/Maribelle

0x2380 Velvet/Panne

0x25B8 Gaia/Gaius

0x27F0 Tiamo/Cordelia

0x2A28 Grego/Gregor

0x2C60 Nono/Nowi

0x2E98 Libera/Libra

0x30D0 Sariya/Tharja

0x3308 Olivia

0x3540 Serge/Cherche

0x3778 Henry

0x39B0 Lucina

0x3BE8 Sairi/Say'ri

0x3E20 Basilio

0x4058 Flavia

0x4290 Donny/Donnel

0x44C8 Anna

0x4700 Wood/Owain

0x4938 Azure/Inigo

0x4B70 Brady

0x4DA8 Djelle/Kjelle

0x4FE0 Cynthia

0x5218 Serena/Severa

0x5450 Jerome/Gerome

0x5688 Male Mark/Morgan

0x58C0 Female Marc/Morgan

0x5AF8 Chambray/Yarne

0x5D30 Loran/Laurent

0x5F68 Noire

0x61A0 Nn/Nah

0x63D8 Tiki

0x6610 Gangrel

0x6848 Valhart/Walhart

0x6A80 Emelina/Emmeryn

0x6CB8 Lenha/Yen'fay

0x6EF0 Inverse/Aversa

0x7128 Paris/Priam

0x7360 Marth_FE1

0x7598 Dummy

0x77D0 Unpromoted_Monster

0x7A08 Promoted_Monster

0x7C40 Merchant

As a Java instructor at my University once said when a student raised his hand and said "What about pointers?"

Professor: "Fuck pointers."

Edited by shadowofchaos
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...