Fire Emblem Three Houses Randomizer

#1

Fire Emblem Three Houses Randomizer
Link (V0.2.3): https://cdn.discordapp.com/attachments/589686684317122610/632048607310381056/Fire_Emblem_Three_Houses_Randomizer_V0.2.3.exe

Character Attribute Options:

  • Base Stats
  • Stat Caps
  • Stat Growths
  • Faculty Training
  • Personal Skills
  • Seminar Stats
  • Crests
  • Classes
  • Character Assets (Model, Name, Voice)
  • Learned Magic
  • Misc. Options (Age, Birthday, Gender, Height, Chest)

Class Attribute Options:

  • Remove Gender Locks
  • Weapon Requirements
  • Include Advanced Pegasus Knight Class
  • Include Dancer Class

Weapon Attribute Options:

  • Skipping Randomization for Broken, Rusted, and Unarmed Weapons
  • Durability
  • Might
  • Hit
  • Crit

Notes:

  • If you are only randomizing the Character Attributes, Class Attributes, or Weapon Attributes, then you only need to open persondata.bin, classdata.bin, or item.bin, respectively. However, if you enable the inclusion of the Pegasus Knight Advanced Class and/or Dancer class, they will be included in the pool of possible classes if Classes are selected to be randomized, even if classdata.bin is not loaded.
  • Apparently some crashes of the application relating to the randomizing of stats, caps, and growths can be solved by running the application as an administrator. Although I wasn’t able to replicate this bug, please let me know if you have this problem, and if this solves it. (Thanks to Rab for finding this while testing for me!)
  • Updated from 0.2.1 to 0.2.2: fixed potential problems with including dancer class and including enemy only magic. Also added option to include Byleth in asset randomization. If chosen, both Byleths (m and f) are added to the pools for named and playable characters, as well as the Church/Knights of Seiros “House” if the house option is selected.
  • Updated from 0.2.2 to 0.2.3: fixed problem where not using min/max options for the stats/caps/growths would result in every stat being 0… yikes! Should work properly now. Also fixed a potential problem where a character with more than 255 stats/caps/growths total (everyone, I think, for the latter two) could’ve potentially broken the stat distribution when not using min/max options.

Using the Randomizer:
The Randomizer edits persondata.bin, classdata.bin and data.bin. This tutorial (link) shows you how to load the edited files with one method, and on the sidebar you can find two more methods.

How I do it is simply going to root:/atmosphere/titles/[title id of fe3h]/romfs/patch2/nx/data/ and putting the edited files in there.

Planned Options: (in no particular order)

  • Learned Skills
  • Budding Talents
  • Strengths and Weaknesses
  • More Item Options (Weight, Crests, Effects)
  • More Class Options (Class Growths, Class Proficiencies)
  • More Randomization Options

Credits:

  • 010 Binary Templates - DeathChaos25, TildeHat, Moonling, Puddles

Other Links:

V0.1 Post

Fire Emblem Three Houses Randomizer
Link (V0.1): https://cdn.discordapp.com/attachments/206646029326483456/613718766953693185/Fire_Emblem_Three_Houses_Randomizer.exe

Options:

  • Base Stats
  • Stat Caps
  • Growths (including Mov Growth)
  • Misc. Options (Age, Birthday, Gender, Height) (Note that Birthday does not change the actual day their birthday event is triggered in-game)
  • Crests
  • Classes
  • Seeds (Note that only numeric seeds works, anything else is ignored)

Currently the randomizer generates stats/caps/growths by adding together the character’s original stats/etc. (not including mov growth) then redistributing them, but I want to add more options later on.

I’ll be working on it more when I finish more of the game (haven’t even finished my first route yet!). Sorry if smth is really buggy lol

Planned Options:

  • Skills
  • Magic/Spells
  • Budding Talents
  • More Randomization Methods for Stats/Caps/Growths
  • A Ton More Stuff I Hope™

