[Release] Rune Factory 4 Save Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by seikur0, Jul 24, 2015.

  1. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    Rune Factory 4 Save Editor

    Since there doesn't seem to be any save editor for this game up until now I'm making my own one. It also contains my checksum patching method for the saves and therefore the edited saves will be valid automatically.

    updated to v0.0.8: The item editor is now fully functional and also has icons. Also check out the new about screen ;)
    Right now it has the possibility to change these values:
    ->HP mod, RP mod, STR mod, VIT mod, INT mod, Level, XP
    ->Money, Prince Points, Tourists
    ->Lumber, Stone, Compost and Fodder
    ->Character Skills
    ->FP maximization script
    ->Field stats maximization script
    ->Item Editor Ultra: Can edit item, amount, levels, quality and rarity and has icons.
    ->FP and stats for people and animals


    The finished program will additionally contain:
    ->player name, animal names, unicode support
    ->possibly some more stuff


    I will update this thread as I go, you'll find the download link(s) below. Right now it is advised to backup your saves before using the editor, I won't be at fault, if it makes the universe explode due to some early release bugs^^


    Dumping your saves with Gateway
    General instructions
    You'll need the tool SaveDataFiler and a flashcard like Gateway or some custom firmware to use it. The ids for the saves are:
    00040000000D2800 (North American version)
    0004000000065800 (Japanese version)
    0004000000766600 (undubbed version by scrangos, .3ds)
    Use the correct id for the following instructions.

    If you're running the game as .cia, you'll need to export the "00D28" entry in the User tab of SaveDataFiler.
    If you're running the game as .3ds, you'll need to extract the "CTR Card" entry in the same tab.

    Alternative to SD card switching
    Instead of always switching the sd card between pc and 3ds you can access your sd card with the 3ds wireless function.
    I recommend using ftbrony, an ftp client for your 3ds, which you can download as .cia file (Download: http://wiidatabase.de/3ds-downloads/3ds-tools/ftbrony/)

    Your 3ds needs to be connected to the internet, then start the tool. It will give you the ip and port, which you will need to connect via an ftp client. If you need a user name, it's "Anonymous". Windows 7+ users can just type "ftp://ip:Port" into the explorer address bar and it will connect, for example: "ftp://192.168.2.1:5000". Copy and edit your sd files as you like. If you want to close ftbrony and it hangs, that's because it's still connected, just hit the 3ds wlan switch and it will close.

    CTR card -- broken --
    This is due to the implementation of Gateway, but you can fix this:
    1. Make sure you already saved once in this game.
    2. Rename the save in the main folder of your sd card (00040000000D2800.sav for the NA version) to 000400000FF40A00.sav, this is a file created by Gateway.
    3. Now, load the ROM with Gateway and use SaveDataFiler to export the CTR card entry, then reimport it.
    ----> fixed

    Screenshot(s)
    Screenshots

    Download Link
    v0.0.8:
    https://mega.nz/#!p4wA0SDB!mONs_yDs9N0kUjHuNTKK1wRkdFRiFfT5LY9jDj4Tg20

    Changelog
     
    Last edited by seikur0, Aug 7, 2015
    gallymimu, SignZ, Angely and 10 others like this.


  2. DjoeN

    DjoeN Captain Haddock!

    Member
    5,128
    1,477
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    Whoot! time to dig up my Rune Factory game again :)
     
  3. yyjukjun

    yyjukjun Advanced Member

    Newcomer
    75
    11
    Jan 10, 2008
    United States
    Great work!!! I'll have to try this when I get home
     
  4. TheOne61

    TheOne61 Member

    Newcomer
    43
    15
    Nov 29, 2014
    Canada
    This is awesome, thanks for this. Will try it out in a bit, really hate how fast I run out of RP
     
  5. Thesolcity

    Thesolcity Wherever the light shines, it casts a shadow.

    Member
    2,157
    597
    Oct 2, 2010
    United States
    San Miguel
    Went to try the app and forgot I modded in Powersaves previously. Is there support for multiple save slots? Also, the instructions don't work. :rofl:
     
  6. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    It supports multiple save slots, even has quicksave and load hotkeys from v0.0.2 on. And I will do the instructions at the end or something :D :P I mean it's pretty self explanatory, load the file, edit some values and save again.
     
  7. Raidouthe1st

    Raidouthe1st Member

    Newcomer
    31
    12
    Jul 21, 2015
    Malaysia
    Totally noob question but i cant seem to find my Rune Factory 4 save with savedatafiler on gateway, is there a different method to extracting save game that im not aware of?
     
  8. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    I included a small guide in my post. Basically it's the CTR Card entry in the User tab, that you'll need to export for normal card1 roms like RF4. (Fantasy Life is a special case, since it stores the save data directly on the sd card.)
     
    Raidouthe1st likes this.
  9. Raidouthe1st

    Raidouthe1st Member

    Newcomer
    31
    12
    Jul 21, 2015
    Malaysia
    Thanks seikur0, u were right on the spot that my only previous experience using savedatafiler was with Fantasy Life
     
    seikur0 likes this.
  10. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    Yeah, I looked at your posts, haha.
     
  11. TheOne61

    TheOne61 Member

    Newcomer
    43
    15
    Nov 29, 2014
    Canada
    Hmm, so it seems to work for everything except for RP and HP. It only changes the "Current" value, not the "Maximum Value". So like you can set your HP to 4000 but it'll only last for a little bit of time because your HP will be "4000/216" or something. It doesn't change the maximum amount, so it won't stick. With RP it doesn't even change it the value at all if you go over your maximum.

    Anyway to fix this?
     
  12. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    Yeah, these are the current values, I should make that more clear. Hm for the HP value, there is a stat mod value, which I haven't looked for until now. (Heart Drink increases your HP permanently, so this mod value must be there.) I can include that in one of the next updates.

    However for RP there is no item to boost them permanently, thus there probably isn't such a mod value for them. You can increase them by increasing the level of certain skills like for example bathing or sleeping. Increasing your level should be working as well.

    The game is pretty strict with maximum values, like your wood and stone won't go over 50000, even though 2 byte could hold 65535 and even though they're saved in a 4 byte space in the save file, and other stuff is capped at 99 or 999999999 or whatever with some nines. Long live the decimal system^^ I will only allow values up to these maximum values in some of the later versions of the editor.
     
  13. Zidapi

    Zidapi GBAtemp Addict

    Member
    2,975
    1,774
    Dec 1, 2002
    Great work! This has been an oft-requested and much anticipated tool.
     
  14. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    @TheOne61: There actually was a mod value for RP and I also implemented the one for HP, so now you can increase the maximum amount.


    Also @ all: The item editor is now working^^
     
  15. TheOne61

    TheOne61 Member

    Newcomer
    43
    15
    Nov 29, 2014
    Canada
    It worked! That is awesome, thanks so much for this!

    [EDIT]

    Ok, so I didn't notice this until now, but the RP mod is not working. HP mod works great, but the RP mod doesn't. It's still awesome how you got it working for HP though! I guess RP just must not be editable?
     
    Last edited by TheOne61, Jul 29, 2015
  16. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    The RP is definitely working, I tested that and got 65535 RP. Maybe you didn't hit enter after editing the value and before saving? (I should change, that you need to do this^^)
     
  17. Parn

    Parn Newbie

    Newcomer
    2
    0
    Jul 29, 2015
    France
    Hello, I would like to start the game with the sprite swap directly enabled, do you think it could be possible ? (I'm on a EU version of the game, don't know if it works the same way ?)
    Thanks !
     
  18. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    Could be possible, that this is just one flag, but it would also be possible, that this is tied to your story progression and then you couldn't change just this feature. But it's probably easy to just find the offset for the current sprite, I'll look for this.
     
  19. Parn

    Parn Newbie

    Newcomer
    2
    0
    Jul 29, 2015
    France
    Thanks a lot, I hope there is a way to do this !
    I'll stay around :) thanks again
     
  20. seikur0
    OP

    seikur0 Advanced Member

    Newcomer
    73
    26
    Jul 21, 2015
    Gambia, The
    I'll include that in the update later today :)