Cool, that tutorial was using my stuff anyway lol. Yeah, so fs0.dat needs research for the voice stuff. I think the nus3banks are uncompressed in that archive, but we still need to rebuild the archive with new data, that being the hard part.
That is really stupid and annoying with the whole sound test thing being linked to fs1.dat. My LayeredFS method might actually be working then. Thanks for testing! At least we know SOMETHING works so far.
I was succesful extracting several voices from the game using VGMToolbox.
I used this method to get the files
https://www.youtube.com/watch?v=LWj5Z0mQxrY
However there are some issues.
Some sounds don't work , and i know for a fact many files are missing.
i tried this with fs1 and it rips the music but not the extra voice files inside that file. Also the music is not ripped right, there are some errors unlike when using the nus3 extractor/injector.
this works also with fs0
It extracts several sound effects and voice files however some sounds are ''corrupted'' according to foobar2000.
Lastly this doesnt work at all with fs2
However , i discovered that all the golf SFX is inside that file , whereas inside fs0 there are files for Tennis , Baseball , Soccer and Horse Racing.
I will really appracite if someone helps me on this , because it took me a bit to get to this point by myself.
I am confused on why certain sounds are not ripped , or why some are corrupted.
I would really like to solve this now that i got this far.
Ok so i finally made considerable progress , here's what i got so far.
The distributions for sound files in this game are divided in the 3 files of the na folder.
fs0.dat and fs1.dat were arranged by Bandai Namco while fs2.dat was arranged by Camelot.
This is notable because:
• Character Select voices • General Sound Effects • Voices of the characters for Horse Racing, Soccer and Baseball • Amiibo mode SFX
Are all in fs0.dat
• Sound Test Music • Menu music • Music used in the gameplay of Horse Racing, Soccer and Baseball
Are all in fs1.dat
All of this developed by Bandai Namco.
The other file which is fs2.dat has all the Camelot Stuff which are:
• Golf voices • Golf SFX • Tennis Voices • Tennis SFX • Music used in those modes (the samples in fs1.dat are only for the sound test regarding only the Camelor sports , which are these 2. If you replace fs1.dat music for Golf or Tennis you wont be changing the gameplay music , you will actually only change it for the sound test slot and you can only hear it there)
So , regarding the extraction of the files:
fs1.dat is the easiest. It can be extracted with NUS3BANK injector/extractor , like in Smash 3DS.
For fs0.dat , what i did to extract the files was the following:
I opened the file and used the ''Find'' function on the Hex Editor
http://imgur.com/lcGZo87
i typed NUS3 to find the Bank archives , if you do that you will find individual packs that contains sound files for a specific character.
To keep searching you need to press ''find again'' or F3 on the keyboard if there's more ''NUS3'' archives.
The one in the picture contains Rosalina's Baseball voices , as the codename represents BSB= Baseball , rosetta = Rosalina.
So i copied the whole thing beggining with the NUS3 on this file and put in a new file which i saved as a .dat file named RS.dat
http://imgur.com/XApiGSE
After this was done, i was able to use the nus3bank.py script to dump the IDSP files from RS.dat , i guess this worked because the script only works if it recognizes the header as NUS3BANK , which the original fs0.dat lacks.
I got all the files from this pack , working fine.
However , unlike fs1.dat , i cannot insert new sounds for fs0.dat
I have tried many solutions including the injector itself and nus3bank editor and it doesnt work at all.
Here's what i did:
I saved RS.dat in another file as RS.nus3bank so i can open it with nus3bank editor
it opens fine and i can replace sounds. Once i get the new nus3bank with my custom sound , i try to replace the one inside the fs0.dat by copy/pasting the data on the hex editor (i look again for the NUS3 of rosetta BSB inside fs0.dat and select all of that and replace it with the data from the RS.nus3ban)
But it doesn't work , the game never loads.
Also i noticed that injecting the new sound inside changes the file size , i don't know why
http://imgur.com/RfZ3r3N
RS.nus3bank is the original file that i took from fs0.dat
RS2.nus3bank is that file after i replaced a sound with nus3bank editor , for some reason it's smaller and the data inside it's different if you check it with the Hex editor.
fs2.dat is a file that i haven't got anything from yet , i don't know how to open it even less how to replace things from it.
Can anybody assist me on this? It's a bit confusing and i am running out of ideas on how to solve this.
Ok , so since i never got a clear answer in here , will make a quick post on how i actually solved this problem.
If someone ever , besides me , was wondering how to reach sounds in this game maybe they come across this and will save them the time i actually spent solving it myself.
So basically inside the game , there's a few folders with .dat files.
dat files are just containers , inside of them there's the actual files with extentions that have the sounds and etc.
Ca folder contains a file named fs.dat , it has all the Camelot Sounds and music.
Na folder has 3 files named , fs0.dat , fs1.dat and fs2.dat
0 and 1 have SFX and music respectively meanwhile 2 has various other files not related to sound or music.
Fs.dat from Ca folder has Headers for CWAV archives , CSTM archives and a CSAR that contains all of them.
Fs0.dat has Nus3banks that contain IDSP files , which are the sounds.
Fs1.dat is a big Nus3bank file that contains all the music from the Sound data room inside the game.
To be able to extract all of this simply locate the required tools from each extention.
For Fs.dat , 3DS audio ripper will give you all what's inside , let it scan the fs.dat and it will give you music and sfx.
Fs1.dat can be extracted with Nus3bank python commands from the injector/extractor set.
finally fs0.dat can be extracted if you open it on an Hex editor and copy and paste part of the bytes starting with a header and ending with the lastest byte.
I.e If you want Mario's soccer voice clips, locate inside the hex editor the ''NUS3'' header that's close to a text that says SOC mario.
Copy it , starting from the N of the NUS3 header and ending with the end of the file in a new file , and save as whatever you want but put the extention as .nus3bank.
After that use the injector/extractor method with this new nus3bank file and it will give you IDSP files , which are Mario's voice clips for Soccer.
So if someone ever reads , this , now you know. You wont have to do the back and forth that i did.