Jump to content
UnassumingVenusaur

[FE7] More than 7 Support Partners per Character?

Recommended Posts

Thanks to the ease of FEBuilder (and its wonderful repointing abilities) I've been looking into slightly more complex FE7 hacking than what I've tried before. Right now, I'm experimenting with trying to add more things like support conversations and paired endings. Adding the conversations themselves and new endings is extremely easy with FEBuilder, as is giving units with less than 7 support partners up to 7. What I'm struggling with, though, is trying to push that upper limit for units that already have 7. 

The structure of the support blocks is extremely simple (Character IDs of partners-->base values-->growth rates-->number of supports plus 2 0x00's), so first I just tried to change Eliwood's 'number of supports' byte to 0x08. The results were pretty straightforward.

bernardeli.png.32fbcc44b7cba191d751874416eee55a.png

The game read the 0x48 that indicates Hector and Eliwood's support value as referring to an 8th support with Bernard (character ID 0x48), and it didn't disrupt anything else. 

So next, I tried to add data for an 8th support with Raven in the places they'd logically be corresponding: 5aad102ae4bb3_morethan7supportattemptcropped.png.94d1319608389ca77754fd8734e9909f.png

0x04 for his character ID, 0x09 for his starting value, 0x02 for his growth rate. Unfortunately that did not work in game the way I'd hoped. 

messedup1.png.9768fa5053c4ff675b4d8542c890651e.pngmessedup2.png.7f5eab0347a70c87fbf80d87e5fbbfae.pngmessedup3.png.58fe1d10cecfc4b97830e8b015c18cff.png

Not only did it not read Eliwood as having an 8th support w/ Raven, it also threw off everyone else. After more digging and experimenting, (and if anyone knows I'm wrong here please correct me), I inferred that even if you change the number of supports to something above 0x07, the game still only reads in sets of 0x7 ahead in looking for the data. That is, when looking for the starting value for Hector and Eliwood's support, instead of reading 8 bytes ahead of Hector's character ID to the new location of the 0x48, it instead reads what was supposed to be Raven's character ID of 0x04. And continuing on like that it makes sense why only 3 of Eliwood's supports appear; it reads a 0x03 where it expected the 'number of supports' byte to be. 

I briefly looked at FE6, since I know there's a cap of 10 supports in that game rather than 7, and the support blocks seem to be structured in quite the same way. It would seem that if the game knew to read 0x8 bytes ahead instead of 7, (and possibly 0x1B instead of 0x18 to the next character's support block, not sure how that works), it would work fine. Since the same system seems to be compatible with different numbers of supports, does anyone know if this is a matter of (a) value(s) that I could change somewhere? Namely a 0x07, and/or a 0x18, or something like that? I don't have the knowledge of where that kind of thing would be located, but if anyone knew its location or could point me in the right direction, that'd greatly be appreciated! Or possibly there's a different solution to my problem entirely that I'm not aware of. Thank you!

Share this post


Link to post
Share on other sites

I didnt read through all this, but even then, I know the game only saves 7 supports for units, and stores 7 bytes for support level in the character struct, so expanding them would imply relocating/expanding those data, which would be quite the struggle.

Share this post


Link to post
Share on other sites
20 minutes ago, Kirb1337 said:

I didnt read through all this, but even then, I know the game only saves 7 supports for units, and stores 7 bytes for support level in the character struct, so expanding them would imply relocating/expanding those data, which would be quite the struggle.

Mmm, I see. You're talking about within the save file, right? Is this for reading in the conversation gallery, or actually during the gameplay? If the latter, that would be a struggle... I just feel like it shouldn't be impossible given FE6, though I know the games may be structured differently. Plus, regardless of how it's saved I don't think that should affect the questions I'm trying to answer now--that might be a bit more down the road. 

Share this post


Link to post
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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...