ROM Hack FEFTwiddler - Fire Emblem Fates Save Editor

  • Thread starter Thread starter Soaprman
  • Start date Start date
  • Views Views 1,206,712
  • Replies Replies 3,744
  • Likes Likes 32
Thanks!



The hair color should be easy to do with a plain text box. Just use a regex to handle the input. You'll need to change the code a little bit, but it shouldn't be too hard?

You can just leave out the weapon hex fields. They don't do anything that the nearby pickers can't do.

The hex editor also uses masked boxes and would be a good bit more work to change up.

I might be willing to try my hand at doing some of this myself in the future, but not right now.
It's the string formatter that's tripping me up.
 
Nice utility.

I wonder, is it possible to edit the inventory of a character (or the convoy) in newer versions?

I saw on some of the screenshots in the first pages and that part of editing the inventory of the character is not usable yet.

Grinded over 50 times the museum melee DLC and I didn't get a Shining Bow.
 
@trainboy2019

If you want to, you can use comma-separated decimal instead of hexadecimal. It'll make the coding easier.

Make a regular text box, setting its max length to 11 if possible. Then, after input, check against this regex:

^(?<r>\d{1,3}),(?<g>\d{1,3}),(?<b>\d{1,3})$

(Double-check that. Language may vary and I'm bad at regular expressions.) (This is the equivalent to the TryParseHex call.)

If it matches, isolate the three values and put them into a byte array, which you write to _character.HairColor. The alpha byte is always 255, so you can ignore it in any text edit stuff. You don't need to add the "0x" to the field or anything; I think rilne just put it there to indicate that it's meant to be hexadecimal.

For filling the field, just do the same thing in reverse. Take the byte array, put commas between R, G, and B, then put into the box.

Let me know if any of this needs further explaining.

@gridatttack

I've kind of forgotten about it, but yeah, inventory editing will be enabled soon (it's not yet). Convoy isn't implemented at all yet but I might do it in the future. In the meantime, see if RainThunder's convoy editor works for you:

https://github.com/RainThunder/Fire-Emblem-Fates-Convoy-Editor
 
Thanks for the save editor work, but I was wondering if resource building options might be possible to add on to this?

Only current option that I know of is adding all resource buildings through a cheat plugin.
 
The gained stat bytes are relative to the sum of the unit's personal base stats and class base stats; that is, it only represents stats gained by leveling up or using stat boosters. Changing class doesn't increase the gained stats. Instead, it changes the class whose base stats are used in the calculations. Hinata's personal base speed is 6, and Swordmaster's base speed is 11. 6 + 11 + the 10 in your hex = 27.

