Web based Fire Emblem Awakening save editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by lea, Jun 6, 2017.

?

what should I prioritize

  1. editable level

    19.0%
  2. editable exp

    17.2%
  3. hair color

    29.3%
  4. editable skills (active)

    27.6%
  5. editable skills (learned)

    41.4%
  6. editable stats

    37.9%
  7. editable classes

    48.3%
  8. asset/flaw

    19.0%
  9. ui (how it looks and feels)

    27.6%
  10. deletion of characters (this will take a while)

    6.9%
  11. duplication of characters (this will take a while)

    13.8%
  12. In browser sav decompression (this will take a while)

    22.4%
  13. Support Editing (this will take a while)

    20.7%
Multiple votes are allowed.
  1. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    UPDATE: this is on hold for now as i have school. I will still work on this when I have time but it will not be updated nearly as often

    RELEASE 10: I added hair color and parent editing. There is now recognition of fallen units however the duplicate, delete and import functions don't really work if you have them. By this I mean that on 2 cartridges (eu and us) loading the same exact save one worked the other crashed I have no clue why this happens however it implies some difference on how death is handled in different regions. Tell me if it works but I wouldn't hold my breath. On a better note I now have an inigo who's mother is olivia and who's father is also olivia.

    https://alexmgriffin.github.io/fire-editor2/

    past releases
    Warning: Spoilers inside!

    link: https://alexmgriffin.github.io/fire-editor2/
    github: https://github.com/alexMGriffin/fireedtior2

    If you know any amount of js don't look at the code it is a mess wrapped in a garbage fire.

    EDIT0: I am going to sleep now.

    EDIT1: The editor can only load chapter files not map files (chapter files are the main saves, map files are the mid battle saves.)
     
    Last edited by lea, Aug 6, 2017


  2. trainboy2019

    trainboy2019 GBAtemp Advanced Fan

    Member
    GBAtemp Patron
    trainboy2019 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    798
    218
    Oct 6, 2015
    Antarctica
    Ylisse
    Nice! Will it auto decompress, or does it still require FEAST?
     
  3. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    Right now It will require feast but that is always something I can add later. I will also add it to the poll in case that is valued above some other smaller things.
     
  4. Mrperson0

    Mrperson0 GBAtemp Regular

    Member
    192
    81
    Jun 30, 2015
    United States
    Learned skills should be prioritized over active imo, since with most legit ones, you could just make them active when you load the game.

    I can see why people would want skills such as enemy only ones to be active only though.
     
  5. AxelKatsuragi

    AxelKatsuragi Member

    Newcomer
    35
    15
    Apr 14, 2017
    Mexico
    For me a priority would be hair color, but it woould be nice if we could see the code for other character's hair color too, not just Robin's/MU. With this I mean something like what FEFTwiddler does.
     
  6. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    In decompressed saves a character's hair color is stored even if not a mu or child however changing these to my knowledge does not to do anything. However I have not tested this very extensively so it may change something like a child's hair color.
     
    AxelKatsuragi likes this.
  7. trainboy2019

    trainboy2019 GBAtemp Advanced Fan

    Member
    GBAtemp Patron
    trainboy2019 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    798
    218
    Oct 6, 2015
    Antarctica
    Ylisse
    It wouldn't unless it was a kid. Regular units have their hair in the portraits. The Avatar and kids have separate hair files.
     
  8. AxelKatsuragi

    AxelKatsuragi Member

    Newcomer
    35
    15
    Apr 14, 2017
    Mexico
    I still would like to see the hair color of the parents to give it to their children, I need a red haired Severa that has the same shade of red as Cordelia, I might even give it to M!Robin to make it more natural.
     
  9. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    It is weird but trust me it does. That or there is a random 3 bytes of data in every character that so happened to line up with virion and libra's hair color (once again I have tested this very little)
     
  10. trainboy2019

    trainboy2019 GBAtemp Advanced Fan

    Member
    GBAtemp Patron
    trainboy2019 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    798
    218
    Oct 6, 2015
    Antarctica
    Ylisse
    They have to have that so that the character blocks are consistent. They did the same thing with fates. Hence why feftwiddler has the hair color option for everyone, but it only edits the avatar and kids.
     
  11. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Hi there.

    I'll just put my grain of sand about this. I was working on the web app for editing Fire Emblem: Awakening saves. It was last year I worked on this, and it includes the translation from C# (from SciresM's FEAST code) to Javascript for decompressing the Chapter files directly in the web. I couldn't translate the compression code because of life happening... And, well, I wasn't that good in Javascript.

    Sadly, life happened and I wasn't able to work on it anymore, so, I have decided to upload the source code to GitHub: https://github.com/Olmectron/FireEditorWeb


    You may take whatever you'd like from there. It's a Polymer based web app that loads some of the Units data (several things, from Stats values to hair colors and names are parsed from the hex already!) and shows them in a list. You may even fork it if you like it, I won't be able to work on it anyway. (If you decide to fork, it, follow the steps in https://www.polymer-project.org/2.0/start/install-2-0 for setting up Node, Polymer CLI and Bower, then just clone de project and run "bower install" in the project directory where index.html is, so that it downloads the bower dependencies.)

    The decompression code is in the scripts/app.js file, and it's pure Javascript, no need for third party libraries nor anything like that, so if you don't like the Polymer layout, you can still use the code for decompressing on the fly.

    Also, sorry, but it's not well documented at all. If you have any question regarding the code, you can ask me, and I'll response as soon as possible.

    Here's a working example of what the app does right now (only opens a compressed file and show you the units): https://olmectron.firebaseapp.com/
    As usual, just click on the "folder" icon button in the upper-right corner, then select a compressed (directly from the save manager, no FEAST) Chapter file and that's it.

    While it doesn't show more than the name from the unit and his/her portrait, it actually parses and sets a lot of data from the hex blocks from each character. I hope it helps you in some way, at least.

    Again, I won't work on this anymore, and I just wanted to share in case some hex parsing or the Huffman decompression could help you. I'm really looking forward to your release!
     
    Last edited by Olmectron, Jun 7, 2017
    Ricken, FlappyFalco and lea like this.
  12. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Hi again.

    I also just released the Java version source code: https://github.com/Olmectron/FireEditor

    It's easy to translate from Java to Javascript, should you need any of the existing parsing functions.

    I hope it helps.
     
    lea likes this.
  13. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,032
    5,080
    May 27, 2016
    United States
    New York
    The return of AR Hax? Now featuring NEW 3ds support? :creep:
     
  14. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    @Olmectron I have rewritten this message 7 times and it always comes out like garbage so instead I will just say thank you so much for your help.
     
    FlappyFalco and Olmectron like this.
  15. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States

    EDIT 0: If any of you have save files that you would be willing to share that would be great. if you could provide how much dlc you have and the country of origin that would be even better!
     
  16. trainboy2019

    trainboy2019 GBAtemp Advanced Fan

    Member
    GBAtemp Patron
    trainboy2019 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    798
    218
    Oct 6, 2015
    Antarctica
    Ylisse
    Usa, here's all my save files, both hacked and not. I think it has all the dlc.
     
    lea likes this.
  17. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    I thought I had lost my original FireEditor code (the one which needed FEAST, but had skill editing and more features already), but I just found it!

    So, this is the old and first release of the editor:

    https://github.com/Olmectron/FireEditorOld

    And this one is the most recent, which already decompressed and compressed on its own:

    https://github.com/Olmectron/FireEditor

    Unforunately, my first editor's code was a mess (yes, even more than the most recent release), so that's the reason I restarted from zero insted of continuing work on the same source code. I tried to be cleaner with my code in the second release, which doesn't need FEAST at all, but it's still ugly coding. Sorry for that.

    I hope it helps, even if a little bit only.


    I'll be sure to use your editor once you release it!
     
    Last edited by Olmectron, Jun 8, 2017
    lea likes this.
  18. lea
    OP

    lea Advanced Member

    Newcomer
    80
    28
    Jan 19, 2017
    United States
    Thanks

    oh you think your code is a mess you will have an aneurysm once you see the garbage fire I am working on
     
    Olmectron likes this.
  19. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    I'm sure it will be cleaner than mine. :)
     
  20. cercity

    cercity Advanced Member

    Newcomer
    68
    10
    Jan 16, 2016
    I have a PAL save file here with DLC (except the conversation DLCs).