Hacking [W.i.P.] Savedata Hexediting DB

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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,

Tony8690

Well-Known Member
Member
Joined
Jan 28, 2015
Messages
179
Trophies
0
Location
Northumberland
XP
358
Country
United Kingdom
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.

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:
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}
}


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
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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

Files differ from game to game.
 

Ecner19

Well-Known Member
Newcomer
Joined
Jul 14, 2016
Messages
52
Trophies
0
XP
1,266
Country
Philippines
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?
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
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?

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.
 

Ecner19

Well-Known Member
Newcomer
Joined
Jul 14, 2016
Messages
52
Trophies
0
XP
1,266
Country
Philippines
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.

I see. So offsets I found using hxd or ce is not going to work?
 

Ecner19

Well-Known Member
Newcomer
Joined
Jul 14, 2016
Messages
52
Trophies
0
XP
1,266
Country
Philippines
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.

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.
 

Ecner19

Well-Known Member
Newcomer
Joined
Jul 14, 2016
Messages
52
Trophies
0
XP
1,266
Country
Philippines
Eiyuu Senki JP ENG Translated Uncensor Patch
PCSG00316
Save Slot 01

cur_chts = {
{["name"]="Max Gold", ["offset"]=0x56F0, ["file"]="PLAY0001.DAT", ["value"]=0x5F5E0FF, ["size"]=4},
{["name"]="MC HP", ["offset"]=0xBF0D, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="MC 99 AT", ["offset"]=0xBF11, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="MC 99 DF", ["offset"]=0xBF12, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="MC 99 SP", ["offset"]=0xBF13, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Himiko HP", ["offset"]=0x9A2D, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Himiko 99 AT", ["offset"]=0x9A31, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Himiko 99 DF", ["offset"]=0x9A32, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Himiko 99 SP", ["offset"]=0x9A33, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Benkei HP", ["offset"]=0xCD45, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Benkei 99 AT", ["offset"]=0xCD49, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Benkei 99 DF", ["offset"]=0xCD4A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Benkei 99 SP", ["offset"]=0xCD4B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Yoshitsune HP", ["offset"]=0xBE6D, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Yoshitsune 99 AT", ["offset"]=0xBE71, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Yoshitsune 99 DF", ["offset"]=0xBE72, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Yoshitsune 99 SP", ["offset"]=0xBE73, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Oda HP", ["offset"]=0xBF5D, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Oda 99 AT", ["offset"]=0xBF61, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Oda 99 DF", ["offset"]=0xBF62, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Oda 99 SP", ["offset"]=0xBF63, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Tadataka HP", ["offset"]=0xBE45, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Tadataka 99 AT", ["offset"]=0xBE49, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Tadataka 99 DF", ["offset"]=0xBE4A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Tadataka 99 SP", ["offset"]=0xBE4B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Seimei HP", ["offset"]=0xB4BD, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Seimei 99 AT", ["offset"]=0xB4C1, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Seimei 99 DF", ["offset"]=0xB4C2, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Seimei 99 SP", ["offset"]=0xB4C3, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lancelot HP", ["offset"]=0xABAD, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Lancelot 99 AT", ["offset"]=0xABB1, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lancelot 99 DF", ["offset"]=0xABB2, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lancelot 99 SP", ["offset"]=0xABB3, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Houshi HP", ["offset"]=0xBEBD, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Houshi 99 AT", ["offset"]=0xBEC1, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Houshi 99 DF", ["offset"]=0xBEC2, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Houshi 99 SP", ["offset"]=0xBEC3, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Ashoka HP", ["offset"]=0x6C15, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Ashoka 99 AT", ["offset"]=0x6C19, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Ashoka 99 DF", ["offset"]=0x6C1A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Ashoka 99 SP", ["offset"]=0x6C1B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Marco Polo HP", ["offset"]=0xA185, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Marco Polo 99 AT", ["offset"]=0xA189, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Marco Polo 99 DF", ["offset"]=0xA18A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Marco Polo 99 SP", ["offset"]=0xA18B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Kublai Kahn HP", ["offset"]=0x9AA5, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Kublai Kahn 99 AT", ["offset"]=0x9AA9, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Kublai Kahn 99 DF", ["offset"]=0x9AAA, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Kublai Kahn 99 SP", ["offset"]=0x9AAB, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lu Bu HP", ["offset"]=0xCD95, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Lu Bu 99 AT", ["offset"]=0xCD99, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lu Bu 99 DF", ["offset"]=0xCD9A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Lu Bu 99 SP", ["offset"]=0xCD9B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Sun Tzu HP", ["offset"]=0xC4AD, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Sun Tzu 99 AT", ["offset"]=0xC4B1, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Sun Tzu 99 DF", ["offset"]=0xC4B2, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Sun Tzu 99 SP", ["offset"]=0xC4B3, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Qin Shi Huang HP", ["offset"]=0xBEE5, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Qin Shi Huang 99 AT", ["offset"]=0xBEE9, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Qin Shi Huang 99 DF", ["offset"]=0xBEEA, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Qin Shi Huang 99 SP", ["offset"]=0xBEEB, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Aristotle HP", ["offset"]=0x7205, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Aristotle 99 AT", ["offset"]=0x7209, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Aristotle 99 DF", ["offset"]=0x720A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Aristotle 99 SP", ["offset"]=0x720B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Alexander HP", ["offset"]=0x7255, ["file"]="PLAY0001.DAT", ["value"]=0x7530, ["size"]=2},
{["name"]="Alexander 99 AT", ["offset"]=0x7259, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Alexander 99 DF", ["offset"]=0x725A, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1},
{["name"]="Alexander 99 SP", ["offset"]=0x725B, ["file"]="PLAY0001.DAT", ["value"]=0x63, ["size"]=1}
}

I'll add the rest after I got all the characters. Edited using HxD.
 
Last edited by Ecner19,
  • Like
Reactions: Rinnegatamante
D

Deleted User

Guest
how to get the game ["file"]=" cuz i dont know what do u mean
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",
 

Slade.AU

Well-Known Member
Member
Joined
May 23, 2006
Messages
259
Trophies
1
Location
Yes
Website
127.0.0.1
XP
544
Country
Australia
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, , Reason: Title ID

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night