Jump to content


Photo

FE10: Radiant Dawn Hacking Notes


  • Please log in to reply
184 replies to this topic

#121 James Bond

James Bond

    Nobody does it Better!

  • Member
  • Gender:Male
  • Location:Originally from: Athens, Greece, Current base of Operations: Sveti Stefan, Monetenegro
  • Favorite Fire Emblem Game:Genealogy of the Holy War

Posted 30 August 2010 - 07:33 PM

Does anyone know which file contains the class descriptions?
Edit: The file is e_common.m the problem is that if it is modified, the game only plays untill the opening video, if you skip it(or if the video ends) then the game freezes.
Edit2: The e_common.m file CAN be edited ONLY with a hex editor, if you try to edit it with a text editor the game won't be able to read it!

Edited by Tobi, 03 September 2010 - 04:35 AM.


#122 James Bond

James Bond

    Nobody does it Better!

  • Member
  • Gender:Male
  • Location:Originally from: Athens, Greece, Current base of Operations: Sveti Stefan, Monetenegro
  • Favorite Fire Emblem Game:Genealogy of the Holy War

Posted 01 September 2010 - 09:57 AM

Does anyone know how to change the models of weapons? (from axes to lances and all that)

#123 shadowofchaos

shadowofchaos

    好きだ・・・

  • Member
  • Gender:Male
  • Location:Las Vegas
  • Favorite Fire Emblem Game:Awakening

Posted 03 September 2010 - 09:04 PM

All the FE10 Sound effects as ripped by brsar_unpack.

Click Here to Download


Btw, I COULD NOT find the "Level Up!" Sound Effect...

I found the ones associated with it:

SE1_SYS_PARA_UP1 (Stat up)
SE1_SYS_LEVELUP1 (Level up number change sound)
SE1_SYS_CC1 (Class box "flip" sound effect)
SE1_SYS_CLASSCHANGE1 ("Class Change!" Text sound effect... the counterpart to "Level Up!")

All of these are in the GROUP_FE10SOUND_ALL Folder.

And I've looked at roughly all the .brstm files. I found unused "phase" music, but I COULD NOT find the Level Up music/sound effect. Anyone know where it is? (I might be able to insert it in a GBA FE game)


Vincent, might you know the location of the "Level Up!" sound? Just wondering, since you seem to have the most knowledge when it comes to hacking FE9/FE10.

#124 Wooster

Wooster

    Agents are GO!

  • Member
  • Gender:Male
  • Location:Connecticut
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 31 May 2011 - 08:31 PM

Should be okay I suppose. I was thinking of Mages not Sages : P

Also, something I noticed a while back.

You can barely make out what Spirits look like, but if you check their textures...

Posted ImagePosted ImagePosted Image

I wonder if the bodily parts are used. Also, is that a boob?


Posted Image


Just for Ha-ha's. I used some sucky Photoshop 3D skills to take a stab at visualizing what the spirits might look like. Reminds me of a second hand pepper shaker you might find at "Good Will".

My best guess, since the waste line transitions into vertical scanlines, that the body becomes transparent. Thus the spirit might be more like what we'd consider a ghostly form rather then the star bursts in game. Undead Seriphan grade bird laguz?

#125 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 15 June 2011 - 04:02 AM

Sweet, thanks for this. I got a basic test hack of FE9 working (gave Ike really high str base, growth, and cap--something immediately obvious). Now I just need to find out where it does the exp formulas...

Edited by Reikken, 15 June 2011 - 04:09 AM.


#126 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 16 June 2011 - 05:03 AM

Successfully hacked the exp formula. or the main part, anyway. and it only took an entire day. Granted, most of that was me discovering that Dolphin has a debug mode, and then finding out that some of the features in it aren't available unless you build the thing yourself and build the debug version, and then me installing Visual C++ and etc. in order to do that, and then actually doing it, and THEN going about finding where exp is done and how to change it.

It turns out that enemy and player phase exp calculations are done separately, so you could have an enemy phase exp bonus or something if you really wanted to.

#127 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 16 June 2011 - 06:18 AM

Just for Ha-ha's. I used some sucky Photoshop 3D skills to take a stab at visualizing what the spirits might look like. Reminds me of a second hand pepper shaker you might find at "Good Will".

My best guess, since the waste line transitions into vertical scanlines, that the body becomes transparent. Thus the spirit might be more like what we'd consider a ghostly form rather then the star bursts in game. Undead Seriphan grade bird laguz?

Whoa, that looks pretty scary. Thanks for the rendition anyway ^^

uccessfully hacked the exp formula. or the main part, anyway. and it only took an entire day. Granted, most of that was me discovering that Dolphin has a debug mode, and then finding out that some of the features in it aren't available unless you build the thing yourself and build the debug version, and then me installing Visual C++ and etc. in order to do that, and then actually doing it, and THEN going about finding where exp is done and how to change it.

Nice, do you have any details that you can share now? When I retrieve FE9/10's ISOs, I'll have to look into Dolphin's debug mode.

#128 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 16 June 2011 - 08:04 PM

Assuming you mean details on exp hacking...
There are two parts. First, in Start.dol, starting at 33240, or 800362e0 according to the program counter, it goes through most of the actual arithmetic.

