ROM Hack Fire Emblem Fates Expanded Same-Sex Marriage Patch [WIP]

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
I really appreciate this! I must have overlooked that part of the folder. The only issue I have is when trying to extract the gamedata, it tells me "no archives found". Am I not supposed to extract with WinRAR?
No, you need to use batch lz77 (or another program designed specifically for this). Winrar will not work.
 

Chard

Member
Newcomer
Joined
Jan 28, 2018
Messages
6
Trophies
0
Age
28
XP
79
Country
United States
No, you need to use batch lz77 (or another program designed specifically for this). Winrar will not work.
Once again, I appreciate you helping me, but now I can't understand how to apply this onto my .cia of the special edition. Is that possible? Or do I need to have citra or the actual cartridge?

--------------------- MERGED ---------------------------

No, you need to use batch lz77 (or another program designed specifically for this). Winrar will not work.
Once again, I appreciate you helping me, but now I can't understand how to apply this onto my .cia of the special edition. Is that possible? Or does this only work on citra or the actual cartridge?

--------------------- MERGED ---------------------------

I didn't realize that I posted this twice. Sorry!
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
Once again, I appreciate you helping me, but now I can't understand how to apply this onto my .cia of the special edition. Is that possible? Or do I need to have citra or the actual cartridge?

--------------------- MERGED ---------------------------


Once again, I appreciate you helping me, but now I can't understand how to apply this onto my .cia of the special edition. Is that possible? Or does this only work on citra or the actual cartridge?

--------------------- MERGED ---------------------------

I didn't realize that I posted this twice. Sorry!

Lets take a few steps back: what method of CFW are you using for just the gay hack (hans luma, ect), and have you got that working without the early flora patch?
 

Chard

Member
Newcomer
Joined
Jan 28, 2018
Messages
6
Trophies
0
Age
28
XP
79
Country
United States
I'm using Luma, though I don't have either hack working. I have the tools (batch and lunar), and I have the downloads for both hacks. In addition, I did most of what you told me to do, but the game data in the no swap folder in flora has something called "dispos" and "person" and I don't know what those mean. Are they important?
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
I'm using Luma, though I don't have either hack working. I have the tools (batch and lunar), and I have the downloads for both hacks. In addition, I did most of what you told me to do, but the game data in the no swap folder in flora has something called "dispos" and "person" and I don't know what those mean. Are they important?

Luma has a function called layeredfs, which is used romhacks by loading modified files instead of the base game files. In order for this to function correctly the folder names and file structure of the modified files has to match those of the base game. Citra doesn't have that option so we have to instead unpack the entire rom, replace the base game files with the modified files, and then rebuild the rom.

To use the gay hack with luma:

Boot up your 3DS Luma’s config menu by holding the SELECT button.
Turn on “Enable Game Patching”
On your 3DS SD card go to “Lumas” folder.
Create a folder called “titles” if there isn’t one
Go to the files you downloaded for the gayhack. Go to the "Luma version" folder and copy the folder with the correct title for your version of fates (look at the readme in the "Luma version" folder) into the "titles" folder on your sd card.

That should be enough to make the gay hack work. Start a new game (not branch of fate) and make sure it is working. Then make a backup in case something goes wrong.

Once you are able to get the gay hack running, you can apply the early flora patch:

In the folder you copied from "Luma version" to your sd card, go to the romfs\GameData folder and find the GameData.bin.lz. Decompress this file with BatchLZ77.
Apply the "FloraEarlyGameData" ips patch to your decompressed GameData.bin.lz
Recompress your GameData.bin.lz with BatchLZ77.
Rename it to GameData.bin.lz if the file name has been changed
Go to the "No Swap" folder in the early flora files and there will be two folders, "GameData" and "m". Copy both of these into the romfs folder on your sd card. When asked if you want to merge/replace files, choose yes to all.

That should make the early flora patch work.

If you want to use the unlock all paralogues patch, it's done basically the same as the early flora patch: decompress your gamedata.bin.lz, apply the ips patch, then recompress the gamedata.bin.lz and rename it if the name was changed.
 

Chard

