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
0
XP
792
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
83
Trophies
0
Age
53
XP
339
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: 377

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,615
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
83
Trophies
0
Age
53
XP
339
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 :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: