The infamous RES bug when expanding the Class Array in FE6/7/8


#1

This is a bug I’ve experienced in FE7CM, and in Min-Max Emblem. I already know how it works, but I’m posting this topic so others know. Also, so I don’t have to look up my posts on the FEU Discord constantly to reference it.

Simply put, if you add classes past the final class in FE8 (0x81?), the game has several bugs, but the biggest and worst one involves characters gaining tons of RES. This applies to ally and enemy units.

Before suspending:

After suspending:

So the stats randomly bug out, right? Wrong. It’s entirely based on deployment order, for allies and enemies.

Red units affected, green units unaffected. (Normal RES.)

and

That’s all we know. Kirb’s current system for expanding the class array does not solve the problem. I believe he’s working on a fix still.

@AlfredKamon mentioned @Brendor managed to expand the class array and apply a new save system for Midnight Sun several years back and no bugs were reported. Maybe he knows something?

Anyway, this is the biggest bug. Don’t expand your class array until it’s fixed. That is all.


Min-Max Emblem (V0.8) - The Sequel to Cancer Emblem! (But it's actually good this time)
#2

This bug will haunt me to my grave


#3

I’ve expanded the class table with no bugs, but there are 2 things I am doing that may be preventing this:

  1. Buildfile. I’ve talked to many people who use FEB who get this problem, but I use buildfile. If I remember correctly, I talked to someone else who used buildfile who did not get this glitch. Maybe this is an FEB-exclusive glitch?
  2. This is more likely reason: I have not yet used a prep screen in my project. The nature of the project allows me to not need them and actually makes it more difficult to use them if I decide to eventually use them. Perhaps this may be caused by prep screens?

#4

The prep screen, huh? I’m 99% sure the bug occurs as early as the prologue and chapter 1 of FE8 before the prep screens appear, but I can check.

To trigger the bug, start the chapter, soft reset and resume. Or, start the chapter, suspend and resume. The characters should always be bugged. I doubt buildfiles would prevent the bug.

Also, this bug happened in FE7CM. I did not have FEB back then, only nightmare and FEditor and EA.


#5

Yeah I can confirm this, even the v.1.5 build of MS released back in 2015 used classes past 0x81 and no bugs were ever reported.
@Brendor probably knows more


#6

Seems to me like the 4th bit is being incorrectly set, so your characters’ res is going up by exactly 16. The expansion method I used in MS is MS exclusive because it’s tied to the Str/Mag split.


#7

So all we have to do is make a Str/Mag split and incorporate them together. EZ-fix Chop chop, Kirb


#8

thanks for making the topic for this, really want to expand the class list


#9

Kirb sent me this new class expansion. I’m extremely busy right now. Someone wanna test it and see if it works? He changed something with the suspend system.

Possibly @Pikmin1211?

https://puu.sh/AoL0F/cbb5f6bd6c.rar


#10

@Klokinator @Kirb
Unfortunately after going through the trouble to expand the class table, I can say that kirb’s fix just seems to cause all the player units to not reload at all on suspend


#11

I had a general patch that expanded the caps but I never finished it though it’s mostly complete. I suppose if this doesn’t get resolved and there’s a demand for it I can finish it and publish it. Though nows not ideal with the end of the semester. I’ll see.


#12

Edito: Needed an extra fix since I was using skill system. Seems to work okay?


#13

Wait, it works? And what do you mean an extra fix?


#14

It does work, and it means that if you’re using buildfiles, you need to replace savehack and loadhack(savemorebytes.dmp and loadmorebytes.dmp) in the skill system’s Engine Hacks/ASM/Suspend Expansion folder by the one i gave you. If you’re using febuilder, that just mean you need to apply this patch after the skill system


#15

@Pikmin1211 I seem to be having a similar issue to what you were experiencing. I installed the patch from the link @Klokinator provided onto a modded ROM that already had the skill system installed. It seems to work fine at first: I set Seth to be a custom unit 0x83 and his class stays the same after saving and loading. However, after I clear the stage with Ross and Garcia the save file is buggered once I save again. By buggered I mean my unit list is empty. Is this what you were encountering? If so, how did you get around it? Thanks much for the assistance.


#16

Assuming you’re using buildfiles, you’ll have to switch out the save data edit from skill system with the one in kirb’s class expansion fix. If you’re not, I have no idea how you could fix it.