How to Use: (w/ Atmosphere CFW and layeredFS)

  1. You will need the following files: person.bin, info0.bin, info2.bin.

    • person.bin can be obtained by extracting it from data1.bin (it will be the 12th file), or by simply copying 0x1CD74 bytes of data from data1.bin, starting at 0x10EA800, into a new file
    • info0.bin and info2.bin is found within the patch1 folder of the V1.1 update
    • both data1.bin and the files from the patch1 folder can be dumped using nxdumptool
  2. Open person.bin in the randomizer, choose the options you like, and Randomize and Save the file.

  3. On your microSD card, navigate to the atmosphere/titles/ folder, and create a new folder with the title ID of FE3h if you don’t already have one.

  4. Within the new folder, create a folder titled romfs. Within that folder, create a folder titled patch1.

  5. In the patch1 folder, put your person.bin, info0.bin, and info2.bin files.

  6. Open up info2.bin, and add 0x01 to the first byte. (If this is the first time editing it, it will go from 0x4A to 0x4B.)

  7. Next, create an entry in info0.bin. To do this, find the entry for 0x0D (the 13th file). Each entry is 0x120 bytes long. On an unedited info0.bin this will be at 0x5A0. Download this file (link) and copy the whole thing. At the offset for entry 0x0D (normally, 0x5A0), paste-insert what you copied - make sure not to paste-write.

  8. You should now have a person.bin file (output from the randomizer), an info0.bin file (edited in step 8), and an info2.bin file (edited in step 6), all within the folder root:/atmosphere/titles//romfs/patch1/.

  9. Load up the game while running CFW, and atmosphere/layeredFS should load your files in!

  10. If you want to re-randomize, just replace the person.bin file in the patch1 folder you made.

I learned this from the folks at the 3DS FE Romhacking Discord and, if you need any help that’s the best place to go, probably.

Apologies if there are some terms that are wrong. I don’t know much here lol

Credits:

  • DeathChaos25 for creating the 010 binary template for the person.bin file and general help
  • HeartHero for creating the Three Houses Editor, which helped immensely because I could easily check whether the game was being randomized properly

Other Links:

14 Likes
#2

Very, very, cool Bly! Good to see awesome tools already out for this game. Can’t wait for more.

2 Likes
#3

“B-But she was legal in the randomizer, officer!”

9 Likes
#4

Very confused on how to add the values to info0.bin

2 Likes
#5

I really want to try this, but I’ll probably fuck up and corrupt all my files…

1 Like
#6

can you post a pre edited info0.bin and info2.bin to make me and probably others lives easier i would appreciate it

2 Likes
#7

Are you opening the files in HxD / some other hex editor?

I’d suggest creating an emunand and backing up your saves for the game. That should minimize any risk as much as possible, I think.

Just as we can’t post ROMs, I can’t post the info files here. FAQ/Guidelines Repost

If both of you would like help I’d suggest joining the discord mentioned in the OP or the FEUniverse discord and pinging me, but I can continue to help here too.

1 Like
#8

Can you show how to edit INFO0.bin in like a program? I’ve been trying to get this for days now and I would be really grateful if you helped.

1 Like
#9

Another question can this randomizer change which units look like which i.e. claude being shown as Nemesis or not?

#10

You will have to open it in a hex editor! I suggest HxD (that’s what I’m most comfortable with, and it’s pretty easy to use).
It might be easier for you to contact me on Discord, if possible, since we can talk 1-1 and I’ll be able to respond quicker.

In the next update you will be able to randomize recruitment! Currently I am planning 3 options: (1) randomize recruitment within houses; (2) randomize playable units (3) randomize all units (named/portrait’d enemies and players). If you’re interested in that I suggest waiting a bit longer for the next version.

#11

Sounds great! i cant wait.Excited to see how far this randomizer will go thanks!

P.S. whats your discord?

#12

My discord is currently bly#0420

1 Like
#13

Tried adding you, didn’t work. :frowning:

#14

I think you gotta share at least one server with me. You can join the FE Universe discord or the one I have linked in the OP

#15

So, is this project gonna get anymore updates, or is it dead?

#16

It’s been two weeks since the last reply, my dude. Hacking takes time, I’m sure Blyvern is hard at work. Three Houses is relatively unexplored hacking-wise, so I’d imagine it’s difficult

2 Likes
#17

Yeah! Besides it taking time, I should note that I had the next update ready to go, but I had taken a trip right when the second patch came out, so I’m working on making it work with the second patch + making it easier to use (a lot of people have had trouble with the tutorial, so I wanna simplify it), and juggling that with school (I need to put in transfer requests for university, in addition to classes themselves)!

4 Likes
#18

The OP has been updated with V0.2.1 and a link to a good tutorial (far better than what I had written out)!

1 Like
#19

2 Likes
#20

Quick update to V0.2.2 to add an include byleth option for randomizing assets. Also fixed potential bugs with including the dancer class and including enemy only magic. Link in OP updated.

2 Likes