[RELEASE] Bravely Default Village Save Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Oswarlan, Feb 9, 2015.

  1. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    Heyo. Since there aren't any save editors for this game, I thought I'd make at least what I can for it.
    With a bit of help from Oishikatta (Thread Here, just leeching the information in the thread) and some tedious testing, I threw together a small program to edit the village.

    REQUIREMENTS:
    Ability to extract and insert your save (savedatafiler for example)
    CIA/3DS version of the game (See here for how to use 3DS/Z) or some way to re-import the save to a retail cart
    What region does it support?

    USA/EUR/JP
    A thanks to liomajor for info on the JP/EUR versions of the game.

    What can it edit?
    1. Village Building Level
    2. Village Population
    What can it "maybe" edit, if someone gets around to it?
    1. Time left on building construction
    What can it NOT edit?
    1. Anything else in the game that isn't in the village. ;)
    "What about Nemesis(s?) or insert thing I want to edit here!"

    If you can figure out how the save format works for that, feel free to fill me in, or throw together some code yourself.

    ALWAYS MAKE A BACKUP OF YOUR SAVE JUST IN CASE!

    Steps to use:
    1. Extract save to PC
    2. Open COLONY#.sav with the program (# can be 0, 1, or 2. Program won't let you open other files)
    3. Change values in text boxes / dropdown menus
    4. Save, send through savedatafiler, then play game
    Note: Editing the game outside the values this program allows will almost certainly crash/freeze your game, so while you CAN edit the source code to allow you, you really shouldn't.
    Source is available : Here (It isn't anything amazing, but hey, it works)
    Download is available : Here
     


  2. Stang

    Stang GBAtemp Regular

    Member
    289
    53
    Dec 17, 2008
    United States
    That is awesome, thank you for sharing!
     
  3. Zerousen

    Zerousen 【=◈︿◈=】

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

    Our Patreon
    1,959
    328
    Jun 30, 2009
    United States
    Great job, been waiting for something like this.
     
  4. PandaMayFire

    PandaMayFire GBAtemp Regular

    Member
    287
    86
    Jan 24, 2015
    United States
    Very nice, I knew it was only a matter of time before someone made something like this, props
     
  5. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    PG (Money) GAME0.sav (decrypted) Offset BEEB
     
    BerserkLeon, Celice and cearp like this.
  6. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    Yup, that was also mentioned in Oishikattas thread as well, but as this is a 'Village Editor' rather than a total save editor, I opted to not put that in, at least not yet.
     
  7. Satix

    Satix Member

    Newcomer
    18
    6
    Jan 28, 2015
    United States
    Would you be open to web browser injection (like the Pokemon community is using, it's open source) for this type of thing later on? Nice work!
     
  8. Celice

    Celice GBAtemp Advanced Maniac

    Member
    1,916
    354
    Jan 1, 2008
    United States
    Is there any region incompatibility, or are all region saves supported?
     
  9. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    As far i've tested without this tool, it works for JP and EUR Version - same offsets :)
     
    Celice likes this.
  10. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    I'm not in the know on how that works. If its not too difficult to set up, and is actually possible for this, I'd be all for it.

    Thanks for testing, I don't have access to a JP/EUR version to check. Though I am curious if it works with the non-"for the sequel" version of the JP rom. I'll add that to the OP.
     
  11. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    I've interchanged savegames from EUR/JP before you released your tool to add villagers.
     
  12. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    Ah, well if they can interchange with no issue, then it achieves the same thing. The info is still good. :)
     
  13. tyons

    tyons GBAtemp Advanced Fan

    Member
    642
    97
    Jul 11, 2012
    Italy
    awww I hoped so hard for nemeses editing... oh well. thanks anyway.
     
  14. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    I'll probably spend some time later this week to see if the nemesis(s?,es?) can be edited via this method, or if they are like the rest of the main save, and use some crazy wizardry to encode the save data. (The reason I didn't just hold off and make a full save editor)
     
  15. tyons

    tyons GBAtemp Advanced Fan

    Member
    642
    97
    Jul 11, 2012
    Italy
    yaaay it would be so cool.
    after that, I'll have to look around how to extract saves from retail carts and putting them back in without corrupting them >_>
     
  16. Zerousen

    Zerousen 【=◈︿◈=】

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

    Our Patreon
    1,959
    328
    Jun 30, 2009
    United States
    My game crashes if I accidentally click on the sword thingy just a ways above the river, not sure what it's even for, although maybe I'm not far enough into the game for it to even supposed to be there.
     
  17. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    Interesting. I wonder if there is an unlock flag in the save as well that would fix that, or if that is stored in main save.
    Also, the various sword are the different buildings the village can have.
     
  18. Zerousen

    Zerousen 【=◈︿◈=】

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

    Our Patreon
    1,959
    328
    Jun 30, 2009
    United States
    I'll keep playing through for a while and see if the issue still persists. I haven't tried fighting any nemesis or anything yet, but I've unlocked all of the areas without the editor, and the crashing still happens. I'm going to guess that the issue comes from me giving everything a level prior to even unlocking the new areas, although I don't know that for sure. I guess I'll test that out later as well.
     
  19. Celice

    Celice GBAtemp Advanced Maniac

    Member
    1,916
    354
    Jan 1, 2008
    United States
    Oshikatta mentions playing around with JP amounts--does anyone know if you give JP to a locked class, can you use it?

    I'd love to have an all-class unlock feature from this save editor at some point. I'd love to experiment with all the classes earlier on than waiting for them to unlock normally.
     
  20. Oswarlan
    OP

    Oswarlan GBAtemp Regular

    Member
    148
    35
    May 28, 2013
    United States
    No clue on that first part. The main save uses a whole bunch of weird stuff to store things, money editing is probably the easiest thing in it. The village save was a ton easier to figure out and edit.

    I'd be more than happy to add that feature, and more, to the editor, but figuring out the save is a nightmare.