[W.i.P.] Savedata Hexediting DB

Discussion in 'PS Vita - Hacking & Homebrew' started by Rinnegatamante, Sep 22, 2016.

  1. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Hello there,
    i'm working on a rinCheat extension which will allow you to easily apply savedata hexedits directly from PSVITA with a GUI similar to the Cheats List seen in rinCheat for realtime cheats.

    I'm currently working on the database and since on the Savedata hexedit thread no one seems to care about answering requests, i decided to open this thread.

    Link of the current database: https://github.com/Rinnegatamante/rinCheat/tree/master/SE_cheats_db

    Post here your working save offsets in form of cheat with this syntax and please also say what titleid it refers if you want that your cheats will appear in the official db when the homebrew will be released:

    Code:
    
    needs_crc32 = true
    
    cur_chts = {
       {["name"]="x99 Ammo", ["offset"]=0x65A1, ["file"]="main1.dat", ["value"]=0x63, ["size"]=1},
       {["name"]="x99 Lives", ["offset"]=0x65B1, ["file"]="main1.dat", ["value"]=0x63, ["size"]=1}
    }
    
     
    Last edited by Rinnegatamante, Sep 26, 2016


  2. Tony8690

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London

    Hi Rinnegatamante,

    i am relatively new to searching for offsets in save game files.

    From looking at your Code section, I'm not sure i have seen a "main1.dat" file anywhere?

    Is that referring to the save000.dat file? or am i not properly understanding the process?

    Thanks,
    T
     
  3. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Files differ from game to game.
     
  4. Ecner19

    Ecner19 Member

    Newcomer
    24
    2
    Jul 14, 2016
    By working offsets, you mean both hex edited using hxd or cheat engine and rincheat offsets? Can I put working hex edited cheats using hxd or ce but not working when I edited the rincheat db?
     
  5. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    rinCheat doesn't work with svedatas but with realtime cheats.

    Savedata cheats != Runtime cheats
    What this homebrew does (and what you all still confuse here on gbatemp) != What rinCheat does with its cheats list.
     
  6. Ecner19

    Ecner19 Member

    Newcomer
    24
    2
    Jul 14, 2016
    I see. So offsets I found using hxd or ce is not going to work?
     
  7. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Everything that works with save files will work with this homebrew.
    Everything that works with save files WON'T work on rinCheat db since you're trying to modify MEMORY offsets, not SAVEDATA offsets.
     
  8. Ecner19

    Ecner19 Member

    Newcomer
    24
    2
    Jul 14, 2016
    I'm really really sorry about this since you even took the time to explain but I'm still a little bit confused. I think you need to give the answer to my dumb head straight if hxd or ce edited cheats will work on your new homebrew or I won't get it. I'm really sorry and thanks for your hardwork.
     
  9. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    If you're editing a save file, then it will work.
     
  10. Tony8690

    Tony8690 GBAtemp Regular

    Member
    173
    40
    Jan 28, 2015
    London
    So any Offsets i find using CE or HxD when i edit my Save file will work using the home-brew?

    if thats the case then i will get searching and will let you know what i find!

    T
     
  11. Ecner19

    Ecner19 Member

    Newcomer
    24
    2
    Jul 14, 2016
    Eiyuu Senki JP ENG Translated Uncensor Patch
    PCSG00316
    Save Slot 01

    Warning: Spoilers inside!

    I'll add the rest after I got all the characters. Edited using HxD.
     
    Last edited by Ecner19, Sep 22, 2016
    Rinnegatamante likes this.
  12. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    Yes
     
    Tony8690 likes this.
  13. asho721

    asho721 Newbie

    Newcomer
    4
    0
    Sep 5, 2014
    how to get the game ["file"]=" cuz i dont know what do u mean
     
  14. Sasori

    Sasori GBAtemp Maniac

    Member
    1,380
    802
    Jan 28, 2015
    United States
    That's the name of the save you decrypted an exported with rin cheat.

    For example Tales of Hearts R's save file is "TOH_DATA0000.bin" so you enter

    ["file"]="TOH_DATA0000.bin",
     
  15. asho721

    asho721 Newbie

    Newcomer
    4
    0
    Sep 5, 2014
    oh thanks
     
  16. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    yasuki8118 likes this.
  17. TALESIOFIFREAK

    TALESIOFIFREAK Member

    Newcomer
    14
    0
    Sep 10, 2016
    Gambia, The
    how i can use it?
     
  18. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    It's not released: W.i.P. = Work in Progress.
     
    yasuki8118 likes this.
  19. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,270
    Nov 24, 2014
    Italy
    Bologna
    barelynotlegal, Sasori and Lord M like this.
  20. Slade.AU

    Slade.AU GBAtemp Regular

    Member
    228
    85
    May 23, 2006
    Here ya go:

    -- Ridge Racer (EUR) - PCSB00048
    -- Credits: Slade

    cur_chts = {
    {["name"]="500,000 Credits", ["offset"]=0x8B, ["file"]="system0000.bin", ["value"]=0x7A120, ["size"]=4},
    {["name"]="500,000 Credits", ["offset"]=0x8F, ["file"]="system0000.bin", ["value"]=0x7A120, ["size"]=4},
    }

    Ok, I've fixed it slightly. I have a feeling the first value is not required, and may well be the overall credits earned, where as the second value is the actual current credits.

    I've removed the other offsets I had, they were distorting the sound for some odd reason. I wonder if they were audio levels or something... No idea.


    If someone wants to play with this, feel free. It does work, I now have 500,000 credits.
     
    Last edited by Slade.AU, Sep 25, 2016 - Reason: Title ID