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
44
XP
330
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
44
XP
330
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
322
Trophies
0
Age
23
XP
854
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: 170
  • Like
Reactions: Beyondlsd

Pluupy

_(:3」∠)_
Member
Joined
Sep 13, 2009
Messages
1,944
Trophies
1
XP
2,265
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
59
Trophies
0
Age
27
XP
1,840
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
44
XP
330
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

Member
Newcomer
Joined
Feb 4, 2020
Messages
7
Trophies
0
XP
74
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.
 

Ephriell

New Member
Newbie
Joined
Nov 10, 2022
Messages
1
Trophies
0
Age
24
Location
California, USA
XP
22
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)
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

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Can't wait for someone to add ray tracing and that kind of stuff lol