ROM Hack WIP PC Dragonball Xenoverse 2 Mods on Switch

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,370
Country
Germany
They will be if i can figure it out. Xenoverse on switch is outdated to say the least. I need a version 1.0.91 for x2m to work

Any News for x2m Support?


I found out you can edit the .bat to only extract specific files in the data.cpk instead of the whole thing. However, I tried editing a super soul for stuff like god mode and super armor and I repacked it all to data1.cpk but it didnt work.

so do only character appearance mods work right now? far are as I have tried none of the super soul mods work when I pack them into data1.cpk. I even managed to get the Switch version file for the super souls without extracting the entire data.cpk then I tried editing it with the tool then after saving some god mode stuff for one super soul I followed the instructions and put it in the right subfolders in data1root -> data etc etc then packed it into data1.cpk and then copied that to /atmosphere/titles/010078D000F88000/romfs/
nope. didn't work.
One interesting thing to note is when I tried opening the super soul names and info files in the super soul editor it didn't read them properly and failed to display the names and info for super souls. perhaps the super souls file is different and needs a proper tool that accounts for different mapping of where the super souls are in the file. or perhaps like you mentioned the base game data of XV2 Switch is old and needs an older version of the editor to work.

Do you hae Installed the 1.0.91 Update? When yes rename your file to data2.cpk
 
Last edited by Stoned,

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
reminder you need a backup of the base game and the latest game update for it to get the proper romfs dump to edit and make mods which you then can run them using LayeredFS.

https://cdn.discordapp.com/attachments/452571294974607360/458798333423779850/Extract_Update_NCA.zip <<<<<<<<<<<<<<<<<<IMPORTANT TOOL HERE


this is the batch tool meant for use with hactool that was posted with the Breath of the Wild Wii U to Switch mods porting tutorial. This should make getting the proper romfs easier and then all you need to do is extract data2.cpk, edit files using the proper tools from the PC version (not all of these work due to shifted memory addresses in the Switch version and hex editing has to be done instead!), repack with data alignment 512 back into data2.cpk (make sure this has all the other files that were dumped as well as the ones you edited put in the proper folders), then simply copy the newly packed data2.cpk to the romfs folder for LayeredFS and it should work but have a few bugs.
 

Burorī

Well-Known Member
Member
Joined
Mar 23, 2018
Messages
323
Trophies
0
Age
28
XP
2,101
Country
Belgium
reminder you need a backup of the base game and the latest game update for it to get the proper romfs dump to edit and make mods which you then can run them using LayeredFS.

https://cdn.discordapp.com/attachments/452571294974607360/458798333423779850/Extract_Update_NCA.zip <<<<<<<<<<<<<<<<<<IMPORTANT TOOL HERE


this is the batch tool meant for use with hactool that was posted with the Breath of the Wild Wii U to Switch mods porting tutorial. This should make getting the proper romfs easier and then all you need to do is extract data2.cpk, edit files using the proper tools from the PC version (not all of these work due to shifted memory addresses in the Switch version and hex editing has to be done instead!), repack with data alignment 512 back into data2.cpk (make sure this has all the other files that were dumped as well as the ones you edited put in the proper folders), then simply copy the newly packed data2.cpk to the romfs folder for LayeredFS and it should work but have a few bugs.
I already have the files from the PC version
 

robinpup

Well-Known Member
Newcomer
Joined
Sep 10, 2014
Messages
57
Trophies
0
Age
38
Location
Acapulco, Guerrero
XP
330
Country
Mexico
Not the dlc one! i just want all the dragon ball super! dragon ball gt and dragon ball z! fight themes! it is possible? like the japanese cell theme or the goku black desperate assault theme!

--------------------- MERGED ---------------------------

DLC only.
nope i mean the original fight themes like the anime! not the dlc one! i just want the japanese cell theme! or goku black desperate assault theme!
 

Kalf2112

Active Member
Newcomer
Joined
Jun 26, 2018
Messages
34
Trophies
0
Age
25
XP
294
Country
United Kingdom
I've been testing for a couple hours today and I think I've got something. I'm going to attempt and X2M on Switch. Hopefully this works, it's a transformation fyi.
 

Burorī

Well-Known Member
Member
Joined
Mar 23, 2018
Messages
323
Trophies
0
Age
28
XP
2,101
Country
Belgium
I've been testing for a couple hours today and I think I've got something. I'm going to attempt and X2M on Switch. Hopefully this works, it's a transformation fyi.
Don't waste your time, I tried too by installing the mod on PC than packing to data1.cpk and it doesn't change anything, + The stage select screen becomes blank
 

