ROM Hack Discussion Is Xenoverse 2 save encryption being worked on by anyone?

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
I wish. Or I'd already have the 21 outfit and raid boss moves by now. At least super soul mods are working with layeredFS and the remote debugger came out. There's a cheat table from the PC version and that can be used as reference for finding the addresses on the Switch version with the universal values. It may even be possible to find a way to make boss skills usable and the unreleased 21 outfit equippable by editing the skills and outfits files and layeredfs. You have to extract the romfs of the entire game plus the updated romfs to get the newest game files and it requires repacking a 600 megabyte file with edited files to work. it's a lot of waiting and uses a lot of space. We'll need to make a XV2patcher for Switch so we can put mods in a /data/ folder instead of repacking the large 600 megabyte file. Also a lot of mods will require getting the Switch version files and porting them from the PC version.
 

Gameboy Color

Well-Known Member
OP
Newcomer
Joined
Dec 27, 2012
Messages
86
Trophies
1
Age
54
XP
361
Country
United States
Uploaded is a save file. If someone can decrypt the .DAT file, out should come a .SAV file.

This would allow us to use this save editor to edit save files.

https://xenoversemods.com/mods/xv2-save-editor-0-74/

All we need is the .SAV file and a way to put it back into a .DAT.
 

Attachments

  • Xenoverse 2 100% storymode + SSB Transformation.zip
    706.5 KB · Views: 418

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
we would need to figure out what actual format the encryption of the save is and if it even has a header.

I did take a look at the switch save and xv2savdec.exe.

PC save filesize is hardcoded into the exe as 0xB08C0 & 0xB0818 byte, switch version is 0xB0800 & 0xB0780
PC save has an extra 32 byte MD5 header, this header is not present in the switch version.

After reversing how the tool works, i could successfully write a decrypter for the switch version.
here tool + source: https://www.dropbox.com/s/j1zznqhkmmbiax0/xv2savdec_switch.zip?dl=0
place "xv2savdec.exe" in the same folder as "savefile1.sav" and run it to create "savefile1.sav.dec"

Note1: I only reversed the decrypt function, not the encrypt
Note2: XV2 Save Editor 0.7.4 does not fully work with the decrypted save, a new editor needs to be made.
Note3: i'm not even playing the game, so don't expect me to finish this, it was just a quick 10 minute work to make this proof of concept tool.
 

Gameboy Color

Well-Known Member
OP
Newcomer
Joined
Dec 27, 2012
Messages
86
Trophies
1
Age
54
XP
361
Country
United States
I did take a look at the switch save and xv2savdec.exe.

PC save filesize is hardcoded into the exe as 0xB08C0 & 0xB0818 byte, switch version is 0xB0800 & 0xB0780
PC save has an extra 32 byte MD5 header, this header is not present in the switch version.

After reversing how the tool works, i could successfully write a decrypter for the switch version.
here tool + source: https://www.dropbox.com/s/j1zznqhkmmbiax0/xv2savdec_switch.zip?dl=0
place "xv2savdec.exe" in the same folder as "savefile1.sav" and run it to create "savefile1.sav.dec"

Note1: I only reversed the decrypt function, not the encrypt
Note2: XV2 Save Editor 0.7.4 does not fully work with the decrypted save, a new editor needs to be made.
Note3: i'm not even playing the game, so don't expect me to finish this, it was just a quick 10 minute work to make this proof of concept tool.
wow it actually works!!!!! u rule dude

now all we need is the file to encrypt back omgggggg. your really appreciated :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu