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

  • Thread starter ukee
  • Start date
  • Views 103,451
  • Replies 165
  • Likes 10

l7777

Well-Known Member
Member
Joined
Apr 13, 2022
Messages
329
Trophies
0
Location
Earth
XP
1,230
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,230
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,230
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
25
Location
Jogjakarta
XP
36
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
25
Location
Jogjakarta
XP
36
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,230
Country
United States

Attachments

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

danukingg

Member
Newcomer
Joined
Aug 27, 2022
Messages
8
Trophies
0
Age
25
Location
Jogjakarta
XP
36
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,230
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,230
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,762
Trophies
0
Age
36
XP
3,307
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
  • Xdqwerty
    what are you looking at?
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's on now
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why are most new south park episodes half hour specials?
    +1
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, let me get a Netflix account I've always been nice to you
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I made a honey pepper glazed turkey breast for dinner turned out pretty bomb
  • K3Nv2 @ K3Nv2:
    We can Netflix and chill
  • Xdqwerty @ Xdqwerty:
    Nvm not half hour, but hour long
  • Xdqwerty @ Xdqwerty:
    Normal south park episodes are already half hour
  • Psionic Roshambo @ Psionic Roshambo:
    Got 2 free Xumo boxes they work pretty good
  • K3Nv2 @ K3Nv2:
    I'm happy to get anything most series don't make it pass 6 seasons
  • Psionic Roshambo @ Psionic Roshambo:
    Except Stars and Encore those are being a bitch lol
  • K3Nv2 @ K3Nv2:
    I may consider that onn pro box finally a media box with type A ;O
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, cuz the companies don't want em to
  • K3Nv2 @ K3Nv2:
    No it's revenue and demand south park could argue has a bigger audience than family guy about the same
    +1
  • K3Nv2 @ K3Nv2:
    Family guy is worth 300mill south parks worth 1Bill according to the interwebs
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, probably cuz family guy is more disliked compared to south park
  • K3Nv2 @ K3Nv2:
    It just does the same formula south park can press buttons without going overboard
  • Xdqwerty @ Xdqwerty:
    And bc most of the family guy budget is spent on the voice actors rather than on the animation
  • K3Nv2 @ K3Nv2:
    Southpark could spend 30k on a animated dick and people would laugh at it
    +2
  • K3Nv2 @ K3Nv2:
    lol one prescription to Lizzo
  • Xdqwerty @ Xdqwerty:
    who is lizzo?
  • Xdqwerty @ Xdqwerty:
    yawn
  • BakerMan @ BakerMan:
    guys, doge is dead
  • BakerMan @ BakerMan:
    let's get some o7s for that legendary dog

    o7
    Xdqwerty @ Xdqwerty: o7