ROM Hack RELEASE Taiko song inserter

  • Thread starter EmEE
  • Start date
  • Views 64,334
  • Replies 120
  • Likes 25

Azel

Well-Known Member
Member
Joined
Dec 16, 2014
Messages
632
Trophies
0
Age
41
XP
656
Country
France
I guess the release of the western version could allow to have both version side by side with more added content ?

I took a look inside the Wii discs, they seem to have similar enough .bin sheet file like wiiu does. sound is in .nub files
PSP and PSP 2 have atrac3 songs and a big data.bin, PSP DX has .DAT big files, not sure how to unpack them.
Some PS2 games use .vag sound files, sheets must be in a bit .dat or data.000 file.

as for PS4, it looks close enough to the switch apparently : https://github.com/kode54/vgmstream/issues/294

Not sure about Vita/3DS/DS, but should be similar to some on those depending on the time they were released (?)
 

SpongyLesbian

Member
Newcomer
Joined
Nov 4, 2018
Messages
8
Trophies
0
Age
23
Location
Helheim
XP
56
Country
Iceland
Great release, hope we could manage to insert songs from other Taiko games. Also for Vita version; song files are in .nus3bank, song difficulties are (oni, kantan, etc.) in .bin format, don't know about the other files.
 

Azel

Well-Known Member
Member
Joined
Dec 16, 2014
Messages
632
Trophies
0
Age
41
XP
656
Country
France
nus3bank are just packages though, what's inside might need to be (batch?) converted (switch is in OPUS format, some are probably in atrac or something else)
 

EmEE

Member
OP
Newcomer
Joined
Sep 2, 2018
Messages
15
Trophies
0
Age
30
XP
127
Country
United States
Newest 1.0.5 update .bin files cannot be extracted. I think they changed their compression method

Looks to be more like encryption rather than compression since I see no headers. Some of the files (don_color.bin) are still on the older compression, so I wonder if it'll still take the gzip files.
 

Azel

Well-Known Member
Member
Joined
Dec 16, 2014
Messages
632
Trophies
0
Age
41
XP
656
Country
France
Hi ! thanks a million for this man, seriously!
been reading the script
View attachment 150088
I generated an updated romfs first with --section1 and then extracted romfs from that.

.\hactool.exe --basenca=base.nca --section1=updateromfs.bin .\update.nca

Update on the tool, I've got dlc working, and all the other wiiu games work out of the box with the current script. However this puts the song count above the limit. I am working on a UI to disable or delete songs right now.
Can you elaborate more on this ? I have enough knowledge on switch games pfs and what is crypted and what isn't. is you base.nca "bc17d0ace6a49671c3c8389e0dbebaf5.nca" ? is your update.nca "be0b90a2bf71c641169e0cfe298aa1d2.nca" (program part in the xml manifest) ? I also managed to get a romfs.bin of the game (3,15 Gb)

Kinda lost here on how to add the switch DLCs :'(

(I have the 3 wiiu and 3 wiiudlc decrypted and in the right place though)

Tried without the switch update files :

upload_2018-11-24_14-10-44.png


Edit : had multiple python installs (2.7.12, 3.5, 3.7, uninstalled everything, reinstalled the latest, pip install xmltodict, then the script finally ran, still could figure out the 1.0.3 switch update thing to get vocaloid and other dlcs though)


Edit : did get char encoding issues too, edited the trimmer with what you wrote and it worked. (got "139" back)
line 30 in trimmer (Taiko v2)
replace by
Code:
csvFile = open('songs.csv', 'r', encoding='utf8')
reader = csv.reader(csvFile, doublequote = False)

Edit2: left most of the anime songs of all 3 games but only 5 song showed up lol but a lot of the rest did work though :) (monster hunter 4G medley got there in the csv twice for some reason, forgot to remove it too ^^)
Edit3; on first glance, everything with quotes and double comas isn't showing up at least, I don't have time to check more for now, impressive work though!^^
 

Attachments

  • songs.csv.txt
    13.3 KB · Views: 232
Last edited by Azel,

Syaro_c

Member
Newcomer
Joined
Sep 8, 2018
Messages
12
Trophies
0
Age
34
XP
139
Country
Canada
Last edited by Syaro_c,

Stewie1.0

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
214
Trophies
0
Age
25
Location
Ur basement
XP
275
Country
United States
Good job with this injector, but I'd also like to show that I was able to port Kimi ni 100 PERCENT from the Switch version to the PS4 version. Switch and PS4 use similar file locations and formats, so its easy to port them from there. This should work for PS4 to Switch too. However, the only difference is the audio formats in the nus3bank files. PS4 uses BNSF, and Switch uses OPUS. Since i couldnt create a BNSF for it, i instead created an AT9, cuz the game supports that format even tho its never used for any of the songs.



