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

  • Thread starter ukee
  • Start date
  • Views 100,515
  • Replies 165
  • Likes 10

SabithaSuki

Member
Newcomer
Joined
Dec 15, 2015
Messages
17
Trophies
0
Age
28
Location
Arizona
XP
113
Country
United States
From my experience, it seems quest progression is the real slugger here. Stick to items, stats, and abilites if your going to use the old temporary conversion method.
 
Last edited by SabithaSuki,

stebrick

Well-Known Member
Newcomer
Joined
Mar 6, 2016
Messages
64
Trophies
0
Age
36
XP
128
Country
Hong Kong
Hello,

Is it possible to to edit titles / streetname (former is a badage next to your name which is my main concern) on Switch currently? If so, how to do that?
 

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
Hello,

Is it possible to to edit titles / streetname (former is a badage next to your name which is my main concern) on Switch currently? If so, how to do that?
I have no idea myself as the PC version save editor has no open source code anywhere and we have to find the offsets from scratch using whatever references we can find and all we have to go on for research is existing IDs found from the PC version that match in the decrypted Switch version save file. I have no idea where street names and titles are stored but I'm sure the PC version save editor is able to edit that and therefore it might be possible to find the offsets for the Switch version save file however finding reference for what values sets what title or street name is going to be difficult as I haven't seen an ID list of that yet. You can always try animegamemods for that stuff.
 

Esad765

New Member
Newbie
Joined
Feb 11, 2020
Messages
4
Trophies
0
Age
28
XP
44
Country
Denmark
I actually looked up on a few tutorials and read the whole thread again, i actually got to convert my save into a PC save and modify it with the save editor and then transform it back to switch. The part of Hex editing was hard but not so troublesome(since its very few things to do).
I got everything i wanted this way, just the new mentor super souls arent unlockable with the save editor i believe, since they havent appeared there for me. Problem is i wanted some of those super souls XD.

can you please help me and show me how its done i have no idea on how to start with it?
 

omega7

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
106
Trophies
0
Age
27
XP
565
Country
Australia
Here's my updated save with absolutely everything, unfortunately, if you want to use it you're going to have to buy the tp medal packs. Or use it as a reference point.
 

Attachments

  • Moddedsave.rar
    712 KB · Views: 384

omega7

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
106
Trophies
0
Age
27
XP
565
Country
Australia
Here's an updated guide for future references :
I recommend using LazyBone's save editor on a decrypted PC save and then copy the changes over to the decrypted switch save.