toto621

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
384
Trophies
0
XP
1,426
Country
Belgium
I always have this error when I try to extract Updated content from patch NCA :
Sections:
Section 0:
Offset: 0x00002ca6f000
Size: 0x000001e2c000
Partition Type: PFS0
Section CTR: 00000001000000050000000002CA6F00
Superblock Hash: 9FE55D0E5377554ACF06F30C231830C86617C5F2DA08B57B6CC77AC5245BF722
Hash Table:
Offset: 000000000000
Size: 0000000078a0
Block Size: 0x8000
PFS0 Offset: 000000008000
PFS0 Size: 000001e206e4
Section 1:
Offset: 0x000000004000
Size: 0x00002ca6b000
Partition Type: Patch RomFS
Section CTR: 00000002000000050000000000000400
BKTR section seems to be corrupted.

Error: section 0 is corrupted!

Error: section 1 is corrupted!


This is the command I use :
hactool.exe --titlekey=XXXXXXXXXXXXXXXXXX --basenca=Base\Game.nca --exefsdir=Updated\exefs --romfsdir=Updated\romfs Update\Update.nca --onlyupdated


I've changed the command here so it hide titlekey and NCAs names of course.

Both game AND update work without issues on my switch so I know my files are good. Do you have an idea when this happen ?
 
Last edited by toto621,

supermariorick

Well-Known Member
Member
Joined
Jun 18, 2010
Messages
640
Trophies
1
XP
816
Country
United States
I always have this error when I try to extract Updated content from patch NCA :
Sections:
Section 0:
Offset: 0x00002ca6f000
Size: 0x000001e2c000
Partition Type: PFS0
Section CTR: 00000001000000050000000002CA6F00
Superblock Hash: 9FE55D0E5377554ACF06F30C231830C86617C5F2DA08B57B6CC77AC5245BF722
Hash Table:
Offset: 000000000000
Size: 0000000078a0
Block Size: 0x8000
PFS0 Offset: 000000008000
PFS0 Size: 000001e206e4
Section 1:
Offset: 0x000000004000
Size: 0x00002ca6b000
Partition Type: Patch RomFS
Section CTR: 00000002000000050000000000000400
BKTR section seems to be corrupted.

Error: section 0 is corrupted!

Error: section 1 is corrupted!


This is the command I use :
hactool.exe --titlekey=XXXXXXXXXXXXXXXXXX --basenca=Base\Game.nca --exefsdir=Updated\exefs --romfsdir=Updated\romfs Update\Update.nca --onlyupdated


I've changed the command here so it hide titlekey and NCAs names of course.

Both game AND update work without issues on my switch so I know my files are good. Do you have an idea when this happen ?
you need the data from the base game to extract the data from the game update. that's why it asks for the BKTR section. can't get the updated romfs if you only have the game update ncas and not the game ncas as well as it would have nothing to reference as data that it is updating. I found this out the hard way, too. honestly better for you to use the batch script I linked earlier because it makes all the steps easy.
 

toto621

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
384
Trophies
0
XP
1,426
Country
Belgium
you need the data from the base game to extract the data from the game update. that's why it asks for the BKTR section. can't get the updated romfs if you only have the game update ncas and not the game ncas as well as it would have nothing to reference as data that it is updating. I found this out the hard way, too. honestly better for you to use the batch script I linked earlier because it makes all the steps easy.
I have both, base game + Update. I have no problem extrating NCAs of the base game, btw...
 

toto621

Well-Known Member
Member
Joined
Jan 19, 2015
Messages
384
Trophies
0
XP
1,426
Country
Belgium
i fixed my error (worng titlekey, I used base titlekey instead of the update one, my bad) but now i have another problem, i cannot, no matter what i try, extract updated romFS content, only exeFS is extracted (30MiB only while the whole NCA size is more than 700MiB), any idea ?

For the record, I tried with NCA-NSP-XCI_TO_LayeredFS_v1.4 and it end with the exact same result.
 
Last edited by toto621,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    +1
  • Veho @ Veho:
    Watch chess streamers on Twitch and you'll pick up a thing or two.
    +1
  • Veho @ Veho:
    Not to mention there's an infinite number of chess games for every possible platform.
    +1
  • DinohScene @ DinohScene:
    just play it, get beaten a few times and start dominating
    +1
  • K3Nv2 @ K3Nv2:
    Nude chess is best
    +1
  • DinohScene @ DinohScene:
    strip checkers > nude chess
    +1
  • K3Nv2 @ K3Nv2:
    Nude checkers get jumped
    +1
  • SylverReZ @ SylverReZ:
    @Veho, I guess you'd pick up something while watching tub streams.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Dick fights. :tpi:
  • Veho @ Veho:
    Turkish olive oil wrestling.
    +1
  • K3Nv2 @ K3Nv2:
    Well I believe I'm about to get hit with a spring sinus infuction
    K3Nv2 @ K3Nv2: Well I believe I'm about to get hit with a spring sinus infuction