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

  • Thread starter ukee
  • Start date
  • Views 101,965
  • Replies 165
  • Likes 10

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
329
Trophies
0
Location
Earth
XP
1,200
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
25
Location
New York
XP
27
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
329
Trophies
0
Location
Earth
XP
1,200
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
26
XP
23
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
329
Trophies
0
Location
Earth
XP
1,200
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
329
Trophies
0
Location
Earth
XP
1,200
Country
United States

Attachments

  • xv2_editing_full.png
    xv2_editing_full.png
    722.7 KB · Views: 106
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
127
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
329
Trophies
0
Location
Earth
XP
1,200
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
329
Trophies
0
Location
Earth
XP
1,200
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.
 

Angra_Shadow

New Member
Newbie
Joined
Apr 23, 2023
Messages
1
Trophies
0
Age
23
XP
13
Country
Jordan
Hello, I am receiving this error and I don't know what to do.

"virtual bool Xv2SavFile::Load(const uint8_t*, size_t) Encrypted size mismatch (got 0x12a2a0)
Failed to load file."
 

JeepX87

Well-Known Member
Member
Joined
Aug 17, 2016
Messages
1,755
Trophies
0
Age
36
XP
3,280
Country
United States
Hello, I was wondering how exactly to edit QQ bangs with a ps4 save file?
Wrong section and this program is for Switch version.

However, as for your question, it isn’t possible unless you jailbroken PS4 because Save Wizard doesn’t allow advanced mode that is necessary to edit the save, but Save Wizard does have fixed option to give all of QQ bangs.
 

XXBrianXX

New Member
Newbie
Joined
Feb 11, 2023
Messages
4
Trophies
0
Age
29
XP
197
Country
United States
So step 3? Does it give an error? Run from the command line to make the errors easier to see.
Hi @l7777 , I tried using the switch_xv2savedec to re-encrypt the save.dec but I received the error message of unkonwn file or invalid usage. I have version 1.20.01. I believe the switch_xv2savedec needs to be updated. Can you please help? Thank you.
 
Last edited by XXBrianXX,

Rngo13

Member
Newcomer
Joined
Feb 11, 2023
Messages
13
Trophies
0
Age
30
XP
102
Country
Brazil
Someone can POST The save file 100% ?
I dont How edit The file and dont have time, but i need this file with 100% history and tecniques
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
    +1
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
    +1
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
    +1
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
    +1
  • Veho @ Veho:
    What's the same thing?
    +1
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
    +1
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    K3Nv2 @ K3Nv2: They'll give him sleep studies eegs and possibly one week hospital stay