Previous Page

by the_audio_ripper at 9:05 AM EDT on October 5, 2011
Just use a hex editor to resample BRSTM.
0x64-0x65:Sample Rate
by hcs at 11:35 AM EDT on October 5, 2011
Yeah, but we try not to modify files if we can help it.
by the_audio_ripper at 5:30 AM EDT on October 6, 2011
I found 3 32728Hz BRSTMs: (0x64-0x65:7FD8)
map_yuugizyou_e8_lp_32k.brstm
map_yuugizyou1_e4_32k_lp.brstm
mini_result1_e2_32k_lp.brstm
and a 32028Hz BRSTM: (0x64-0x65:7D1C)
mini_gameover1_e2.brstm
by the_audio_ripper at 9:25 AM EDT on October 7, 2011
...and b_mini_gameover1_32k_lp.brstm
Failed to extract DSPs from a BRSTM by the_audio_ripper at 9:35 AM EDT on October 29, 2011
> revb --extract map_stg1_1_44k_e_lp.brstm 0.dsp 1.dsp
Extracting map_stg1_1_44k_e_lp.brstm to:
channel 0: 0.dsp
channel 1: 1.dsp

RSTM size = 1bdd40
RSTM chunks:
chunk 0 'HEAD' offset: 0x00000040 size: 0x00000100
chunk 1 'ADPC' offset: 0x00000140 size: 0x00001be0
chunk 2 'DATA' offset: 0x00001d20 size: 0x001bc020
Stream info:
Codec: 2 (4-bit DSP ADPCM)
Loop flag: 1 (looped)
Channels: 2
Sample rate: 44100Hz
Loop start: 200704 samples
Total samples: 1591296
Data start: 0x1d40
Block count: 111
Block size: 0x2000
Samples per block: 14336
Last block used bytes: 8192
Last block samples: 14336
Last block size: 8192
Samples per ADPC entry? 1024
Bytes per ADPC entry? 4
Computed last block samples 0 != value in header
by hcs at 6:03 PM EDT on October 29, 2011
Ah, interesting, this answers a question that I hadn't figured out. From the source code:

/* NOTE: I'm not clear on what should happen if the byte count is an exact
* multiple of the size of a block. At the moment I assume that the
* last block size will be set to 0 and the block count will include all
* complete blocks.
*/

So it seems that if the byte count is exact, we set the last block size to 8192, and the block count will still include that last block.
Could you upload that file so I can test with it?
by the_audio_ripper at 3:16 AM EDT on October 30, 2011
Completed!
MegaUpload
Edit:Super Paper Mario (World 1-1) BGM

edited 3:21 AM EDT October 30, 2011
by TheUltimateKoopa at 8:05 PM EDT on March 20, 2012
Is there a working link to a Super Paper Mario rip (in a streamed format, e.g. brstmspm)?

EDIT: Nevermind, I just found out you just need to rename them to *.brstmspm :P

edited 8:13 PM EDT March 20, 2012

edited 8:14 PM EDT March 20, 2012
by leo60228 at 11:56 AM EDT on April 14, 2020
So this is literally a decade late, but the audio is 44100hz mono, not 22050hz stereo.
by hcs at 12:11 PM EDT on April 15, 2020
Hi leo, this seems unlikely as brstm uses blocked interleave, so it would be hard to mistake that there are 2 channels. Or has there been some advancement in brstm decoding that I'm not aware of?

edited 12:12 PM EDT April 15, 2020

Previous Page
Go to Page 0 1 2 3 4 5

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source