ROM Hack RELEASE xv2savdec - Tool to decrypt/encrypt Dragon Ball Xenoverse 2 Switch save files

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States
Step 3 is wrong. That will just get you back to an encrypted switch file. You need to use the original xv2savedec for PC to get the encrypted PC file.

I wanted to have my tool be capable of encrypting/decrypting in the PC format but my C++ isn't good enough.
 

hakaii1337

Member
Newcomer
Joined
Jul 8, 2022
Messages
5
Trophies
0
Age
24
Location
New York
XP
17
Country
United States
Step 3 is wrong. That will just get you back to an encrypted switch file. You need to use the original xv2savedec for PC to get the encrypted PC file.

I wanted to have my tool be capable of encrypting/decrypting in the PC format but my C++ isn't good enough.
Oh I see, so I would need the original xv2savedec. Ty I'll look through the thread

Edit: the PS4/PC/Xbone version of xv2savedec link isn't up anymore..

Edit#2: Found it!

Now how do I undo what I've done in Step 3 ("Modify it slightly so the PC tools think it's a PC file (this is the "PC" version that my tool spits out))?

I got it!!!! Thanks man
 
Last edited by hakaii1337,

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States
Now how do I undo what I've done in Step 3 ("Modify it slightly so the PC tools think it's a PC file (this is the "PC" version that my tool spits out))?

I got it!!!! Thanks man
So were you able to edit and return the edits to the switch format? You just need to go in reverse order for that.
  1. Make edits on the encrypted PC file with the GUI editor and save
  2. Decrypt resulting file with the PC version of xv2savedec
  3. Pass that decrypted file to my version (xv2savedec_switch)
  4. Put the resulting file back on the switch
 

shivp111

New Member
Newbie
Joined
Oct 25, 2022
Messages
2
Trophies
0
Age
25
XP
13
Country
United States
hey guys might sound stupid but don't know how to fix this when I get this error
Encrypted size mismatch.
File size: 913888
Encrypted size: 722944
 

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States
hey guys might sound stupid but don't know how to fix this when I get this error
Encrypted size mismatch.
File size: 913888
Encrypted size: 722944
Where are you in this process?

  1. Get switch save file
  2. Make a backup copy
  3. Decrypt it with switch_xv2savedec
  4. Re-encrypt it with the PC version of xv2savdec
  5. Edit with Lazybone's editor
  6. Save
  7. Re-encrypt with switch_xv2savedec
  8. Put save file back on switch and see if the edits worked. Some will not or will corrupt the switch save.
 

danukingg

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
24
Location
Jogjakarta
XP
26
Country
Indonesia
Where are you in this process?

  1. Get switch save file
  2. Make a backup copy
  3. Decrypt it with switch_xv2savedec
  4. Re-encrypt it with the PC version of xv2savdec
  5. Edit with Lazybone's editor
  6. Save
  7. Re-encrypt with switch_xv2savedec
  8. Put save file back on switch and see if the edits worked. Some will not or will corrupt the switch save.
Hello, I've followed the steps above but I'm a bit stuck at step 4, because when I insert the file pc.sav.dec into xv2savedec it says wrong file or invalid usage
 

danukingg

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
24
Location
Jogjakarta
XP
26
Country
Indonesia
What is the exact message?

That's is the exact massage, my xv2savedec is the one from minemine btw
16737163979189037698174592668503.jpg
 

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States

Attachments

  • xv2_editing_full.png
    xv2_editing_full.png
    722.7 KB · Views: 30
Last edited by l7777,
  • Like
Reactions: danukingg

danukingg

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
24
Location
Jogjakarta
XP
26
Country
Indonesia
Oh isn't that helpful. It's been a while since I touched this. I'll see what I can dig up.
Post automatically merged:

@danukingg
So I just gave this a try with xv2savdec.exe from below and it worked as expected. Try running it from a command line to see if it gives you any extra info. The savefile1.pc.sav is the one that you want to open with the editor.

https://videogamemods.com/xenoverse/mods/eternity-tools/
https://videogamemods.com/xenoverse/mods/xenoverse-2-save-editor/
Thanks brother appreciate it 👍
 

Domoor

Member
Newcomer
Joined
Aug 27, 2022
Messages
13
Trophies
0
Location
USA
XP
82
Country
United Kingdom
Oh isn't that helpful. It's been a while since I touched this. I'll see what I can dig up.
Post automatically merged:

@danukingg
So I just gave this a try with xv2savdec.exe from below and it worked as expected. Try running it from a command line to see if it gives you any extra info. The savefile1.pc.sav is the one that you want to open with the editor.

https://videogamemods.com/xenoverse/mods/eternity-tools/
https://videogamemods.com/xenoverse/mods/xenoverse-2-save-editor/
@l7777 Not sure if you're still active on this thread, but this dosent seem to work for me on the latest version of Xenoverse 2 on Switch. Files wont decrypt/re-encrypt properly. Is it posssible if you could ever update the program please?
 

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States
@l7777 Not sure if you're still active on this thread, but this dosent seem to work for me on the latest version of Xenoverse 2 on Switch. Files wont decrypt/re-encrypt properly. Is it posssible if you could ever update the program please?
Error(s)? Where in post 146 is it failing?
 

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
256
Trophies
0
Location
Earth
XP
683
Country
United States
The problem Im having is that I get my latest save file on the latest version, when run through your version of the decryptor it dosent decrypt my save at all
So step 3? Does it give an error? Run from the command line to make the errors easier to see.
 
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: