ROM Hack FEFTwiddler - Fire Emblem Fates Save Editor

Soaprman

Well-Known Member
OP
Member
Joined
Apr 9, 2016
Messages
166
Trophies
0
Location
Georgia, USA
XP
727
Country
United States
I made a thing that edits saves. This only works on Fire Emblem Fates.

Currently, I am not actively working on FEFTwiddler. I may return to it someday if I decide to play Fates again. In the meantime, it's open source, so you guys are welcome to fork it and make unofficial releases if you want to. Obviously, I can't support anything anyone else adds in their own builds!

Although I'm not working on this, I am willing to answer questions about the code for anyone who wants to work on the program. Shoot me a PM if you have such questions, as I'll almost certainly miss them if they're buried in the thread.

NOTE: This only works on "Chapter" and "Global" saves for now. It shouldn't matter whether you're saved on the battle prep screen or in your castle.

System requirements: .NET Framework 4.5.2 or higher
Github + readme: https://github.com/Soaprman/FEFTwiddler
Download link: https://github.com/Soaprman/FEFTwiddler/releases/latest

I've attached some screenshots that should show what it can do right now.

As for the future... my focus is always on whatever is the most fun to work on first and useful stuff second. But there's overlap between the two sometimes, so I guess keep an eye out.

If you find any bugs, please upload your save file and as much error information as you can when reporting them. If you don't, then it'll be real hard for anyone to help you.

FAQ

How do I get the save from my 3DS to my PC?
You need to set up your 3DS with Homebrew. At the time of writing, this is available on the latest 3DS firmware (11.0.0-33). Go here for more information: https://smealum.github.io/3ds/

Does this work with any other Fire Emblem games?
No, FEFTwiddler only works with Fire Emblem Fates (all versions and regions). For Fire Emblem Awakening, check out Olmectron's FireEditor here: https://gbatemp.net/threads/release-fire-editor-fire-emblem-awakenings-save-editor.397493/

Are any other features being added?
No, for the time being. I'll post an update if I ever resume work on this, but don't hold your breath!

Will using this get me banned online?
Maybe. I can't say too much here because I don't actually bother much with the online in this game. As long as nothing illegal (NPC characters, enemy skills, etc.) is in the team you display online, you should be good. But I can't guarantee anything. You'd be better off consulting your fellow cheaters. :)

Does this work with DeathChaos25 (or anyone else)'s custom DLC characters?
Yes, maybe with a little work on your part. With version 0.17.0, I added the ability to use "addon data" XML files with the program that tell it how to work with custom characters and classes. Grab the "AddonData" zip file and extract it to the same directory as FEFTwiddler if you want that stuff included!

There is also a version by @KunoichiZ forked from 0.16.0 that may have what you're looking for here if you want to download it. Use this if you experience issues with newer versions. https://github.com/KunoichiZ/FEFTwiddler/releases

My game won't load after applying my edited save! What now?
Restore a backup save. Whenever you save changes to a file, FEFTwiddler saves a backup of the original unedited save to the same folder the original save was in. Restore that save (after renaming it), and you should be good to go. If you deleted it for some reason, then consider that a lesson learned!

Does this support Windows XP?
No, FEFTwiddler does not run on Windows XP because the version of the .NET framework I used (4.5.2) cannot be installed on XP. You should really look into upgrading; Windows XP is no longer supported by Microsoft, and support for it by anyone else is dwindling.

How about a version for Mac or Linux?
FEFTwiddler has dependencies on the .NET Framework, which is Windows-only as far as I know. If you want to run FEFTwiddler on another OS, look into using WINE to run it.

Where can I get some .fe14unit files to import?
You're in luck! @Kikolasi3D is starting a collection of .fe14unit files in a thread here: https://gbatemp.net/threads/fe-fates-fe14unit-recopilation-thread.480336/ Give it a gander, and contribute your own units if you're feeling up to it!
 

Attachments

  • chapter data.jpg
    chapter data.jpg
    48.9 KB · Views: 17,146
  • megacheats.jpg
    megacheats.jpg
    78.8 KB · Views: 17,611
  • unit viewer.jpg
    unit viewer.jpg
    93.8 KB · Views: 17,570
  • convoy.jpg
    convoy.jpg
    66.9 KB · Views: 14,188
  • AddonData-0.0.1.zip
    3.4 KB · Views: 3,107
  • FEFTwiddler-0.18.1.zip
    662.9 KB · Views: 3,136
Last edited by Soaprman,

Soaprman

Well-Known Member
OP
Member
Joined
Apr 9, 2016
Messages
166
Trophies
0
Location
Georgia, USA
XP
727
Country
United States
I don't have anything other than Windows 10 on hand, but I think there are ways to run .NET stuff (like a thing called "Mono") on other operating systems? I'll leave the answer up to someone who knows more about that sort of thing than I do.
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
Wow. Nice job. Just as I learned how to hex edit save files. I might still just hex edit though. Also, does this need decryption with FEST? I know the Fates convoy editor in the FireEditor thread doesn't.
Edit: NVM about the decryption bit, just read the github. Also, I think that some .3dsx save managers have been updated to deal with the 9.6 encryption. Feel free to correct me on that though, as I'm not sure.
 
