FEFTwiddler - Fire Emblem Fates Save Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Soaprman, Apr 9, 2016.

Apr 9, 2016
  1. Soaprman
    OP

    Member Soaprman GBAtemp Regular

    Joined:
    Apr 9, 2016
    Messages:
    153
    Location:
    Georgia, USA
    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.
     

    Attached Files:

    Last edited by Soaprman, Nov 6, 2016


  2. MsMidnight

    Member MsMidnight part time fe modder

    Joined:
    Oct 12, 2015
    Messages:
    1,741
    Location:
    kys
    Country:
    Japan
    Cool! Will this he available on other platforms/os ?
     
  3. Soaprman
    OP

    Member Soaprman GBAtemp Regular

    Joined:
    Apr 9, 2016
    Messages:
    153
    Location:
    Georgia, USA
    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.
     
  4. Omegablu

    Member Omegablu We shall not yield to the Kingdom of Nohr!

    Joined:
    Mar 10, 2016
    Messages:
    966
    Location:
    Ice Tribe Village
    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, Apr 9, 2016
  5. Soaprman
    OP

    Member Soaprman GBAtemp Regular

    Joined:
    Apr 9, 2016
    Messages:
    153
    Location:
    Georgia, USA
    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!
     
  6. JordenNixNix

    Member JordenNixNix GBAtemp Regular

    Joined:
    Feb 11, 2012
    Messages:
    171
    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
     
  7. Omegablu

    Member Omegablu We shall not yield to the Kingdom of Nohr!

    Joined:
    Mar 10, 2016
    Messages:
    966
    Location:
    Ice Tribe Village
    Country:
    United States
    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.
     
  8. MsMidnight

    Member MsMidnight part time fe modder

    Joined:
    Oct 12, 2015
    Messages:
    1,741
    Location:
    kys
    Country:
    Japan
    Any idea how to edit characters ? ex: Leo --> Kana or something similar ?
     
  9. Soaprman
    OP

    Member Soaprman GBAtemp Regular

    Joined:
    Apr 9, 2016
    Messages:
    153
    Location:
    Georgia, USA
    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.
     
  10. Omegablu

    Member Omegablu We shall not yield to the Kingdom of Nohr!

    Joined:
    Mar 10, 2016
    Messages:
    966
    Location:
    Ice Tribe Village
    Country:
    United States
    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.
    Edit: Derp, the photo didn't attach. Should be there now. 13q_Nh_Ai.png
     
    Last edited by Omegablu, Apr 9, 2016
  11. ShaneMichael

    Newcomer ShaneMichael Advanced Member

    Joined:
    Oct 26, 2015
    Messages:
    82
    Location:
    under your bed.
    Country:
    United States
    Do I get banned for maxing out battle and visit points?
     
  12. Sahale

    Newcomer Sahale Member

    Joined:
    Feb 13, 2016
    Messages:
    19
    Country:
    United States
    Is this available for download yet
     
  13. Omegablu

    Member Omegablu We shall not yield to the Kingdom of Nohr!

    Joined:
    Mar 10, 2016
    Messages:
    966
    Location:
    Ice Tribe Village
    Country:
    United States
    There are downloads on the github page.
     
  14. runetoonxx2

    Member runetoonxx2 GBATemp's Cancer

    Joined:
    Jan 15, 2014
    Messages:
    1,333
    Location:
    The GBATemp
    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
     
  15. Omegablu

    Member Omegablu We shall not yield to the Kingdom of Nohr!

    Joined:
    Mar 10, 2016
    Messages:
    966
    Location:
    Ice Tribe Village
    Country:
    United States
    "Releases" on the github page. Not visible on mobile, so you will have to enable desktop view if using a mobile browser.
     
  16. runetoonxx2

    Member runetoonxx2 GBATemp's Cancer

    Joined:
    Jan 15, 2014
    Messages:
    1,333
    Location:
    The GBATemp
    Country:
    United States
    Dang I wants that danger mode on this wanna just edit the sht outta things
     
  17. EmotiveFall

    Newcomer EmotiveFall Member

    Joined:
    Oct 28, 2015
    Messages:
    18
    Country:
    United States
    This is my first time using FEST so I'm not sure how to open it
     
  18. Soaprman
    OP

    Member Soaprman GBAtemp Regular

    Joined:
    Apr 9, 2016
    Messages:
    153
    Location:
    Georgia, USA
    Country:
    United States
    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.

    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, Apr 10, 2016
  19. cokacommando

    Member cokacommando GBAtemp Regular

    Joined:
    Jan 4, 2015
    Messages:
    261
    Location:
    Yorktown, New York
    Country:
    United States
    I'm getting an "unable to read beyond the end of the stream" error. It was just working a few hours ago though...any fixes???
     
  20. Shirako

    Member Shirako GBAtemp Regular

    Joined:
    Aug 24, 2015
    Messages:
    121
    Country:
    United States
    I can shadowbanned depending on what i edit right
     

Share This Page