ROM Hack Fire Emblem Fates: ROM Hacking General Thread

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
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.
 

Pichi-Hime

Well-Known Member
Newcomer
Joined
Feb 15, 2016
Messages
66
Trophies
0
Age
25
XP
70
Country
United States
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
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
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.
 

Pichi-Hime

Well-Known Member
Newcomer
Joined
Feb 15, 2016
Messages
66
Trophies
0
Age
25
XP
70
Country
United States
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.
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
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.
 

Pichi-Hime

Well-Known Member
Newcomer
Joined
Feb 15, 2016
Messages
66
Trophies
0
Age
25
XP
70
Country
United States
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?
 

DeathChaos

Unmei wo koeru!
OP
Member
Joined
Oct 21, 2015
Messages
1,364
Trophies
0
Age
28
XP
1,724
Country
Puerto Rico
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
 

Pichi-Hime

Well-Known Member
Newcomer
Joined
Feb 15, 2016
Messages
66
Trophies
0
Age
25
XP
70
Country
United States
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.
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
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.
 

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada
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.
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
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.
 

Grima

Well-Known Member
Member
Joined
Jul 2, 2016
Messages
118
Trophies
0
Age
24
XP
109
Country
United States
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?
 

thane98

Well-Known Member
Member
Joined
Apr 23, 2016
Messages
617
Trophies
0
XP
1,528
Country
United States
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?
 

Grima

Well-Known Member
Member
Joined
Jul 2, 2016
Messages
118
Trophies
0
Age
24
XP
109
Country
United States
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
 

Pichi-Hime

Well-Known Member
Newcomer
Joined
Feb 15, 2016
Messages
66
Trophies
0
Age
25
XP
70
Country
United States
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

thane98

Well-Known Member
Member
Joined
Apr 23, 2016
Messages
617
Trophies
0
XP
1,528
Country
United States
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.
 

DeathChaos

Unmei wo koeru!
OP
Member
Joined
Oct 21, 2015
Messages
1,364
Trophies
0
Age
28
XP
1,724
Country
Puerto Rico
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

General chit-chat
Help Users
    Sicklyboy @ Sicklyboy: For example, one of my other favorite songs from them, with some massive house music influence - +1