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

Beyondlsd

Active Member
OP
Newcomer
Joined
Sep 16, 2013
Messages
37
Trophies
0
Age
41
XP
273
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.
 

Beyondlsd

Active Member
OP
Newcomer
Joined
Sep 16, 2013
Messages
37
Trophies
0
Age
41
XP
273
Country
United States
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....
 

Taishiro

Well-Known Member
Member
Joined
Apr 22, 2020
Messages
245
Trophies
0
Age
21
XP
598
Country
Chile
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

  • Crypto.zip
    459 bytes · Views: 10
  • Like
Reactions: Beyondlsd

Pluupy

_(:3」∠)_
Member
Joined
Sep 13, 2009
Messages
1,945
Trophies
1
XP
2,194
Country
United States
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
 

MartianMSK

Well-Known Member
Newcomer
Joined
Jun 17, 2018
Messages
52
Trophies
0
Age
25
XP
1,244
Country
Italy
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

Beyondlsd

Active Member
OP
Newcomer
Joined
Sep 16, 2013
Messages
37
Trophies
0
Age
41
XP
273
Country
United States
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,

Pysis

New Member
Newbie
Joined
Feb 4, 2020
Messages
3
Trophies
0
XP
44
Country
United States
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/g3U7tCipvdQ