Jump to content

[FE8U]Removing the class bitpacking to allow for 255 classes


Kirb1337
 Share

Recommended Posts

FEU CrossPost 

the source because I know that's all you came for:

#include "Extensions\Hack Installation.txt"
#define HookLocation 0x01C090 //Debug Bootup, obviously Unused

PUSH
//Removing a bit off mov bonus(suspend only uses 4)

//Saving Routine
ORG 0xA575C
WORD 0xFFFFFE1F
//Loading Routine
ORG 0xA6104
WORD 0xFFFFFE1F

//Using That bit to save and load bit 8 of class class
ORG 0xA535E
SHORT 0x6019 0x2180 0x4001 0x0149 0x8159 0 0
ORG 0xA57B4
BL(HookLocation); SHORT 0 0
ORG HookLocation
SHORT 0x4668 0x8941 0x04C9 0x0FC9 0x01C9 0x7800 0x0640 0x0E40 0x4308 0x4770
POP

Explanations:
Basically, Suspend allocates 4 bits for mov bonus. however, normal save allocates 5 bits for it. so what I did, was I made it so mov bonus for normal save was 4 bits, and used the newly allocated bit to store the top bit of the class index, to allow for 0xFF, aka 255 classes, instead of the old 127 cap.
Proper save expansion is coming soon™ I promise.

XYVF0yo.gif

Pictured here: Eirika with class ID 0x82.

FEBuilder patch: https://cdn.discordapp.com/attachments/235253973588639747/398277696125272078/class_save_fix.rar
how to install: put folder in config\patch\FE8U, and it should autodetect.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...