Last edited by Omegablu,

Soaprman

Well-Known Member
OP
Member
Joined
Apr 9, 2016
Messages
166
Trophies
0
Location
Georgia, USA
XP
727
Country
United States
Nope! It did at first but it doesn't anymore. The compression/decompression code is basically the same code FEST uses so it should work the same, I hope? Let me know if it ever doesn't!
 

JordenNixNix

Well-Known Member
Member
Joined
Feb 11, 2012
Messages
233
Trophies
0
XP
275
Country
Belgium
There should be a per character option as well in the mega cheat tab.

And a request ;) :
-An item/weapon editor
-a shield icon remover
-a hair color changer
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
Nope! It did at first but it doesn't anymore. The compression/decompression code is basically the same code FEST uses so it should work the same, I hope? Let me know if it ever doesn't!
Cool! I tried using convoy editor after decompressing (before I knew any better) and it crashed my game every time after loading. Nice to know before hand this time.
 

MsMidnight

part time fe modder
Member
Joined
Oct 12, 2015
Messages
1,753
Trophies
0
Location
kys
Website
camilla.hostfree.pw
XP
1,437
Country
Wow. Nice job. Just as I learned how to hex edit save files. I might still just hex edit though. Also, does this need decryption with FEST? I know the Fates convoy editor in the FireEditor thread doesn't.
Edit: NVM about the decryption bit, just read the github. Also, I think that some .3dsx save managers have been updated to deal with the 9.6 encryption. Feel free to correct me on that though, as I'm not sure.
Any idea how to edit characters ? ex: Leo --> Kana or something similar ?
 

Soaprman

Well-Known Member
OP
Member
Joined
Apr 9, 2016
Messages
166
Trophies
0
Location
Georgia, USA
XP
727
Country
United States
I'll be making more fields editable (such as items, the shield icon, hair color, character ID, etc.) as time goes on. Right now I don't know what side-effects editing many things will have, so I've held off on enabling editing things for the time being.

I'm considering adding a "danger mode" though that just removes all restrictions and lets you make whatever edits you want, side effects be damned.
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
Any idea how to edit characters ? ex: Leo --> Kana or something similar ?
I know how to hex edit them. I have no idea how to add it to the program if that is what you are after. Also, converting Leo into Kana would be a waste as you could convert a logbook Kana into a normal Kana. I wrote a guide here on that.
Well, here goes my attempt at help. Dump your save, decrypt with FEST, and open in your favorite hex editor (HxD works). See picture attached to this post for the rest. I took this from the thread about getting the amiibos characters, so image credit goes to them. The bytes in black are the character ID and class ID in that order for the character. Use the search function to search for the appropriate values for the character you are editing (00 will always be between the id's.) The character in the picture is Ike. See the four FF's in row F60? The offset will be different, but it should look similar. Make all the numbers starting after the FF FF FF FF zero until you get to the FF FF (partway into row F70 in the picture). Do not change the FF's, just the numbers in between. This will work for any logbook unit, including Bond Units and Guests. Encrypt your save and inject. Always keep backups, as deleting the wrong values can crash. If you follow my instructions, no crashes should occur.
Edit: Derp, the photo didn't attach. Should be there now.
13q_Nh_Ai.png
 
Last edited by Omegablu,

runetoonxx2

GBATemp's Cancer
Member
Joined
Jan 15, 2014
Messages
1,502
Trophies
0
Age
24
Location
The GBATemp
XP
763
Country
United States
How do I get to this download page and I would love to get some characters like arête and Lilith on my team hopefully get feral dragon class kana or something
 

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,015
Country
United States
How do I get to this download page and I would love to get some characters like arête and Lilith on my team hopefully get feral dragon class kana or something
"Releases" on the github page. Not visible on mobile, so you will have to enable desktop view if using a mobile browser.
 

Soaprman

Well-Known Member
OP
Member
Joined
Apr 9, 2016
Messages
166
Trophies
0
Location
Georgia, USA
XP
727
Country
United States
Do I get banned for maxing out battle and visit points?

Not that I know of. If you edit your BP and VP, it'll stay where you edited it to until you use "Update Data" ingame. Then your values get reset back to whatever's stored online.

The BP and VP fields are disabled right now because there's a variable-size block in the save data right before the VP/BP bytes and I haven't figured out how to determine the size yet. Once it's actually writing to the right spot on every save I throw at it, I'll make the fields editable.

This is my first time using FEST so I'm not sure how to open it

FEFTwiddler supports compressed saves as well, though you certainly can use FEST if you want to. To use FEST, just drag a save onto the executable and it'll make a decompressed version in the same folder (with "_dec" on the filename).
 
Last edited by Soaprman,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: Did you try wearing them?