ROM Hack How to mod dragon ball xenoverse 2 switch

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
I've finally done it. Apparently all I was missing was the proper value for the shop flags so the custom super soul I made with a special version of the super soul editor shows up in the shop.

Make sure you have around 2 gigabytes of free space on your SD card. Extract data2.cpk using NXDumpTool (make sure you dump all your console keys with Lockpick-RCM payload first so you can properly access the updated romfs data).
go to romfs options -> set options to make sure it's reading the romfs with the update for Xenoverse 2
browse romfs -> dump data2.cpk
copy data2.cpk to your computer
get the latest CPK browser from XenoverseMods.com
open data2.cpk in CPK browser and dump whatever specific files you want to mod based on whatever modding tools you're going to use from the PC version (not everything is guaranteed to work since a lot of the Switch version files are slightly different than the PC version files and have different offsets)
For example, I have a special version of the Super Soul editing tool that was recoded to work with the Switch version (and it's not updated to match the PC version however using the latest Effectsdata.xml from the PC version works just fine). I made a custom super soul with that and made sure I had the newest "show up in item shop" values set so it would actually show up in the game.
Then I simply opened the data2.cpk in CPK browser again and set the files to replace with the modified ones I made
Then I hit "save CPK file" and CPK browser repacks the same exact CPK file but with the modified game files replacing their original game file counterparts. This may take awhile depending on your computer, but if you have a computer from this decade it should barely take like 5 minutes.
Then you just place the modified data2.cpk in /atmosphere/content/010078D000F8800/romfs/ and then start the game and it should load the mods no problem.
I have only ever tested super soul mods I made myself with this. However, depending on the game file differences between the Switch version and the PC version, this method can probably get other mods working. I haven't tested premade mods with this due to that uncertainty as well. I don't know what has to be ported and what doesn't and what will crash the game or glitch when you load it or what doesn't. Just expect trial and error until enough people actually care about modding the Switch version to make porting mods from the PC version possible.

So hypothetically you could get custom skills working on the same principles as this, right?

Also great job on the breakthrough! It's cool to see things progressing, no matter the speed!
 

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
The big update with playable Supreme Kai of Time Chronoa and CaCs getting UI Goku's skills (not the transformation unfortunately) is coming on Wednesday so these mods will have to be updated. Luckily with the modified tool I have I will just need the updated effect data xml and I can just compare changes in the PC version of the tool to make sure everything still works. Also it shouldn't be hard to still save edit using the save decryption and re-encryption tool and a hex editor. Every time there are new unlockable skills, it's just another spot in the unlock skills block that has to have all unlock skill flags set from 0 to 1 to unlock it and then I'll just have to get the new IDs in the save file for the new clothes and accessories that are going to come out (base nuBroly outfit, Supreme Kai of Time outfit. etc) and then overwrite more blank spots with them and set an amount for each of them. Save editing is probably the easiest thing to do across updates since all they do is add more slots but the offsets are still in the same spot. I accidentally broke my old laptop with the information I kept on it and replaced the laptop with a new one, but I should be able to still figure out where the offsets are again and unlock things when it comes out.
 
  • Like
Reactions: Light_Strategist

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
The big update with playable Supreme Kai of Time Chronoa and CaCs getting UI Goku's skills (not the transformation unfortunately) is coming on Wednesday so these mods will have to be updated. Luckily with the modified tool I have I will just need the updated effect data xml and I can just compare changes in the PC version of the tool to make sure everything still works. Also it shouldn't be hard to still save edit using the save decryption and re-encryption tool and a hex editor. Every time there are new unlockable skills, it's just another spot in the unlock skills block that has to have all unlock skill flags set from 0 to 1 to unlock it and then I'll just have to get the new IDs in the save file for the new clothes and accessories that are going to come out (base nuBroly outfit, Supreme Kai of Time outfit. etc) and then overwrite more blank spots with them and set an amount for each of them. Save editing is probably the easiest thing to do across updates since all they do is add more slots but the offsets are still in the same spot. I accidentally broke my old laptop with the information I kept on it and replaced the laptop with a new one, but I should be able to still figure out where the offsets are again and unlock things when it comes out.

Awesome. I'm certainly looking forward to seeing how far things can go now that you've got a lead on things. It's a shame about your old laptop though.
 

Khalyus

Well-Known Member
Member
Joined
Nov 6, 2018
Messages
464
Trophies
0
Age
35
XP
1,509
Country
Brazil
The big update with playable Supreme Kai of Time Chronoa and CaCs getting UI Goku's skills (not the transformation unfortunately) is coming on Wednesday so these mods will have to be updated. Luckily with the modified tool I have I will just need the updated effect data xml and I can just compare changes in the PC version of the tool to make sure everything still works. Also it shouldn't be hard to still save edit using the save decryption and re-encryption tool and a hex editor. Every time there are new unlockable skills, it's just another spot in the unlock skills block that has to have all unlock skill flags set from 0 to 1 to unlock it and then I'll just have to get the new IDs in the save file for the new clothes and accessories that are going to come out (base nuBroly outfit, Supreme Kai of Time outfit. etc) and then overwrite more blank spots with them and set an amount for each of them. Save editing is probably the easiest thing to do across updates since all they do is add more slots but the offsets are still in the same spot. I accidentally broke my old laptop with the information I kept on it and replaced the laptop with a new one, but I should be able to still figure out where the offsets are again and unlock things when it comes out.
From what i Saw around we are getting Ui transform, where did u see It was Goku skills?
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
From what i Saw around we are getting Ui transform, where did u see It was Goku skills?
The trailer shows the skills but has no mention of there being a transformation and the avatar they show everything off with is just using his base form with no kind of Aura to suggest any different.

See for yourself if you want.

 
Last edited by Light_Strategist,

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
The big update with playable Supreme Kai of Time Chronoa and CaCs getting UI Goku's skills (not the transformation unfortunately) is coming on Wednesday so these mods will have to be updated. Luckily with the modified tool I have I will just need the updated effect data xml and I can just compare changes in the PC version of the tool to make sure everything still works. Also it shouldn't be hard to still save edit using the save decryption and re-encryption tool and a hex editor. Every time there are new unlockable skills, it's just another spot in the unlock skills block that has to have all unlock skill flags set from 0 to 1 to unlock it and then I'll just have to get the new IDs in the save file for the new clothes and accessories that are going to come out (base nuBroly outfit, Supreme Kai of Time outfit. etc) and then overwrite more blank spots with them and set an amount for each of them. Save editing is probably the easiest thing to do across updates since all they do is add more slots but the offsets are still in the same spot. I accidentally broke my old laptop with the information I kept on it and replaced the laptop with a new one, but I should be able to still figure out where the offsets are again and unlock things when it comes out.

Wait a sec... when you said you were missing the Switch's IDs did you mean a file that had them written in that you'd compiled in one of the other conversations?

Because if that's the case, I actually have a copy of it. Unless I've brainfarted and it's the IDs for the PC version in relation to the save conversion for the Switch.
 
Last edited by Light_Strategist,

Khalyus

Well-Known Member
Member
Joined
Nov 6, 2018
Messages
464
Trophies
0
Age
35
XP
1,509
Country
Brazil
The trailer shows the skills but has no mention of there being a transformation and the avatar they show everything off with is just using his base form with no kind of Aura to suggest any different.

See for yourself if you want.


Its not from the trailer, people got the skills from leaks and scans, the guy that posted then is like a good source for these things, we will know for sure on wendsday.
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
Its not from the trailer, people got the skills from leaks and scans, the guy that posted then is like a good source for these things, we will know for sure on wendsday.
Even in the scans, he's still in base form. The trailer would've shown off the Awoken skill to hype everyone up for it. It genuinely makes no sense to not show it.
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
maybe the skill is like buu, u get ui goku moves and not a power up like super sayan.
I had considered that. But the problem is the lack of any defining Aura which changes with literally EVERY Awoken Skill. And you KNOW that people would riot if they didn't get the Aura to go with the form.
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
I have a very good point Kind Sir..Let me keep my fork near me for the release.
Don't get me wrong. I've my personal hopes for it to drop. I just see it as far less likely now. I suppose we just now have to wait for the time to pass and see what the situation is though, right?

In either case, I hope to be wrong but I don't see it as likely. Also hoping my question regarding the IDs doesn't get missed by supermariorick because I'm unsure on if it's what he needs.
 
  • Like
Reactions: Khalyus

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
There a way to use this mod on switch? I would love to be able to do that. Or if there’s anything similar that I works please let me know https://xenoversemods.com/mods/random-tournament-fight-against-playable-characters/
As of right now we're still in the early stages of everything. Hold onto the mod and sooner or later I'm sure we'll work out how to do it but for now we're just looking at some of the more basic stuff like Souls, Skills and the like.

I'm sure that we'll be waiting until after the Supreme Kai of Time update before continuing though so for now I'd find something else to do.
 

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
As of right now we're still in the early stages of everything. Hold onto the mod and sooner or later I'm sure we'll work out how to do it but for now we're just looking at some of the more basic stuff like Souls, Skills and the like.

I'm sure that we'll be waiting until after the Supreme Kai of Time update before continuing though so for now I'd find something else to do.
Oh okay that’s fine, I’ve always wanted a mode that lets you fight random cpu and didn’t know where to look. Thanks for the response
 

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
Oh okay that’s fine, I’ve always wanted a mode that lets you fight random cpu and didn’t know where to look. Thanks for the response

Realistically, if we can get things like the Xenoverse Revamped mod to load (which for now is most likely way off) then this mod you're hoping for shouldn't be a problem.
 

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
Wait a sec... when you said you were missing the Switch's IDs did you mean a file that had them written in that you'd compiled in one of the other conversations?

Because if that's the case, I actually have a copy of it. Unless I've brainfarted and it's the IDs for the PC version in relation to the save conversion for the Switch.
no I mean the new IDs for the new accessories and new clothes that will come out with the update. Pay attention.

Also so far only a few mods are working. Don't expect every mod from the PC version to work due to the shifted offsets for files in the Switch version as compared to the PC version. Some people have been able to get a few mods to work from the PC version but that's likely only because they had offsets that weren't that different from the Switch version. There's not exactly a dedicated Switch version modding team and the PC modding team is actively trying to prevent console version modding because they are real anal about it and online play which is hilarious because most people that would even mod the game on the Switch version can't go online due to how Switch modding works. Basically, expect to either do trial and error testing to see which mods you can get working or for the mods that don't work on the Switch version you'd have to get extensive knowledge of how the mods work and how the differences in the Switch and PC version offsets so you can get them working. Don't just ask every time "oh will x mod work". Try it yourself first and if it doesn't work, then keep a list of what works and what doesn't work so we can form a log on what we'd need someone who is actually dedicated and has the free time to make the mod again using Switch version files instead accounting for how the mod works and how to get it to work with the different offsets. As I said, there is no dedicated team for this. I only have had the time to get the simplest mod working and I had help from someone from the PC modding scene who was only willing to work with me because I was at least showing I had done a little bit of research with how the PC version is structured and showed interest in trying to get even one mod working on the Switch version.
 
Last edited by supermariorick,
  • Like
Reactions: Light_Strategist

Light_Strategist

Well-Known Member
Newcomer
Joined
Mar 14, 2017
Messages
87
Trophies
0
Age
30
XP
305
Country
no I mean the new IDs for the new accessories and new clothes that will come out with the update. Pay attention.

Also so far only a few mods are working. Don't expect every mod from the PC version to work due to the shifted offsets for files in the Switch version as compared to the PC version. Some people have been able to get a few mods to work from the PC version but that's likely only because they had offsets that weren't that different from the Switch version. There's not exactly a dedicated Switch version modding team and the PC modding team is actively trying to prevent console version modding because they are real anal about it and online play which is hilarious because most people that would even mod the game on the Switch version can't go online due to how Switch modding works. Basically, expect to either do trial and error testing to see which mods you can get working or for the mods that don't work on the Switch version you'd have to get extensive knowledge of how the mods work and how the differences in the Switch and PC version offsets so you can get them working. Don't just ask every time "oh will x mod work". Try it yourself first and if it doesn't work, then keep a list of what works and what doesn't work so we can form a log on what we'd need someone who is actually dedicated and has the free time to make the mod again using Switch version files instead accounting for how the mod works and how to get it to work with the different offsets. As I said, there is no dedicated team for this. I only have had the time to get the simplest mod working and I had help from someone from the PC modding scene who was only willing to work with me because I was at least showing I had done a little bit of research with how the PC version is structured and showed interest in trying to get even one mod working on the Switch version.

Gotcha.

Sorry, I've been out of the scene for ages since my SD reader stopped working.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Well start walking towards them