When I extract the update I only get exefs contents...
.\hactool -k keys.txt -t nca --baseromfs romfs.bin --titlekey=075E5DF1D08CD6948ED1BD2E0****** --exefsdir=exefs --romfsdir=romfs update.nca
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.
Extracting DLC is not necessary. The update contains all the dlc songs and databases. That's why I can enable the unreleased Senbonzakura and Vocaloid songs.Ok, I've got update working, but how about DLC? I get AocData.bin which has txt inside
The Vocaloid pack was officially released on 9/13, Does the 1.0.3 contain anything else that haven’t been released yet?Sorry this has taken a while. Making a GUI is hard so now the script exports a csv file you can open with Excel and remove lines from to delete songs. I have updated a v2 in the initial post to add support for WiiU1/2 and all the WiiU games DLC. A song in WiiU3 DLC does not work on the switch: MIKUKG or Kagerou Daze because of the nus3bank not working. I have blacklisted that song for now. Please let me know if this happens on any other songs, as I have not tested every single song.
This has also fixed a bug where the Ura difficulty songs were not copied correctly.
The script should enable all the dlc songs in all the updates including the exclusive songs. I have not believe there are any other songs.The Vocaloid pack was officially released on 9/13, Does the 1.0.3 contain anything else that haven’t been released yet?
that sounds really great but do you have a tuto or Something ?
The script should enable all the dlc songs in all the updates including the exclusive songs. I have not believe there are any other songs.
Use hactool to extract the switch game with the newest update and put it into a folder called switch. Use CDecrypt to extract any WiiU game files you own to their respective folder 'wiiu1, wiiu2, wiiu3' and any DLCs to 'wiiu1dlc, wiiu2dlc, wiiu3dlc'. Run the first musicinfo.py script with Python3 to generate a romfs for use with layeredfs on the switch. The script will notify you if you have passed the high limit on the number of songs. In this case, modify the csv file to delete rows of songs you wished to have removed until you are below 196 rows. Then you can run the trimmer script to delete the songs you have marked as remove to remove them from the romfs files for a while romfs to use with layeredfs.
This is DLC from the first and second WiiU game, not the Switch games. You should are be able to decrypt the titles with CDecrypt_v2.0b.exe .\title.tmd .\title.tikthere is no Content folder for wiiu1dlc and wiiu2dlc
only have aoc*****
This is DLC from the first and second WiiU game, not the Switch games. You should are be able to decrypt the titles with CDecrypt_v2.0b.exe .\title.tmd .\title.tik
Are you on Python 3? Please upload your csv for me to try.thanks for all your help so far.
your trimmer doesn't seem to work for me?
File "trimmer.py", line 37, in <module>
for row in reader:
UnicodeDecodeError: 'cp932' codec can't decode byte 0x93 in position 49: illegal multibyte sequence
I added UTF-8 and it completed returning "98" (193 line csv) but i'm missing all songs from variety in-game
yesAre you on Python 3? Please upload your csv for me to try.
"File "E:\Switchgames\taikov2\musicinfo.py", line 48, in <module>
import xmltodict
ImportError: No module named 'xmltodict'"
Argh, what am I doing wrong? I extracted the switch game and the wii u games in their own folders. In the switch folder I have romfs.bin and an exefs folder, and in the wiiu1 folder I have code,content and meta folders.
EDIT: I did something else, now I have exefs and romfs folder in the switch folder, but I still get the same error.
It looks to be a problem with the double quotes in the csv. Please tryyes
rename back to csv
csvFile = open('songs.csv.txt', 'r', encoding='utf8')
reader = csv.reader(csvFile, doublequote = False)
File "musicinfo.py", line 469, in <module>
parseWiiuMusicInfo(song, game + '/content/wiiu', wiiu23GenreSwap)
File "musicinfo.py", line 286, in parseWiiuMusicInfo
shutil.copy(songPath + '/' + song['songFileName'] + ".nus3bank", 'romfs/Data/NX/sound/')
File "shutil.py", line 241, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'wiiu2/content/wiiu/sound/SONG_FPARTY.nus3bank'