Note that in Revelation, some units start with some of these values set, as their stats have been tweaked. (Scarlet actually starts with FF in strength, which is -1 because it's a signed byte.)

Oh okay, that makes sense. Thanks!
 
Hello, dunno if you guys can help me, but i want to use the editor. I just dont know how. >.<
I use sky3ds+ and i can get the save file in the root of my mSD in sky3ds+ (i have hex edit too), i just dont know how to make the editor read the save file. Someone can help me please? ._.
 
Last edited by ShinyZorua,
0.8.0 is released! https://github.com/Soaprman/FEFTwiddler/releases/tag/0.8.0

Screenshots are updated in the OP. Release notes below.

Yep, it's another release. The Unit Viewer continues to open up...

* Add: Inventory editing is now enabled. Note that there's no restriction on items or the equipped box, so behave!
* Add: "Recruited" and "Einherjar" checkboxes are now enabled. In case you want to zap that shield icon or white background!
* Add: You can now change the difficulty and death penalty on your save. In case you're really regretting lowering the difficulty, but not enough to start a new file over it!
* Add: You can now edit your characters' stats. In case you need to patch up a few bad level ups!
* Add: A one-click megacheat to max everyone's stats. In case you ain't got time for that!
* Add: You can now give the character a shot of dragon blood. In case you... uh... need to dry up a river or something!
* Add: A "New Game Plus" tab that holds nothing. But who knows what presents the future might drop inside...
* Change: The "New Game Plus" megacheat button is... pretty broken. Don't click on it.
* Note: A lot of very important code was changed under the hood. I'm pretty sure everything still works, but let me know if anything that worked before no longer does.
 
Last edited by Soaprman,
0.8.0 is released! https://github.com/Soaprman/FEFTwiddler/releases/tag/0.8.0

Screenshots are updated in the OP. Release notes below.

Yep, it's another release. The Unit Viewer continues to open up...

* Add: Inventory editing is now enabled. Note that there's no restriction on items or the equipped box, so behave!
* Add: "Recruited" and "Einherjar" checkboxes are now enabled. In case you want to zap that shield icon or white background!
* Add: You can now change the difficulty and death penalty on your save. In case you're really regretting lowering the difficulty, but not enough to start a new file over it!
* Add: You can now edit your characters' stats. In case you need to patch up a few bad level ups!
* Add: A one-click megacheat to max everyone's stats. In case you ain't got time for that!
* Add: You can now give the character a shot of dragon blood. In case you... uh... need to dry up a river or something!
* Add: A "New Game Plus" tab that holds nothing. But who knows what presents the future might drop inside...
* Change: The "New Game Plus" megacheat button is... pretty broken. Don't click on it.
* Note: A lot of very important code was changed under the hood. I'm pretty sure everything still works, but let me know if anything that worked before no longer does.
Can't wait to try this when I get home tonight!
 
Not trying to be demanding or anything and not sure if anyone requested this already, but adding a support editor would be kinda convenient.
Other than that, this tool is awesome! Thank you so much for making it!
 
Per-unit support editing is probably way more work than it's worth, so I won't be adding it. One of my collaborators might decide to, though, so I guess that's your best hope. In the meantime, you can chuck some values into the support block in the hex editor and see what happens if you want to.

A megacheat button might be doable in the future, though. I'll look into that sometime.

If your goal is to unlock the entire support log, by the way, I do plan on adding Global save support in the future in order to do just that. No telling when that'll be though!
 
Last edited by Soaprman,
Per-unit support editing is probably way more work than it's worth, so I won't be adding it. One of my collaborators might decide to, though, so I guess that's your best hope. In the meantime, you can chuck some values into the support block in the hex editor and see what happens if you want to.

A megacheat button might be doable in the future, though. I'll look into that sometime.

If your goal is to unlock the entire support log, by the way, I do plan on adding Global save support in the future in order to do just that. No telling when that'll be though!
K, I guess I'll experiment with the hex editor and hope things won't get crazy.
 
0.8.0 is released! https://github.com/Soaprman/FEFTwiddler/releases/tag/0.8.0

Screenshots are updated in the OP. Release notes below.

Yep, it's another release. The Unit Viewer continues to open up...

* Add: Inventory editing is now enabled. Note that there's no restriction on items or the equipped box, so behave!
* Add: "Recruited" and "Einherjar" checkboxes are now enabled. In case you want to zap that shield icon or white background!
* Add: You can now change the difficulty and death penalty on your save. In case you're really regretting lowering the difficulty, but not enough to start a new file over it!
* Add: You can now edit your characters' stats. In case you need to patch up a few bad level ups!
* Add: A one-click megacheat to max everyone's stats. In case you ain't got time for that!
* Add: You can now give the character a shot of dragon blood. In case you... uh... need to dry up a river or something!
* Add: A "New Game Plus" tab that holds nothing. But who knows what presents the future might drop inside...
* Change: The "New Game Plus" megacheat button is... pretty broken. Don't click on it.
* Note: A lot of very important code was changed under the hood. I'm pretty sure everything still works, but let me know if anything that worked before no longer does.


Gotta say, your program is shaping up nicely!

The only thing I noticed is that Shadowgift should be in the DLC class skills section instead of the Enemy skills section.

Also, does anybody know what happens if you have the same unit alive and dead at the end of the game, during the credits? For example, I have a Scarlet I added into my Revelation file.

And can you equip multiple weapons at once? This makes it look like you can. If you do, what are the side effects?
 
I'll make a note about Shadowgift. Thanks!

I haven't tried having two of the same character before, so I can't speak to what happens because of it. Maybe report back if you ever find out!

It's possible to equip multiple weapons in FEFTwiddler because I was too lazy to code it otherwise for the time being. I haven't seen what happens. Best case scenario is probably that the game fixes it so just one weapon is equipped or it just works somehow. Worst case scenario... I guess the 3DS crashing and blood leaking out of it, or something like that.
 
Maybe search this thread or the FireEditor thread for posts containing "sky3ds". Or maybe see if there's a sky3ds thread somewhere. I've never touched one, so I can't help you.
 

Site & Scene News

Popular threads in this forum