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
42
XP
285
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
42
XP
285
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
22
XP
840
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: 89
  • Like
Reactions: Beyondlsd

Pluupy

_(:3」∠)_
Member
Joined
Sep 13, 2009
Messages
1,945
Trophies
1
XP
2,255
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
26
XP
1,676
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
42
XP
285
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
64
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
23
Location
California, USA
XP
12
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: