Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

Ripping .str audio files from Gamecube?

Featured Replies

Hello everyone,

I'm trying to rip some audio files from a Gamecube game. I successfully found the files contained in the ISO, but the format of the files seems to be unknown by every tool (I tried VGMstream with Foobar, VGMToolbox, Dragon Unpacker and many other things).
The format is .str. Do anyone have an idea? I know it's doable, because someone did it but for the english version of the game, and I'm trying to rip the french audios.

Thanks to everyone!

Lyralary

french.rar

Edited by lyralary
I was mistaken concerning the .hog files, which I extracted and revealed to be animation files (.anm and .banr).

  • 2 weeks later...

Hi,

Took a little while, but here is what you requested. Below you will find the text configuration file for vgmstream:

codec = NGC_DSP
channels = @0xA8:BE
sample_rate = @0x14:BE
num_samples = @0x08:BE

start_offset = 0xAC
interleave = 0x10
data_size = @0x1C:BE * channels

loop_flag = @0x00:BE
loop_start_sample = @0x04:BE
loop_end_sample = @0x0C:BE

coef_offset = 0x20
coef_spacing = 0x54
coef_endianness = BE

hist_offset = 0x44
hist_spacing = 0x54
hist_endianness = BE

Please follow these steps carefully:

  1. Create a new file inside the same directory as the .str files and name it: .str.txth

  2. Copy the content shown above directly into the newly created .str.txth file and save

  3. Download vgmstream Command Line and extract it somewhere

  4. Open PowerShell and run the following:

.\vgmstream-cli.exe -i -o "path\to\charms.wav" "path\to\charms.str"
.\vgmstream-cli.exe -i -o "path\to\dada.wav" "path\to\dada.str"
.\vgmstream-cli.exe -i -o "path\to\potions.wav" "path\to\potions.str"
  1. If successful, the output from vgmstream should look similar to this:

decoding path\to\charms.str
sample rate: 32000 Hz
channels: 2
looping: disabled
loop start: 0 samples (0:00.000 seconds)
loop end: 572160 samples (0:17.880 seconds)
stream total samples: 572160 (0:17.880 seconds)
encoding: Nintendo DSP 4-bit ADPCM
layout: interleave
interleave: 0x10 bytes
metadata from: TXTH generic header
bitrate: 292 kbps
play duration: 572160 samples (0:17.880 seconds)
  1. You will find the converted audio file at the path you specified in step 4.

Additionally, I have attached a sample archive containing 10 converted files for you to try. The remaining files you should be able to convert yourself!

Happy ripping!

Harry_Potter_WAV_Sample.7z

Edited by Falkrian
Spelling

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.