Any sort of FFX Save Editor?

Discussion in 'PS Vita - Hacking & Homebrew' started by Zeroba, Feb 14, 2017.

  1. Zeroba
    OP

    Zeroba Advanced Member

    Newcomer
    89
    55
    Aug 13, 2016
    Canada
    Sorry if this has been asked a million times, search didn't yield great results and I'm just wondering if there's been any success in creating a save editor. :)
    I'm not too savvy with hex-editing and all that checksum stuff. In fact, I know next to nothing heh.
     
  2. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,554
    10,488
    Jul 11, 2009
    United States
    I forgot
  3. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Madridi likes this.
  4. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    This is cool. Haven't tried it but I understand its process. Any chance of adding PS3 support?
     
  5. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Do you mean do the same with PS3 saves so you don't have to mess about with hex copy and pasting?
    There is a tutorial here: http://www.360haven.com/forums/threads/34625-How-to-use-FFXED-save-editor-for-FFX-HD
    but it involves a whole load of copying and pasting of hex code.

    I can certainly look in to streamlining the experience and make it as easy as possible for the end user although i know that PS3 saves involves Brute Force and Re-Signing which are a couple of extra steps you need to take unlike the Vita.

    Let me fire up the PS3 over the weekend and see if i can do something about it.
     
    Last edited by niatrinh, Feb 17, 2017
    Madridi likes this.
  6. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Oh yeah I know how to use it, with all the hexing and copying. Yeah I meant streamlining the process. And yes, brute force data would still have to be used

    So by ps3 support, I meant something like the following:
    1- decrypt save file with brute save data
    2- have your program take that save file, copy correct blocks from hex to PSU
    3- user does changes in fxed
    4- have your program copy the new PSU data back to save file, then fix checksum
    5- re-sign with brute force
     
  7. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Exactly my thought process!
    I'll have a look this weekend and see if I can make the process less painful.
     
    Madridi likes this.
  8. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Cool :)
    Just FYI, I had the method I knew written somewhere on the PC, as I remember the online guides had a mistake with them.

    So I just checked the guide you posted above with mine, and the difference is step 17 and 18. Those are actually wrong.
    What they thought they did in step 16 when they hit play was the program just showing them the value. But actually, it had already fixed it, making step 17 and 18 wrong (and redundant even).
    Further more, if you elect to do them anyway, you WILL get a corrupt save message.

    So basically, the correct step after 16, should just be going back to brute force program and "encrypt PFD".

    It should be nothing that has to do with your program, as after fixing checksum we should be encrypting anyway, but I just thought I would set the record straight (and maybe let you know what's happening in case you try the method in the guide and it fails for you)

    Hope that helps :)
     
  9. Stevo_l33

    Stevo_l33 GBAtemp Regular

    Member
    169
    30
    Jan 4, 2016
    United States
    Just my input but if you own the PS3 and vita versions and also have a game genie (yes game genie haha) for PS3 you can edit your PS3 save and do a cloud save and it will transfer to your vita version. Not too much work involved and save me a ton of time!
     
  10. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Thanks for your research and feedback!

    Was a bit busy over the weekend so I didn't get round to firing up the PS3 to run some tests.
    HOWEVER: I had a hunch that the save file will not differ greatly between PS3 and Vita so I just downloaded a PS3 starter save this morning from some random place, decrypted it with Bruteforce and loaded it in to my tool and.... hey presto, it works! Well, seems to work, all data appears correct.

    So can you do me a favour if you have time? do the same and see if it works for you. Here are the steps:

    1) Copy save folder from PS3 to PC.
    2) Load in to Bruteforce and Decrypt.
    3) Rename SAVES to SAVES.BIN (coz my tool only accept BIN files).
    4) Do the magic with my tool and FFXED.
    5) Rename SAVES.BIN back to SAVES
    6) Encrypt in Bruteforce.
    7) Transfer to PS3 and play.

    So as you can see, the only thing we are doing different here between PS3 and Vita is renaming the save file. Other than that the process is the same and does indeed bypass all the hex stuff.

    Let me know if it works for you!
     
    Madridi likes this.
  11. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Oh I actually did know this info. I just totally forgot about it. I heard it back she henkaku was just released. So yes I expect this to work well. I will try it later tonight :D

    Assuming it works (and no reason it shouldn't) then I guess the I only change to your program would be to change your program to not be limited to bin only.

    Also, would you mind posting a sample FFX vita save file? I'd like to open the ps3 one and vita one in hex and compare :)

    — Posts automatically merged - Please don't double post! —

    Cloud saves only work with psn, and psn only works with latest firmware.
    While ps3 cfw has psn, vita henkaku does not
     
  12. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Madridi likes this.
  13. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Awesome, thanks! I'll test this tonight and report back with my findings :)
     
  14. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    @niatrinh

    I just looked at the app and the save files. Indeed, the file formats are identical :)
    I didn't bother with restoring on PS3, but importing to psu and exporting to bin works great, and I have no reason to believe fixing checksum would fail as well. Good work :D

    If you're looking to enhance the app, I do have a few suggestions:
    - Change the references to bin to a more generic one, now that it covers PS3 as well. Maybe "Save File" or something
    - The message box would need its messages changed as well, like the one it says restore to vita. Maybe you can limit it to SAVES and .bin, and make it detect that if its saves, then load PS3 messages, if bin, then Vita messages.
    - I feel the messages order should be the opposite. Older to newer rather than newer to older.
    - When exporting to bin, maybe rename the old one to SAVES-OLD instead of overwriting it. Same for PSVita. You never know, someone might forget to backup their save file and something wrong happens
    - Implement a user browser to choose a bin and psu to load rather than just the drag. Maybe keep the original settings as default, while the browser as custom

    Also, a few things that I feel may need fixing:
    - The drag box, it doesn't cover the entire box, only a portion of it. When you hover with a file over the box, and like keep hovering on and off, the message will keep repeating
    - This one is important, and a continuation to the last point in the suggestions section. Assume after importing to PSU, a user closes your program, and loads the PSU through FFXED, saves after changes, and now wants to restore. If they run the program again, it will ask for the save file again. Once they load it, it will only ask to import to psu, while exporting to bin would be disabled. Meaning, the program can not be closed at any point.

    Anyway, For what it does, it works great. But I like to make stuff perfect :P

    Thanks again :)
     
  15. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    Thanks very much for your feedback and extensive breakdown of amendments and improvements.

    My original intention was just to make it easier for someone to bypass all the hex stuff when messing about with their game on the Vita, i didn't even consider the PS3 at the time since i hadn't fired it up in a couple of years!

    However, your comments have opened up the possibilities to a wider audience beyond the Vita so I'll get back to the drawing board and do an extensive update of it to open it up in equal parts to the PS3 community as well. On top of that, I think there is a similarity between FFX and FFX-2 saves so will look at that as well and perhaps do an all in one if possible. Will credit you along side the others for your time, effort and input in to the project!

    Finally, i know that there is a Henkaku Save Editing Thread (https://gbatemp.net/threads/henkaku-save-editing-thread.436933) on this very forum and while its useful, its also very convoluted with contributors going ad hoc which makes reading somewhat confusing. To that end, if you (or anyone) can gather hex locations of any games (Vita saves), i am more than happy to build editors to make things a little easier!
     
    Madridi likes this.
  16. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Glad to hear you're looking to expand the project. I had a feeling your original intention to make it work, and it does :)
    I'm not sure if there are similarities between X and X-2, but I wouldn't be surprised, as I think the checksum method is very similar, if not identical (check attachment) .. Too bad there isn't a good save editor (That I know of) for X-2 similar to FFXED.

    In any case, I'd be willing to help with this, so let me know whenever there is something new :)

    As for the henkaku thread, yeah I wouldn't be the best man for that job, as I rarely look into it, and rarely play anything on my vita atm. You could probably post this message there though (as well as your FFX tool). It will gain more attention that way.

    Good luck :)
     

    Attached Files:

  17. niatrinh

    niatrinh Newbie

    Newcomer
    7
    7
    Feb 17, 2017
    There is a good save editor for FFX-2 and again, sickness01 has done a tutorial for it on wololo at http://wololo.net/talk/viewtopic.php?f=65&t=46454

    From what i can, this editor supports Vita BIN files directly so no need to mess about with copy and pasting hex. However, it doesn't look like it supports PS3 saves directly (only Vita and a couple of other formats) but it does support PSU so i guess there should be a tutorial around somewhere to import PS3 saves in to a PSU container and then load in to the tool.

    I've not looked any further in to this. For now, will concentrate on updating my tool with your recommendations.
     
    Madridi likes this.
  18. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Yeah I know about celicius, but I remember some options not working great with it (similar to how you're not supposed to change names with FFXED). It's also not as extensive as far as I know. I haven't really tried it as I have yet to play X-2 HD (only played it back on PS2) .. I should probably get on that.

    I am fairly sure there was a tutorial for PS3 X-2, I'll look into it once as I start the game (assuming you don't beat me to it)

    Good luck with the update :)