For kill exp on player phase, it starts at 800362e0 with all to-be-mentioned values in registers and takes the difference between enemy level and player level, then adds X (I'll get to this in a bit), then adds 1, and finally divides by 2. (ELv - PLv + X + 1)/2. It's not done yet, but so far this looks a lot like the exp for hitting but not killing. However, when it calculates hit exp, it does the exact same thing but in another location. This is amusingly inefficient, but on the plus side, it means you can make the hit and kill exp formulae completely unrelated if you like. Anyway, next it goes off and does some other stuff and then comes back to 80036330, just a few lines away, and adds enemy level to Y. Then it goes to 80036340 and subtracts player level from that. Y + ELv - PLv. and at some point I forget it adds this to the value calculated earlier. So in total, (ELv - PLv + X + 1)/2 + Y + ELv - PLv.

For hit exp on player phase, it starts at 800363e0 and does the exact same thing as the first part above, resulting in the (ELv - PLv + X + 1)/2, and then it's done.

For enemy phase, it does the same thing as for player phase, except it starts at 80036528. Everything is just offset by 248 bytes.


Now for the second part. There is a small kind of table at F53C in FE8data.bin:

140F1E1E
14141E1E

The first row is the Y mentioned above, the kill exp bonus if you will, while the second row is X, which is basically double the hit exp with the unmodified formula. It uses the first byte for normal mode, second byte for hard, the third byte I'm guessing would be used for maniac if I had the Japanese version, and the fourth byte is for easy mode.


EDIT: ew, Rolf. Tormod is much cooler looking.

Edited by Reikken, 16 June 2011 - 08:10 PM.


#129 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 17 June 2011 - 06:56 AM

Thanks, yeah I was asking about the exp calculation ^^

I checked the Japanese version and the table in FE8data.bin is slightly different. The first row is 140F0A14 and I think the second row is 1414140A. If I'm not reading things wrong, this fits in with the 3rd byte being for Maniac mode (Y=10 and X=20).

Would you be interested into looking into some of the skill activations as well?

#130 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 17 June 2011 - 11:23 AM

possibly, yes

Also, what is that sig a pic of?

#131 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 18 June 2011 - 08:18 PM

I don't like Nightmare, so I started making something somewhat similar but more to my own liking. Anyone is free to check it out if they care.

EDIT: updated link

Edited by Reikken, 27 July 2011 - 12:39 AM.


#132 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 26 June 2011 - 02:53 AM

I don't see it explicitly mentioned anywhere, so

FE9. (FE10+ too?) The pointers in the FE8data.bin, as you can see at a glance, point to locations within the file, using the start of the file as 0 (actually it uses 0x20 as 0). Thus when the game loads it up, it has to first change every pointer in the file, realigning them to match up with the new offset for the data. To do this, it references a list located towards the end of the FE8data.bin file. This list is long and made up of ascending numbers, so you can't miss it. It's a list of the location of every pointer in the file. So any time you add a new pointer, you have to add its location (file offset -0x20) to that list.

Edited by Reikken, 26 June 2011 - 03:07 AM.


#133 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 26 June 2011 - 06:29 AM

Yeah, that holds true for a lot of table-like files in FE9 and all the way to FE12. I haven't mentioned it because few people hack these games enough to start expanding files. The one time I mention expanding is in Chapter 16, where I suggest expanding an event, but I don't go as far as making new events (and new pointers to go with them).

Also, what is that sig a pic of?

It's Ceci(lia) from Atelier Totori : o

Edited by VincentASM, 26 June 2011 - 06:30 AM.


#134 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 26 June 2011 - 10:34 AM

ok, thanks

I didn't use it for expanding, even. I just added an entry to a class's skill list. There are 5 slots in the class data section, filled with 0s if the class doesn't have all 5 skills, so I just overwrote one of those 00000000s with a pointer. It took me a bit to realize why it wasn't working.

#135 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 26 June 2011 - 03:25 PM

Oh yeah, I forgot about that application as well. I seem to recall you need to do the same thing to add an extra item to a character's inventory in the chapter/army data. Had me puzzled as well >___<

#136 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 28 June 2011 - 04:47 PM

Apparently FE9's army data doesn't like Nintenlord's LZ77 compression. Even decompressing, and then recompressing with no changes, and then reinserting the file resulted in errors. That or Dolphin is terrible. Or something else altogether? What's going on?

Edited by Reikken, 28 June 2011 - 04:47 PM.


#137 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 29 June 2011 - 08:42 AM

Can you send me an original army data file? I seem to recall they're cmp files, but I forget what the structure is like.

I was able to add Greil and the BK to the Mercenary Fort chapter, so I think it should be possible to get edited army data working OK.

#138 Reikken

Reikken

    Member

  • Member
  • Gender:Male
  • Favorite Fire Emblem Game:Radiant Dawn

Posted 29 June 2011 - 09:14 AM

by what means?

http://www.sendspace.com/file/tpdewm

Edited by Reikken, 29 June 2011 - 09:19 AM.


#139 James Bond

James Bond

    Nobody does it Better!

  • Member
  • Gender:Male
  • Location:Originally from: Athens, Greece, Current base of Operations: Sveti Stefan, Monetenegro
  • Favorite Fire Emblem Game:Genealogy of the Holy War

Posted 29 June 2011 - 09:21 AM

It seems that it has to be in zip format...

Edited by L.Lawliet, 01 July 2011 - 03:47 AM.


#140 VincentASM

VincentASM

    Heartbunny little sister

  • Administrator
  • Gender:Male
  • Location:UK
  • Favorite Fire Emblem Game:New Mystery of the Emblem

Posted 29 June 2011 - 03:04 PM

Thanks.

Hmm, I used version 4.2 of NL Compressor and I noticed a recompressed decompressed file differs slightly from the original file. I'm pretty sure I used NL Compressor when I successfully hacked the army data, so I'm not sure if the slight difference matters.

I'll probably have to dig up my FE9 ISO to check...

EDIT

Okay, I've got FE9 now, but I don't have time to hack it today.

In the meantime, can I ask what program are you using to recompile your ISO?

Edited by VincentASM, 29 June 2011 - 03:05 PM.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users