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
242
Trophies
0
Location
Earth
XP
672
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
242
Trophies
0
Location
Earth
XP
672
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
242
Trophies
0
Location
Earth
XP
672
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
23
Location
Jogjakarta
XP
16
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
23
Location
Jogjakarta
XP
16
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
242
Trophies
0
Location
Earth
XP
672
Country
United States

Attachments

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

danukingg

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
23
Location
Jogjakarta
XP
16
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
242
Trophies
0
Location
Earth
XP
672
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
242
Trophies
0
Location
Earth
XP
672
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
  • Skelletonike @ Skelletonike:
    Fried tripas and fries <3
  • K3N1 @ K3N1:
    My power just randomly went out and it's not even raining out lol
  • H @ hecker_isaac:
    morning peeps
  • coolax @ coolax:
    hey guys anyone can help me for LOZ : TOTK ? im trying to install theses 60fps file but I don't understand where i'm suppose to paste them. ? anyone kno ?
  • K3N1 @ K3N1:
    Your mom's spaghetti
  • Psionic Roshambo @ Psionic Roshambo:
    Her armpits sweaty already
  • K3N1 @ K3N1:
    On the surface
  • Psionic Roshambo @ Psionic Roshambo:
    Flies crawling and pizza stained already
  • K3N1 @ K3N1:
    My noodle has vomit on it already
  • Psionic Roshambo @ Psionic Roshambo:
    Monica's dress stained already
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Bill Clinton no!
    +1
  • SylverReZ @ SylverReZ:
    Lmao
    +1
  • Sonic Angel Knight @ Sonic Angel Knight:
    Mama Mia spaghetti :P
    +1
  • DJPlace @ DJPlace:
    don't forget the meatballs
    +1
  • Sonic Angel Knight @ Sonic Angel Knight:
    Mama mia wouldn't forget meatballs in her spaghetti. :P
  • Sonic Angel Knight @ Sonic Angel Knight:
    Speaking of meatballs, what's the deal with meatball sandwich? How can people eat those? It's ROUND. Trying to bite those in a sandwich is a challenge. It's easier to eat a burger stacked with toppings. :ninja:
  • idcwhat3v3r @ idcwhat3v3r:
    here's my cup of care
  • idcwhat3v3r @ idcwhat3v3r:
    oh look, IT'S FUCKING EMPTY.
  • K3N1 @ K3N1:
    Seems familiar
  • Psionic Roshambo @ Psionic Roshambo:
    Spaghetti noodles are straight until you get them hot and wet too lol
  • Sonic Angel Knight @ Sonic Angel Knight:
    Which one are best? The flat noodle, or the not flat ones? :ninja:
  • K3N1 @ K3N1:
    Fat noodles are best
    K3N1 @ K3N1: Fat noodles are best