Member
Newcomer
Joined
Jan 28, 2018
Messages
6
Trophies
0
Age
28
XP
79
Country
United States
Hello, the gay hack works fantastically, but the patch doesn't at all and after much trial and error with it, I just can't seem to figure out what is going on. Here is where I will start. By the way, I put the patch onto the "decompressed" file, but not the "decompressed.compressed" file, as I'm assuming that the latter is where I recompress it. Any help to understand what I do? I want to add the paralogue patch as well, but at this rate...
 

Attachments

  • Screenshot (1).png
    Screenshot (1).png
    12.1 KB · Views: 211

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
Hello, the gay hack works fantastically, but the patch doesn't at all and after much trial and error with it, I just can't seem to figure out what is going on. Here is where I will start. By the way, I put the patch onto the "decompressed" file, but not the "decompressed.compressed" file, as I'm assuming that the latter is where I recompress it. Any help to understand what I do? I want to add the paralogue patch as well, but at this rate...

If you've got the gay hack itself working, the patching should be easy.

Lets try the unlock paralogues patch, because that requires fewer steps:
1. Decompress the GameData.bin.lz with batch lz77. This should create a new file named GameData.bin.lz.decompressed
2. Apply the ips patch to the decompressed gamedata file.
3. Compress the decompressed gamedata file with batch lz77. This should create a new file named GameData,bin.lz.decompressed.compressed
4. Rename your patched gamedata file to GameData.bin.lz and put it in your romfs folder, replacing the unpatched gamedata file.

If this works, the flora patch is the same process plus adding the other folders to your romfs folder as explained before.
 

Lyrikin

Member
Newcomer
Joined
Nov 13, 2018
Messages
9
Trophies
0
Age
24
Location
Space
Website
lyrikin.tumblr.com
XP
123
Country
United States
I've been trying to figure out why Batch won't let me decompress the game bin file and also how to find the character block to change the gender of a character that doesn't end in zero (to get kid units and sibiling supports) and can't figure it out.

So I kinda wanted to verify before I keep trying to manually do it, if I use the All Paralogue file, if both parents equal two kids, they won't be registered as siblings and can't get sibiling supports?
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
I've been trying to figure out why Batch won't let me decompress the game bin file and also how to find the character block to change the gender of a character that doesn't end in zero (to get kid units and sibiling supports) and can't figure it out.

So I kinda wanted to verify before I keep trying to manually do it, if I use the All Paralogue file, if both parents equal two kids, they won't be registered as siblings and can't get sibiling supports?

If both parents are the same sex, the game won't realize that their kids are siblings because the game is hard-coded to prevent same-sex parents from having children. The unlock paralogue patch is a workaround for this.

For the manual way, all you need to change for this is the first flag for one of the parents, with one needing to be 0x0 and one being 0x1 (which denotes female). Instead of hex editing you can edit the gamedata.bin.lz with Nightmare, run the character module, and change the first flag for one of the parents that way. Nightmare can be downloaded along with FEFEditor at https://gbatemp.net/threads/wip-fefeditor-fire-emblem-fates.457799/.

Hard to say why batch isn't working for you. Make sure you're trying to decompress the GameData,bin.lz from the romfs\gamedata folder, not from the m folder. You may need to run batch as an administrator.
 

Lyrikin

Member
Newcomer
Joined
Nov 13, 2018
Messages
9
Trophies
0
Age
24
Location
Space
Website
lyrikin.tumblr.com
XP
123
Country
United States
@Fishmalk

(Thanks for the help I did get batch to work after running it as an administrator) I've tried both manually and using the All Paralogue patch, but when I load the save (for either method) and click on the character I want to S support, it doesn't show any paralogue being added. Is it because I'm using the digital version of Revelations and not the Special Edition cartridge?
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
@Fishmalk

(Thanks for the help I did get batch to work after running it as an administrator) I've tried both manually and using the All Paralogue patch, but when I load the save (for either method) and click on the character I want to S support, it doesn't show any paralogue being added. Is it because I'm using the digital version of Revelations and not the Special Edition cartridge?
Pre-existing saves often do not work with updated files. Try a new game, not using branch of fate.
 

xean

New Member
Newbie
Joined
Nov 16, 2018
Messages
1
Trophies
0
Age
36
XP
46
Country
Indonesia
If i want to patch the twin kana file after i have played to chapter 20, do i have to restart playing all over again ? Because i've tried the patch and still only get single kana.

Thank you

Edit : Can somebody help me how to patch the twin kana to the gay fates patch revelation for Luma because i try for the 5th time the paralogues are all gone now.

Edit 2: Another question if i want to install the fire emblem if fan-translated, is the gay patch will come in english or japanese? * i just want to try the my room feature of touching your chara game
 
Last edited by xean,

meganemedi

New Member
Newbie
Joined
Nov 26, 2018
Messages
4
Trophies
0
Age
27
Location
Georgia
Website
meganemedi.carrd.co
XP
58
Country
United States
Hi, quick question! I'm about to install the hack (actually have someone else install it for me since homebrew and the installation method are a lot of things I don't understand lol) and I was wondering if the manual editing of the gamedata.bin.lz file works for all methods of installation for the hack (both Luma and NTR CFW, not just HANS). Based on Fishmalk's directions it seems like it does, but is it the hack's gamedata.bin.lz file that's being edited after installation or are fresh files being dumped and edited?

Sorry, I'm trying to reconcile this with the original instructions for manual editing which were a little unclear haha. Using Nightmare instead of a hex editor seems to cut out of a lot of steps but I wanted to make sure I'm going to be editing the right file.

I guess, basically, after I install the hack and get to my first S-support, am I just making a copy of the installed hack's gamedata.bin.lz file (which I'm assuming will be the only file of that type for the title on the SD card?), editing the file on the card with Nightmare, then after the paralogue is done, replacing the edited file with the original unedited file?

I hope that's clear enough. Sorry, a lot of this is waaaay beyond me so I'm trying to figure out how to do this one thing by myself since I'm having someone else install the hack and the homebrew software needed to run it.
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
Hi, quick question! I'm about to install the hack (actually have someone else install it for me since homebrew and the installation method are a lot of things I don't understand lol) and I was wondering if the manual editing of the gamedata.bin.lz file works for all methods of installation for the hack (both Luma and NTR CFW, not just HANS). Based on Fishmalk's directions it seems like it does, but is it the hack's gamedata.bin.lz file that's being edited after installation or are fresh files being dumped and edited?

Sorry, I'm trying to reconcile this with the original instructions for manual editing which were a little unclear haha. Using Nightmare instead of a hex editor seems to cut out of a lot of steps but I wanted to make sure I'm going to be editing the right file.

I guess, basically, after I install the hack and get to my first S-support, am I just making a copy of the installed hack's gamedata.bin.lz file (which I'm assuming will be the only file of that type for the title on the SD card?), editing the file on the card with Nightmare, then after the paralogue is done, replacing the edited file with the original unedited file?

I hope that's clear enough. Sorry, a lot of this is waaaay beyond me so I'm trying to figure out how to do this one thing by myself since I'm having someone else install the hack and the homebrew software needed to run it.
Editing the gamedata.bin works for luma. I assume it works for the other installation methods as well, since they all read from the modified files.

The file you need to edit is the GameData.bin.lz from the gay fates romfs\gamedata folder. There is another GameData.bin.lz in the romfs\m folder which you do not want to edit. Use the character module in Nightmare, and the field "Flag 1-8" needs to be "0x0 None" (which means male) for one character and "0x1 1" (which means female) for the other character. You will notice both Corrins have additional flags in that field, so don't edit them. Change their partner instead.
 

meganemedi

New Member
Newbie
Joined
Nov 26, 2018
Messages
4
Trophies
0
Age
27
Location
Georgia
Website
meganemedi.carrd.co
XP
58
Country
United States
Editing the gamedata.bin works for luma. I assume it works for the other installation methods as well, since they all read from the modified files.

The file you need to edit is the GameData.bin.lz from the gay fates romfs\gamedata folder. There is another GameData.bin.lz in the romfs\m folder which you do not want to edit. Use the character module in Nightmare, and the field "Flag 1-8" needs to be "0x0 None" (which means male) for one character and "0x1 1" (which means female) for the other character. You will notice both Corrins have additional flags in that field, so don't edit them. Change their partner instead.
Okay, thank you so much!

Quick edit: is it possible to use this method when using a romhack version instead of a physical copy? based on the instructions for installing the hack for a citra rom I would assume it would be a matter of unpacking the rom, editing the gamedata file, then repacking the rom and starting the game up with the edited file? (hopefully that wouldn't affect save files or anything... I'm not sure if citra would read it as entirely new/different game or not)
 
Last edited by meganemedi,

FriendlyHacker

Well-Known Member
Newcomer
Joined
Oct 19, 2018
Messages
82
Trophies
0
Age
26
Location
127.0.0.1
XP
386
Country
Italy
Okay, thank you so much!

Quick edit: is it possible to use this method when using a romhack version instead of a physical copy? based on the instructions for installing the hack for a citra rom I would assume it would be a matter of unpacking the rom, editing the gamedata file, then repacking the rom and starting the game up with the edited file? (hopefully that wouldn't affect save files or anything... I'm not sure if citra would read it as entirely new/different game or not)

Citra doesn't read a modded game as a different game. It recognizes it as the same game.
 

Fishmalk

Well-Known Member
Newcomer
Joined
Feb 12, 2018
Messages
67
Trophies
0
Age
53
XP
484
Country
United States
Okay, thank you so much!

Quick edit: is it possible to use this method when using a romhack version instead of a physical copy? based on the instructions for installing the hack for a citra rom I would assume it would be a matter of unpacking the rom, editing the gamedata file, then repacking the rom and starting the game up with the edited file? (hopefully that wouldn't affect save files or anything... I'm not sure if citra would read it as entirely new/different game or not)

Citra doesn't read a modded game as a different game. It recognizes it as the same game.

Friendly is correct: citra will still read a modified fates rom as fates. Whether or not it is save compatible depends on what you change.

Yes, you can use the nightmare method with a rom and citra. Save compatibility depends on whether the game read the unit gender from the save file or from the game files after recruitment. I do not know which it is, but in either case I believe it should be save-compatible for units that have not yet been recruited.

If the game does read the unit gender after recruitment from the save file, then changing the gamedata with nightmare would have no impact on units already recruited. However, it should in that case be possible to change their gender bit by hex-editing the save file. I assume feftwiddler's hex editor would work in this case, but I do not know which bit is the gender bit.
 

Lyrikin

Member
Newcomer
Joined
Nov 13, 2018
Messages
9
Trophies
0
Age
24
Location
Space
Website
lyrikin.tumblr.com
XP
123
Country
United States
Hi quick question! So I recently switched methods to Luma, I followed all the steps and the patch does work! But it's also making my game lag a pretty good amount (both conquest and the special edition cartridges). Starting up the game takes like 15-20 second, button inputs are delayed and when changing scenes it takes awhile to load.

Is there any way to fix this? Thanks!
 

FriendlyHacker

Well-Known Member
Newcomer
Joined
Oct 19, 2018
Messages
82
Trophies
0
Age
26
Location
127.0.0.1
XP
386
Country
Italy
Friendly is correct: citra will still read a modified fates rom as fates. Whether or not it is save compatible depends on what you change.

Yes, you can use the nightmare method with a rom and citra. Save compatibility depends on whether the game read the unit gender from the save file or from the game files after recruitment. I do not know which it is, but in either case I believe it should be save-compatible for units that have not yet been recruited.

If the game does read the unit gender after recruitment from the save file, then changing the gamedata with nightmare would have no impact on units already recruited. However, it should in that case be possible to change their gender bit by hex-editing the save file. I assume feftwiddler's hex editor would work in this case, but I do not know which bit is the gender bit.

I assume it reads the gender from the gamedata file regardless of the recruitment status of the character. Changing the gender of one of the characters in the savefile (or changing their class to one of the opposite gender, as someone suggested somewhere; or doing both of those) using feftwiddler didn't unlock the paralogues for me. Using the "all paralogues unlocked" patch solves this and there's no need to change the genders in the gamedata file.
Then, in order for the game to recognize children of same-sex couples as siblings, once they've been both recruited, one of the children's data in the savefile should be hex-edited using feftwiddler so that both children have the same character id in the mother slot, and the other parent's id in the father slot (because when using this method, they're switched). UnassumingVenusaur came up with this alternative and described the process on her tumblr. To be honest, I prefer using this method since it's far simpler and quicker than hex-editing the gamedata file time and again.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    MrNoobNub @ MrNoobNub: why is everyone so horny