Home Gallery Resources The Team Rules chat Login Register
  Show Topics
Pages: [1]
1  Super Smash Bros. Brawl Hacking / Programming / [Project] (B)RSTM web player on: June 19, 2016, 06:19:26 AM
Hi,

I'm creating a RSTM player in Javascript (web), I found two pages to decode the header (1 2), and I miss a specification for the HEAD, ADPC and DATA parts, I'm not sure of what they contain. I know HEAD contains the data I can see in BrawlBox. Apparently ADPCM, is a type of wav, so it should be playable in a browser using the Javascript Audio API, I tried to read the DATA part in my browser and it couldn't be recognized (EDIT: fail it was late, I didn't cut enough). I'm not familiarized with c-sharp so I can't read the BrawlLib source code (here).

My main project is to create a player for the Pokémon GSC musics (looped songs), and I'd prefer to load the .brstm files instead of having 2 audio files that have to be converted, because most of Pokémon songs are available in .brstm on Smash Custom Music. If I succeed, that website could also use this player (I will think to the proper open source license for that.)

I'm also wondering about the right of having such songs downloadable, I think it's a copyright violation, if you could tell me something about it I'd appreciate.

Thanks for your help.

EDIT: Apparently 4-bit IMA ADPCM is not supported in any browsers, have to look into on-the-fly conversion Sad

EDIT 2: Found this (page 34) and this. Just need to know what do I have to convert.
Pages: [1]