How to rip audio files (soundtracks) from Switch Games? (in particular SMT V)

  • Thread starter Thread starter Beyondlsd
  • Start date Start date
  • Views Views 19,973
  • Replies Replies 11

Beyondlsd

Active Member
Newcomer
Joined
Sep 16, 2013
Messages
37
Reaction score
4
Trophies
0
Age
46
XP
350
Country
United States
Hello,

I was searching the forums and couldn't find the right thread for this and one of the threads i found were before the switch was able to be hacked.

I'm looking to extract all the sound files from Shin Megami Tensei V. i really love the soundtrack and want all the music. i can't wait for them to finally release the OST so i'm going to try the next best route. is there a way to get it out of the game? I have the cartridge, so i can dump it to XCI or NSP i think.

I also wouldn't mind having all the sound effects to play as well.

i remember someone did this for the 3ds game Shin Megami Tensei IV so i'm hoping to do something similar this time.
 
I was able to use Yuzu and rip the file structure and there is a folder for sounds but all in a format that is incompatible with VLC.

The journey continues....
 
I was able to use Yuzu and rip the file structure and there is a folder for sounds but all in a format that is incompatible with VLC.

The journey continues....
You can open the big ~800MB file with foobar2000, that's the entire soundtrack (music only), which sounds like what you're mostly looking for.
For specific sound effects such as demon sounds etc., that's inside the game binary (.pak file). You'll want to use UnrealPak with a specific Crypto.json file (I attached it). And then use UE Viewer to extract everything from that .pak
What you're looking for is in "Unpacked\Project\Content\Sound"
 

Attachments

  • Like
Reactions: Beyondlsd
For Shin Megami Tensei V, I used nxdumptool homebrew program.
https://github.com/DarkMatterCore/nxdumptool/releases

I navigate to RomFS directory > GAME > Project > Content > Sound > Stream

I extract BGM.awb onto my Switch SD card

I use QuickBMS (follow instructions on the page) to extract BGM.awb
https://steamcommunity.com/sharedfiles/filedetails/?id=1128886793

QuickBMS gives me a lot of .DAT files

VLC player can play these .DAT files
https://www.videolan.org/vlc/

Convert using VLC player to music format you prefer
 
For Shin Megami Tensei V, I used nxdumptool homebrew program.
https://github.com/DarkMatterCore/nxdumptool/releases

I navigate to RomFS directory > GAME > Project > Content > Sound > Stream

I extract BGM.awb onto my Switch SD card

I use QuickBMS (follow instructions on the page) to extract BGM.awb
https://steamcommunity.com/sharedfiles/filedetails/?id=1128886793

QuickBMS gives me a lot of .DAT files

VLC player can play these .DAT files
https://www.videolan.org/vlc/

Convert using VLC player to music format you prefer
Thanks a lot!
 
  • Like
Reactions: Beyondlsd
You can open the big ~800MB file with foobar2000, that's the entire soundtrack (music only), which sounds like what you're mostly looking for.
For specific sound effects such as demon sounds etc., that's inside the game binary (.pak file). You'll want to use UnrealPak with a specific Crypto.json file (I attached it). And then use UE Viewer to extract everything from that .pak
What you're looking for is in "Unpacked\Project\Content\Sound"
is there a good tutorial for how to do this one? i can't seem to just run the files and have it ask for what it needs.

(the unreal pak decrypting part, thanks)
 
Last edited by Beyondlsd,
is there a good tutorial for how to do this one? i can't seem to just run the files and have it ask for what it needs.

(the unreal pak decrypting part, thanks)
Code:
> echo -n '0x'(7z -so x (getclip) "Crypto.json" | jq -r '.EncryptionKey.Key' | base64 -d | xxd -p | tr -d '\n') | putclip; getclip

Open umodel*.exe
Add path that contains the pak file.
Paste in key, hex style requires leading '0x' characters.

Code:
Pak ...\SHIN MEGAMI TENSEI\7b8a3a532caddecd02ea823bd01657cb\Project\Content\Paks/pakchunk0-Switch.pak: 136713 files (64176 encrypted), version 8
Found 136713 game files (0 skipped) in 5874 folders at path "...\SHIN MEGAMI TENSEI\7b8a3a532caddecd02ea823bd01657cb\Project\Content\Paks"
Scanned game directory in 6.5 sec, 142643 allocs, 24.41 MBytes serialized in 4 calls.
 
is there a good tutorial for how to do this one? i can't seem to just run the files and have it ask for what it needs.

(the unreal pak decrypting part, thanks)
hey, were you able to get the sound effects files? i'm pretty new to this and im not sure what to do next. (i've got the romfs, and Unreal Installed)
 
Last edited by Ephriell,

Site & Scene News

Popular threads in this forum