There is a couple bugs tho. The song loops, and for some reason, the song will never go to the results screen. Im not used to this game since i normally mod Project Diva, so I can't really figure out why this happens. Im also not sure how to make the song preview work correctly.

There was another song I was able to add too. I added Motteke Sailor Fuku (Lucky Star's opening). I was able to port it from Portable DX on PSP from the DLC, because most if not all of the Taiko games' chart files use the same format, except some have swapped endians. However, Version V's on Vita is encrypted. This should also work on Switch too, so u can give it a try too.

 

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,591
Country
New Zealand
There is a couple bugs tho. The song loops, and for some reason, the song will never go to the results screen. Im not used to this game since i normally mod Project Diva, so I can't really figure out why this happens. Im also not sure how to make the song preview work correctly.

There was another song I was able to add too. I added Motteke Sailor Fuku (Lucky Star's opening). I was able to port it from Portable DX on PSP from the DLC, because most if not all of the Taiko games' chart files use the same format, except some have swapped endians. However, Version V's on Vita is encrypted. This should also work on Switch too, so u can give it a try too.

Song loop will be because of the nus3bank header information containing the song length, preview start position would be there as well, don't have a PS4 or Switch so not something I've looked into, nus3bank info might be the same across the platforms? (assuming both use it?) did you try just changing the audio format to the respective platform?

As for the formats, I think its Wii 3 onwards that use the same format for the Wii/U systems and all 3DS/VITA use the same as well, so mostly anything after DX I think.
 
Last edited by DarkSynopsis,

Stewie1.0

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
214
Trophies
0
Age
25
Location
Ur basement
XP
275
Country
United States
Song loop will be because of the nus3bank header information containing the song length, preview start position would be there as well, don't have a PS4 or Switch so not something I've looked into, nus3bank info might be the same across the platforms? (assuming both use it?) did you try just changing the audio format to the respective platform?

As for the formats, I think its Wii 3 onwards that use the same format for the Wii/U systems and all 3DS/VITA use the same as well, so mostly anything after DX I think.
Yea I kinda figured the preview was in the nus3bank. I just couldnt find it anywhere. I injected the AT9 in with hex editing, since i couldn't really create my own that isnt IDSP (IDSP is actually in the game's code on PS4, but i tried it and it doesn't work, which I'm not surprised. Theres a bunch of unused audio formats for some reason). Switch's OPUS isn't in the game's code on PS4 at all, so Switch's doesn't work. Not even it's nus3bank works. I did fix the looping once, but for some reason the preview stopped working.

And well, some of the chart formats just use different endians, but thats about it. And Vita's is either encrypted or is in some archive for some reason, like the database files on PS4/Switch is in gz archive renamed as .bin extension.
 
Last edited by Stewie1.0,

Goffrier

Well-Known Member
Member
Joined
Dec 19, 2018
Messages
181
Trophies
0
Age
44
XP
428
Country
United States
\r': command not found

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

switch_songs: command not found

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

uid: command not found

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

syntax error near unexpected token `('

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

`def genUID():

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

this is the error of trimmer.py on ubuntu
 

lefthandsword

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
352
Trophies
0
Age
26
Location
root
XP
478
Country
Hong Kong
\r': command not found

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

switch_songs: command not found

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

uid: command not found

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

syntax error near unexpected token `('

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

`def genUID():

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

this is the error of trimmer.py on ubuntu
Use Python 3 not 2.
 

Goffrier

Well-Known Member
Member
Joined
Dec 19, 2018
Messages
181
Trophies
0
Age
44
XP
428
Country
United States
ok

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

but ModuleNotFoundError: No module named 'xmltodict'

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

i have installed it

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

and rebooted

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

still not working :thonk:

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

pip install xmltodict
Collecting xmltodict
Using cached https://files.pythonhosted.org/pack...776ceb7/xmltodict-0.11.0-py2.py3-none-any.whl
Installing collected packages: xmltodict
Successfully installed xmltodict-0.11.0
lol@ubuntu:~/Desktop/taikov2$

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

not working

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

tried searching on google
havent found anything
 

lefthandsword

Well-Known Member
Member
Joined
Apr 6, 2015
Messages
352
Trophies
0
Age
26
Location
root
XP
478
Country
Hong Kong
ok

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

but ModuleNotFoundError: No module named 'xmltodict'

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

i have installed it

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

and rebooted

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

still not working :thonk:

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

pip install xmltodict
Collecting xmltodict
Using cached https://files.pythonhosted.org/pack...776ceb7/xmltodict-0.11.0-py2.py3-none-any.whl
Installing collected packages: xmltodict
Successfully installed xmltodict-0.11.0
lol@ubuntu:~/Desktop/taikov2$

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

not working

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

tried searching on google
havent found anything
Try "pip3 install xmltodict"
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sicklyboy @ Sicklyboy: @Xdqwerty, Osu! Tatakae! Ouendan! is the Japanese version of the game, different... +1