ROM Hack Fire Emblem Fates: ROM Hacking General Thread

  • Thread starter Thread starter DeathChaos
  • Start date Start date
  • Views Views 339,231
  • Replies Replies 1,084
  • Likes Likes 18
How do i know where the pointers are pointing to?
They point to the labels that you found earlier. More specifically, the first byte of each label. To get the address that the pointer is pointing to, take the pointer (should be four bytes long) and invert the order of the bytes but not the order of the numbers in it. Ex: C3 50 00 00 becomes 00 00 50 C3. Then add 20. Ex: 00 00 50 C3 becomes 00 00 50 E3. Then look for that address. To create a pointer, just reverse those instructions.
 
sorry to be asking so many questions, btu using the picture, would i use 4c 83 8b 83 and then invert it? i'm confused as to what you mean with the first byte of each label
 
sorry to be asking so many questions, btu using the picture, would i use 4c 83 8b 83 and then invert it? i'm confused as to what you mean with the first byte of each label
The first label of interest to you is the one right before your highlighted section. The one that starts with AID_ and has a some Japanese after the _. The first byte of that would be the A. The location of that A is 00 00 9C BA. Perform the functions I gave you with that value.
 
The first label of interest to you is the one right before your highlighted section. The one that starts with AID_ and has a some Japanese after the _. The first byte of that would be the A. The location of that A is 00 00 9C BA. Perform the functions I gave you with that value.
When i invert that i get BA 9C 00 00 so I add 20 and get BA 9C 00 15 right? I i just ctrl F but it says it cant find it.
 
When i invert that i get BA 9C 00 00 so I add 20 and get BA 9C 00 15 right? I i just ctrl F but it says it cant find it.
Almost. What I told you to do allows you to go from pointer --> label. What you want is to go the other way. To do that, just invert and subtract 20 (hex, not decimal) from the first byte.
 
Almost. What I told you to do allows you to go from pointer --> label. What you want is to go the other way. To do that, just invert and subtract 20 (hex, not decimal) from the first byte.
So how do i know where the end of the aid is to change the hair color?
 
So how do i know where the end of the aid is to change the hair color?
The start of the AID is a bunch of bitflags, then it's all pointers, and after the last pointer, the next 4 bytes are hair color.

As an example, here's the AID I made for Chrom in my DLC;
AID EXAMPLE.png
 
I dont think im in the right area then. i just ctrl F 9A 9C 00 like omegablue said, and it found it but i don't see any bytes that indicate hair color. im even putting the hex code into a color wheel and checking the cololr. not seeing lucina's blue hair color.
 
I dont think im in the right area then. i just ctrl F 9A 9C 00 like omegablue said, and it found it but i don't see any bytes that indicate hair color. im even putting the hex code into a color wheel and checking the cololr. not seeing lucina's blue hair color.
She might have her hair color set to FF FF FF 00.
 
I dont think im in the right area then. i just ctrl F 9A 9C 00 like omegablue said, and it found it but i don't see any bytes that indicate hair color. im even putting the hex code into a color wheel and checking the cololr. not seeing lucina's blue hair color.

Lucina's hair colour should be at 0x21ec. You also have to remember to flip the bytes when reading the hair colour.
 
Do you think we will able to get characters and classes from awakening and import them into fates?
The Awakening models don't open in Ohana, so the imports would be limited. Deathchaos did make a thief class for a custom Gaius character, but the model is borrowed from another class.
 
The Awakening models don't open in Ohana, so the imports would be limited. Deathchaos did make a thief class for a custom Gaius character, but the model is borrowed from another class.
Well, certain models can be opened in Ohana. But can it export them to the correct model format?
 
I'm not familiar with Awakening's models in general. Are there any existing programs that can open them or convert them to a different format?
 
I'm not familiar with Awakening's models in general. Are there any existing programs that can open them or convert them to a different format?
Ohana3DS can open a few. I haven't done a lot of experimenting, but it can open the default Sage outfit. I've noticed character specific outfits can't be viewed however.
http://imgur.com/a/GrJCf
 
so i found lucinas hair color and im trying to find gunters now. i found where his aid label is (i think thats what you call it. it has all the text about his models) at 00 00 94 1F so i invert it and get 1F 94 00 00. subtract 20 from the first byte and get 05 94 00 00. so what do i do now to find gunters hair color?
 
  • Like
Reactions: Omegablu
I'd like to know as well. The ones I've tried to open never work. Animations and textures do though.
I did a bit of poking around inside the files, and it looks like everything is either a CTPK or CGFX file for the most part. I'm going to do some looking around, as I feel like there are a couple of things out there already for working with those file types. No idea if we can convert any of them to formats used by Fates though.

Ohana3DS can open a few. I haven't done a lot of experimenting, but it can open the default Sage outfit. I've noticed character specific outfits can't be viewed however.
http://imgur.com/a/GrJCf
Well that's a start at least. What directory are the outfits located in? I wouldn't mind going through them and seeing what I can do.
 
I did a bit of poking around inside the files, and it looks like everything is either a CTPK or CGFX file for the most part. I'm going to do some looking around, as I feel like there are a couple of things out there already for working with those file types. No idea if we can convert any of them to formats used by Fates though.


Well that's a start at least. What directory are the outfits located in? I wouldn't mind going through them and seeing what I can do.
the b folder
 
  • Like
Reactions: thane98

Site & Scene News

Popular threads in this forum