RELEASE Tales of Vesperia Save Editor

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by turtle-insect, Jan 14, 2019.

  1. turtle-insect
    OP

    turtle-insect Member

    Newcomer
    5
    Aug 17, 2017
    Japan
    Last edited by turtle-insect, Jan 20, 2019
  2. zestiva

    zestiva GBAtemp Regular

    Member
    4
    Nov 15, 2018
    China
    can you add decompress save function?
     
  3. GenShoku

    GenShoku Newbie

    Newcomer
    1
    Jan 11, 2019
    Taiwan
    Really nice!
    Looking forward to edit status & items.
     
  4. ukee

    ukee GBAtemp Regular

    Member
    3
    Nov 23, 2015
    Malaysia
    Oh dang I was just about to look into the save file compression but it's already available.

    The save editor can automatically compress/decompress the save file.
    If you want to know how it works, look here: https://github.com/turtle-insect/TOVR/blob/master/TOVR/SaveData.cs
     
  5. zestiva

    zestiva GBAtemp Regular

    Member
    4
    Nov 15, 2018
    China
    I need decompressed save export/import function for convert ps3/pc save
     
  6. turtle-insect
    OP

    turtle-insect Member

    Newcomer
    5
    Aug 17, 2017
    Japan
    updated.
    add raw export/import.
     
  7. ukee

    ukee GBAtemp Regular

    Member
    3
    Nov 23, 2015
    Malaysia
    Just to add note to the raw export/import:
    If you want to use your Switch's save file in the PC version, you will need the compressed save file's header data in order to make it work.
     
    Khalyus likes this.
  8. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
    Nice program but not my things. Dont liked this game. Anyway, good job.
     
    CallmeBerto likes this.
  9. Khalyus

    Khalyus Advanced Member

    Newcomer
    2
    Nov 6, 2018
    Brazil
    Can u explain what that means for a total noob?
     
  10. ukee

    ukee GBAtemp Regular

    Member
    3
    Nov 23, 2015
    Malaysia
    I'll try my best to explain this:
    1. Once you've raw exported your save file using the tool above, edit it with HxD (a hex editor, download it if you don't have it yet). Should look something like this.
    2. Now open the original save file with HxD. Should look something like this.
    3. Select the block of bytes from 0x0 - 0x227, right before the TLZC magic word. It should look something like this.
    4. Go back to the decompressed save file tab and right click at the beginning of the file and click on 'Paste write' like this. A confirmation prompt will come up, just click OK.
    5. There should be red colored numbers that you pasted earlier like this. Then just click on Save or press CTRL + S.
    6. Now you should be able to use your Switch's save file for the PC version. Just make sure you know where the save data is located in the PC version (should be easy enough to locate them if you're on Steam). Rename the save file accordingly too.

    I can't guarantee if it'll work for everyone but it did work for me. I'm also unsure if it works both ways.
     
    Last edited by ukee, Jan 14, 2019
    MikeHawke and Khalyus like this.
  11. turtle-insect
    OP

    turtle-insect Member

    Newcomer
    5
    Aug 17, 2017
    Japan
    Is it possible to get saved data of platforms other than Switch?
    I want to analyze it and reflect it on Tool.
     
  12. ukee

    ukee GBAtemp Regular

    Member
    3
    Nov 23, 2015
    Malaysia
    Khalyus likes this.
  13. Khalyus

    Khalyus Advanced Member

    Newcomer
    2
    Nov 6, 2018
    Brazil
  14. chefmario

    chefmario Member

    Newcomer
    2
    Nov 7, 2018
    United States
    Nice work on this editor. Looks similar to the world of final fantasy. Thanks.
     
  15. Khalyus

    Khalyus Advanced Member

    Newcomer
    2
    Nov 6, 2018
    Brazil
    Here is a Pc save at the first save game location. it has All of Yuri Titles Unlocked if u wanna look at that.
     

    Attached Files:

    RetroNostalgia likes this.
  16. BigMoney_D

    BigMoney_D Member

    Newcomer
    1
    Jun 12, 2016
    Canada
    This is awesome. Thanks so much!
     
  17. Nick95

    Nick95 Newbie

    Newcomer
    1
    Nov 17, 2018
    Argentina
    Hi. with the program it only modifies my money. It does not modify the stat. any solution?
     
  18. unknowndatax

    unknowndatax Member

    Newcomer
    4
    Jan 23, 2016
    United States
    Was going to make an editor myself, but now I don't have to. Thanks!!!

    A couple of things I noticed is that the editor puts the incorrect compressed data size (offset 8). The game puts in the size of the compressed data plus the LZMA properties size (5) plus all the segment sizes. The other thing is that when the data is compressed again using 7-zip sdk, it adds a few more bytes when compressing. I haven't experienced a crash when I was testing, but I haven't played much of the game.
     
    Khalyus likes this.
  19. gm5tyu

    gm5tyu Newbie

    Newcomer
    1
    Jan 15, 2019
    United States
    i tried converting switch save to pc using ukee's method, but it crashes upon load. any ideas?

    before loading, it displays the correct characters and destination
     
  20. Khalyus

    Khalyus Advanced Member

    Newcomer
    2
    Nov 6, 2018
    Brazil
    The converted saves tend to crash the game whenever u chance battle style míd battle, like in the tutorial fight.
     
Loading...