FE4 "Modernish" Compatability Patch for Yune Randomizer

Hello, everyone! This is my first project being uploaded to the site.

I love randomizers in almost every game I play. Fire Emblem is no different. Now, Yune is one of the most popular randomizers in the community and, while it’s primarily used for randomizing the GBA games, it’s also the premier randomizer for Genealogy. However, certain aspects of FE4 don’t lend themselves well to randomization. More specifically, if using Yune’s ability to allow units to follow-up without Pursuit, then swords become extremely overpowered in comparison to lances and axes without any changes. So that’s where this patch comes.

To the best of my personal ability, this patch, when applied to an already randomized FE4 rom created with Yune, will implement a bunch of changes from the FE4 Modern patch by Enaluxume. It’s called “Modernish” becuase everything that’s in FE4 Modern cannot be done without far more knowledge in hacking FE4 than I currently possess.

Due to the way the patch is implemented, the base rom that Yune randomizes must be an original, unmodified, headered, Japanese rom of FE4.

Implemented due to Yune itself:

  • Follow-ups without Pursuit. FE4 Modern was originally designed with a 1/5 split: Units with Pursuit can follow-up if their AS>enemy AS and units without it need a difference of 5. This can be set in Yune itself
  • Sword skills can be inherited and used by all units

Implementations due to this patch:

  • Alterations to Weapons and Items to be exactly as they are in FE4 Modern. This is the most important feature and the reason this patch was made to begin with.
  • Gives all Classes the MOV and weapon ranks they posses in FE4 Modern.
  • Replaces Swordmaster Adept with Critical
  • Gives all Rogues Steal
  • Weapon weight reduction. A weapon’s weight is reduced by 1 for every four points of Strength a unit possesses, rounded down

Unimplemented features in this patch:

  • No changes to the Battle UI
  • Capped stats do not glow green
  • No change to any individual character’s stats, growths, promotions or skills. All of those would be randomized anyway.

Finally, included in the zip file is a list of units that Yune randomizes in a specific way, just to inform people.

Link to the patch, including all individual patches used in the full version can be found here.

Credits:

  • Lamia, who provided the original weight reduction patches and with them, the means to discover the work of the group below
  • The unnamed original Japanese creators of the weapon weight patches, whose work and documentation on the weight reduction patches made this possible
  • Laqieer, who maintains the version of Nightmare used to make these edits
  • lushen124 and Geeene, Yune programmers, a program that’s necessary for this patch to function
  • And of course, Enaluxume, whose FE4 Modern hack was so good, it inspired me to make this patch specifically to have a piece of it on randomized runs.
3 Likes

This came full circle considering I first started working on FE4 Modern because of how bad FE4 is at being randomized!
For the weight mitigation, I remember I started with the patches that decrease weight by Str/3 and Str/5 (they’re in Lamia’s folder), found out where the difference between the two was in the hex code and manually changed it to be Str/4 by simply splitting the difference between the two.
Personally I’m not a fan of reducing tome weight using the Mag stat, but it’s your decision. Still, keep in mind that the way I assigned the Str scores to each class is very much influenced by the Str/4 mitigation, with many classes either capping at a multiple of 4 or just shy of one. Of course, no such consideration was done for Mag.

1 Like

This one comment sent me on a rabbit hole.

I’ve been sitting on this for a while now, but prior to today, I didn’t think anyone else wanted to use your changes in Yune before. But this one comment inspired me to think about the original reason I did all this. To port this hack to Yune as well as I could. So no more half measures.

I figured that I’d look over the weight patches again to see how difficult it would be to do Strength/4 myself. And as it turns out, the original files had two different readmes, all in Japanese. One just said what the patches did, but the other was an exact record of the hex edits they did to make it. So imagine my surprise when I did a machine translation of the second read me and find instructions on how to do exactly what I wanted. Turns out, the original programmers did make a Strength/4 patch; it was just never included in the uploaded files. So, since they never provided it online, I just made a new one myself.

In case you want to check out the original readmes, it’s right here. Essentially, the Strength/4 patch is just the half strength patch but the part where they halve the strength is repeated again.

So after making the patch (or rather, copying what was written using HxD) and an hour of testing in Yune, I conclude that unless I missed something major, it all works now. As far as I can tell, this patch now officially has the same weight reduction the original FE4 Modern does!

2 Likes

Thank you so much!!
I’ll check it out later today, and report any bugs and such
I’m so glad, I actually had the same problem with randomizing fe4, that’s why I was so interested in it

So! I tried all of your patches, and I’m sorry to say none worked for me
These are my yune settings


These pictures are with the full yune patch



These two are with weapons only


And for some weird reason, this happened with classes change only

Just to be clear, I used an unheadered base rom, then randomized, then applied one of your patches

I don’t mean to sound rude, just really want this to work
I’ll keep bugtesting it if you keep updating it, and thank you for making it!

Is there a specific reason why heroes have critical? :thinking:


Alright, two things that might be the issue. The first is that I have been using headered roms for all of this. Yune is apparently compatable with headered and unheadered roms, but it’s possible that this patch is not compatible with unheadered roms. If that resolves the issue, then I’ll have to update the OP.

As for the version of Yune I was using, it was all done on version 3 of the .9.4 preview, which I found out today is actually out of date. The latest version is found here. As you can see, my window looks different and even though I tried to replicate your settings as shown in your picture, the randomization turned out different. Even so, accounting for those variables, the patch still works on my end. Maybe try both of those things out first, see what happens and if it works then, at least we’ll know. To add a header, just use TUSH.

1 Like

I see, thank you very much!
I’ll report back with the results

My apologies, I misspoke in the documentation. It’s actually the Swordmaster that was changed, replacing Adept with Critical, as it is in FE4 Modern.

1 Like

So! First off, this is what happened when I tried to header the rom using tush, then randomize
First, it didn’t recognize the file, then showed this in the middle of randomizing


Next, I tried going back to the unheadered version, and the same problems happened, with an extra one, surprisingly

After aideen is kidnapped, the game freezes on a green unit going across the screen, up to down, over and over
Edit: this might be because neither the kidnapper nor midir could use their weapon, becuase of what I showed you before
It’s a soft lock
I’m sorry…
I’ll continue trying to header my rom, but it just never made any problem before, and I’m surprised

I tried, and yune(preview 4) doesn’t recognize any headered rom, translated too
Hahh…

The headered rom that is working correctly for me looks like this in Yune.

From a brief glance, there’s no cutscene bug in this version, it randomizes fine and patches well. So in that case, it may be possible that adding a header isn’t enough. It may need to specifically be an original headered rom. Later on, I might try sending some ips patches your way to see if they work on your headered rom. But this is what I suspect.

1 Like

I don’t have an original headered rom… I’ll search, thank you

It works!! All I needed was the original headered rom

You should say that it doesn’t work with any others
Thank you so much!!!

The OP has been updated. Thank you for the testing. I’m afraid stuff like didn’t occur to me before. Hope you have a good time!

1 Like