"WW WW 00 00 XX YY ZZ 00"
(WW - ID)
(00 – Nothing-but to be safe I kept it at zeroes)
(XX – Category-put int the correct number or some items like capsules, food, gifts won't work.Equipment are the exceptions)
(YY – Amount-99 items = 63)
(ZZ - Equipped)
(00 - Nothing-but to be safe I kept it at zeroes)



There are "FF FF FF FF FF 00 00 00"s below the existing items.
These should be overwritten with new items.

For upper body there are a total of 307 items, beginning with ID=0 to ID=320 (with newest DLC at the time of writing)

I recommend grabbing LazyBone’s save editor, the ids match (converted to hex ofc) i.e. SSGSS Gogeta’s clothes id is 306, converted to hex it is 0132, which needs to be reversed which becomes 3201

For example:
"32 01 00 00 01 63 00 00"
32 01 - ("32 01" = ID "306"=” SSGSS Gogeta’s clothes”)
03 - (Category "01" "Upperbody"?)
14 - (Amount “63”="99")
00 - (Equipped "0")
Upper Body - 1408
Category: 00
Max id: 320

Lower Body - 2408
Category: 01
Max id: 320

Hands - 3408
Category: 02
Max id: 317

Feet - 4408
Category: 03
Max id: 320

Accessories - 5408
Category: 04
Max id: 151
Super Souls – 6408
Category: 05
Max id: 470

Mixing Items – 7408-which include food, gifts, and demon realm crystals
Category: 06
Max id: 75

Important Items - 8408 - This also includes the new customization keys
Category: 07
Max id: 22
Note I recommend getting one for each item.

Capsules - 9408
Category: 08- has to be 08 or they won't work
Max id: 201
QQ Bangs - A408
Category: 09
Total: As many as you want

The format for QQ Bangs: WW WW WW 00 XX YY ZZ 00
(W - Attribute Levels)
(00 - Nothing)
(XX - Category)
(YY - Amount)
(ZZ - Equipped)
(00 - Nothing)

I am guessing that attribute levels go from "0" to "A".
(0) = (-5)
(1) = (-4)
(2) = (-3)
(3) = (-2)
(4) = (-1)
(5) = (0)
(6) = (+1)
(7) = (+2)
(8) = (+3)
(9) = (+4)
(A) = (+5)

For example, "A0 3A 76 00 09 01 00 00" might be:
A - (Health +5)
0 - (Ki -5)
3 - (Stamina -2)
A - (Basic ATK +5)
7 - (Strike Supers +2)
6 - (Ki Blast Supers +1)
09 - (Category "09")
01 - (Amount "1")

Here's an example of an all +5 qq bang :
upload_2019-1-26_0-29-13-png.156185

It is possible to make multiple instances of all +5 QQ bangs
Write 01 over 00 at the beginning of each skill data slot to unlock each skill

B428 = Super Skills

D428 = Ultimate Skills

F428 = Evasive Skills

13428 = ??

15428 = Awakening Skills

For examples “00 00 01 00 00 00 01 00” is a locked super skill, change the Zeroes to 01 to unlock it i.e. “01 00 01 00 00 00 01 00”.
1E828 = First CaC Character data block
2AEF0 = Second CaC Character data block
375B8 = Third CaC Character data block
43C80 = Fourth CaC Character data block
50348 = Fifth CaC Character data block

Equipped Skill slots (Character Block + slot = offset)

+0x110 = Super Skill 1
+0x10C = Super Skill 2
+0x114 = Super Skill 3
+0x118 = Super Skill 4
+0x120 = Ultimate Skill 1
+0x11C = Ultimate Skill 2
+0x124 = Evasive Skill
+0x12C = Awakening Skill

Attribute points edit :
-Go down 11 bytes from the starting byte of the character block and then 4 right across
-Values should be in reverse hex
e.g. First CaC Character data block is 1E828, therefore the attributes point is located in1E8DC-1E8DD
upload_2020-8-29_21-23-19.png
I should emphasize, you DO NOT have to manually edit the save file, just copy the values from the PC save to the switch. Just be mindful that the offsets on the PC are slightly off by a few Bytes.
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
I should emphasize, you DO NOT have to manually edit the save file, just copy the values from the PC save to the switch. Just be mindful that the offsets on the PC are slightly off by a few Bytes.
That's actually why he's been manually editing them if I remember rightly.

If he can find what the shifted offsets are then that information could be used in making a tool designed for the Switch version.
 

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
That's actually why he's been manually editing them if I remember rightly.

If he can find what the shifted offsets are then that information could be used in making a tool designed for the Switch version.
someone is trying to put together a Switch modding Discord server. I think that's a good idea because we need to start building connections. https://gbatemp.net/threads/dragon-...intendo-switch-modding-discord-server.572857/

also I tried everything I could think of but getting the Supreme Kai of Time completely offline with mods is harder to accomplish than I thought. It might be easier to use save editing but we would need to compare decrypted save files before and after the SKoT is unlocked from someone who has access to online play and is able to dump their save file.

and yes I already have all the new costumes, accessories, super souls, and skills from the 1.15 update without going online. All I did was fill the next 8 slots with the data from the last slot and increment the ID by one between each one and the next for costumes and accessories. Then for skills I looked through the skills for any skill slot that had the value still set to "0" and I changed them all to "1". I still don't know enough about how the super soul slots work in the save file so instead I modded the super souls file in the game data so all 13 of the new super souls would show up in the skills shop for cheap.

Here's an updated guide for future references :
I recommend using LazyBone's save editor on a decrypted PC save and then copy the changes over to the decrypted switch save.

"WW WW 00 00 XX YY ZZ 00"
(WW - ID)
(00 – Nothing-but to be safe I kept it at zeroes)
(XX – Category-put int the correct number or some items like capsules, food, gifts won't work.Equipment are the exceptions)
(YY – Amount-99 items = 63)
(ZZ - Equipped)
(00 - Nothing-but to be safe I kept it at zeroes)



There are "FF FF FF FF FF 00 00 00"s below the existing items.
These should be overwritten with new items.

For upper body there are a total of 307 items, beginning with ID=0 to ID=320 (with newest DLC at the time of writing)

I recommend grabbing LazyBone’s save editor, the ids match (converted to hex ofc) i.e. SSGSS Gogeta’s clothes id is 306, converted to hex it is 0132, which needs to be reversed which becomes 3201

For example:
"32 01 00 00 01 63 00 00"
32 01 - ("32 01" = ID "306"=” SSGSS Gogeta’s clothes”)
03 - (Category "01" "Upperbody"?)
14 - (Amount “63”="99")
00 - (Equipped "0")
Upper Body - 1408
Category: 00
Max id: 320

Lower Body - 2408
Category: 01
Max id: 320

Hands - 3408
Category: 02
Max id: 317

Feet - 4408
Category: 03
Max id: 320

Accessories - 5408
Category: 04
Max id: 151
Super Souls – 6408
Category: 05
Max id: 470

Mixing Items – 7408-which include food, gifts, and demon realm crystals
Category: 06
Max id: 75

Important Items - 8408 - This also includes the new customization keys
Category: 07
Max id: 22
Note I recommend getting one for each item.

Capsules - 9408
Category: 08- has to be 08 or they won't work
Max id: 201
QQ Bangs - A408
Category: 09
Total: As many as you want

The format for QQ Bangs: WW WW WW 00 XX YY ZZ 00
(W - Attribute Levels)
(00 - Nothing)
(XX - Category)
(YY - Amount)
(ZZ - Equipped)
(00 - Nothing)

I am guessing that attribute levels go from "0" to "A".
(0) = (-5)
(1) = (-4)
(2) = (-3)
(3) = (-2)
(4) = (-1)
(5) = (0)
(6) = (+1)
(7) = (+2)
(8) = (+3)
(9) = (+4)
(A) = (+5)

For example, "A0 3A 76 00 09 01 00 00" might be:
A - (Health +5)
0 - (Ki -5)
3 - (Stamina -2)
A - (Basic ATK +5)
7 - (Strike Supers +2)
6 - (Ki Blast Supers +1)
09 - (Category "09")
01 - (Amount "1")

Here's an example of an all +5 qq bang :
upload_2019-1-26_0-29-13-png.156185

It is possible to make multiple instances of all +5 QQ bangs
Write 01 over 00 at the beginning of each skill data slot to unlock each skill

B428 = Super Skills

D428 = Ultimate Skills

F428 = Evasive Skills

13428 = ??

15428 = Awakening Skills

For examples “00 00 01 00 00 00 01 00” is a locked super skill, change the Zeroes to 01 to unlock it i.e. “01 00 01 00 00 00 01 00”.
1E828 = First CaC Character data block
2AEF0 = Second CaC Character data block
375B8 = Third CaC Character data block
43C80 = Fourth CaC Character data block
50348 = Fifth CaC Character data block

Equipped Skill slots (Character Block + slot = offset)

+0x110 = Super Skill 1
+0x10C = Super Skill 2
+0x114 = Super Skill 3
+0x118 = Super Skill 4
+0x120 = Ultimate Skill 1
+0x11C = Ultimate Skill 2
+0x124 = Evasive Skill
+0x12C = Awakening Skill

Attribute points edit :
-Go down 11 bytes from the starting byte of the character block and then 4 right across
-Values should be in reverse hex
e.g. First CaC Character data block is 1E828, therefore the attributes point is located in1E8DC-1E8DD
View attachment 223093
I should emphasize, you DO NOT have to manually edit the save file, just copy the values from the PC save to the switch. Just be mindful that the offsets on the PC are slightly off by a few Bytes.
This is an even better list than mine and explains things even better. We should keep this up. I was only able to find the character data blocks because the names for CaCs are stored in plaintext when viewed in a hex editor after the save is decrypted. It's a shame Werewolv hasn't been keeping EdiZon up to date because it crashes on the latest update so save editing with special configs directly on the console doesn't work anymore. Now if someone develops a save editor it's going to have to be coded in e.g. visual basic or Java or python on the PC instead of being coded with scripts for EdiZon (accounting for the save decryption algorithm which EdiZon can support because Werewolv included the means to support save encryption before EdiZon stopped working on later firmware updates).

So for save editing progress - without using the latest header of the PC version save file and swapping out the latest version of the header of the Switch version save file so the save file can temporarily be used improperly in the lazybones PC version save editor with only some offsets matching and a lot of data i the save file getting messed up (I am surprised this doesn't cause game crashes) - I'd say quite a lot of offsets have been identified and finding the character data blocks is good. I'd say if we want to edit more of the save file without header swapping and so the things that actually have different offsets can be edited I think the focus on reversing the save file for data for now should be on the character data blocks as a lot is stored in them. The preset slots, the mentor skills and super soul slots, quest progress for each character, the XV1 hero, some of the character unlocks (not SkoT apparently as that's a universal unlock for the entire save file), and the "street name" are all stored in the character data blocks. Also for reference, LazyBones and any other developer that worked on the PC version save editor never added a direct character unlock tab because the assumption is that characters are unlocked by quest progress and shenron wishes which can be done using the save editor anyway. The SKoT unlock however is a special case. You have to be able to go online to do the tournament twice before getting her. And that's not necessarily possible for everyone since not everyone uses Online Service for various reasons. So what does this mean? Well, there is so far no research on editing the character unlocks in the save file directly for the PC version since most of them come from quest progress completion anyway. Therefore there is practically no information to reference for character unlocks on the Switch version as well so finding a universal character unlock for the entire save file without having save files that already have her unlocked is difficult.
 
Last edited by supermariorick,

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
This got all the recent stuff like supreme kai of time?
I wish. Been trying to figure out a way to do that. The good news and also the bad news is that SKoT unlock is universal for the save file and likely not stored in the character data blocks. Why it's bad news is that finding the character data blocks wasn't hard so even though it would just be one data block stored somewhere in the save file, finding a point of reference to work from would be difficult without a save file that has her unlocked.

Here's my updated save with absolutely everything, unfortunately, if you want to use it you're going to have to buy the tp medal packs. Or use it as a reference point.
Oh yeah I didn't even bother to ask this but do you have the SKoT unlocked in this? I've been trying to find a save file that has her so I can provide a way save edit her in without going online. edit: nvm I checked just now and you don't even have a high level character in here lmao
 
Last edited by supermariorick,

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
There a way to just give myself the gifts for all the characters?
yes check everything above
it's with the mixing items in the save file

open savefile1.dec.sav with HxD and hit Ctrl + G and then type 7408 and hit enter and then look through the data block and go to through until you reach FF FF FF FF FF 00 00 00 which is an empty block then copy over each next empty block with e.g. 36 00 00 00 06 63 00 00 and increment the ID e.g. 36 to 49 in hex like

37 00 00 00 06 63 00 00
38 00 00 00 06 63 00 00
39 00 00 00 06 63 00 00
3A 00 00 00 06 63 00 00

in each empty block making sure to overwrite and not make the filesize change until it's incremented to

49 00 00 00 06 63 00 00

this should give you 99 (63 in hex) of all mixing items and 99 of all gifts



WE FINALLY HAVE A SOLUTION FOR UNLOCKING THE SKOT OFFLINE FOLKS and it's thanks to @W0NDERwaffle3 for helping out with a save file that has her
and they have been rewarded by having their save file modified instead of having to do it theirselves

I have updated the research compilation file with the method and it's attached below
 

Attachments

  • XV2SwitchSaveResearch.txt
    151.2 KB · Views: 237
Last edited by supermariorick,

W0NDERwaffle3

Well-Known Member
Newcomer
Joined
Aug 12, 2020
Messages
50
Trophies
0
Age
22
Location
Somewhere
Website
Youtube.com
XP
272
Country
United States
WE FINALLY HAVE A SOLUTION FOR UNLOCKING THE SKOT OFFLINE FOLKS and it's thanks to @W0NDERwaffle3 for helping out with a save file that has her
and they have been rewarded by having their save file modified instead of having to do it theirselves

I have updated the research compilation file with the method and it's attached below

i hope everyone that wanted to play as her now gets to thanks to the new discovery by @supermariorick . I hope you all enjoy playing as her.
 
  • Like
Reactions: Light_Strategist

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
yes check everything above
it's with the mixing items in the save file

open savefile1.dec.sav with HxD and hit Ctrl + G and then type 7408 and hit enter and then look through the data block and go to through until you reach FF FF FF FF FF 00 00 00 which is an empty block then copy over each next empty block with e.g. 36 00 00 00 06 63 00 00 and increment the ID e.g. 36 to 49 in hex like

37 00 00 00 06 63 00 00
38 00 00 00 06 63 00 00
39 00 00 00 06 63 00 00
3A 00 00 00 06 63 00 00

in each empty block making sure to overwrite and not make the filesize change until it's incremented to

49 00 00 00 06 63 00 00

this should give you 99 (63 in hex) of all mixing items and 99 of all gifts



WE FINALLY HAVE A SOLUTION FOR UNLOCKING THE SKOT OFFLINE FOLKS and it's thanks to @W0NDERwaffle3 for helping out with a save file that has her
and they have been rewarded by having their save file modified instead of having to do it theirselves

I have updated the research compilation file with the method and it's attached below
Great job dude! I'm glad you've managed to find the info you needed. I don't know if you need the info or not but the Custimzation Unlock Keys for the customization of the 10 characters are considered Key Items.


i hope everyone that wanted to play as her now gets to thanks to the new discovery by @supermariorick . I hope you all enjoy playing as her.
I already had her but thanks for providing your save for the benefit of the whole community. I'd have done it myself but circumstances at the minute have prevented me from doing so.


EDIT: I don't know what good this knowledge may do but someone on the PC side of things gave themselves the Customization Unlock Keys and said that they don't work without having participated in the raid. I still can't extract my save or anything of the sort right now but I do have all of those keys legitimately should they be needed when I can do that all again. If of course it's needed.
 
Last edited by Light_Strategist,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: yawn