(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-06-24 03:12 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Super Mario Kart Music File Format
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
midwife
Posts: 8/8
Hi! Blackhole89 !

thanks ya, I've found all the pointers in the SPC !!!! Yatta !

I'm searching for the format of each track.

very big thanks !
Stifu
Posts: 622/647
Thanks for the help, blackhole (nice screen too)... Hopefully midwife manages to do something with that, or we could just wait for your editor... as we have plenty of other things to do before Epic Racers is ready, anyway.
blackhole89
Posts: 412/427
The N-SPC format is not widely documented... as far as I can tell, the only three people who were working on it (with notable success) are me, MajinBlueDragon and DJBouche; DJBouche doesn't really care anymore since he moved on to remixing J-pop and MajinBlueDragon never was quite publicative about his work. Your best bet would be to search the three incarnations of Acmlmboard for information fragments posted or wait for me to release Solar Soundtrack (which is pretty much an universal N-SPC editor). Although, I said I once said I'd have it done within two weeks... that was, I believe, back in 2004.
Since I want to go to eat now and really am not in a mood for typing long rants about it, here's just format of the songs which appears to be common across all N-SPC games (which, on a side notes, are all SNES games Nintendo made themselves pretty much).

(SPC-700 pointers are 2 bytes and little-endian.)

Song table: list of pointers to songs, "open-end" - maps to internal song ID - absent in SMK

Song:
list of pointers to patterns, terminated with either 00 00 or FF 00; if the latter, FF 00 is followed by another pointer which points at the loop point of the song. Example: @D100 . 10 D1 20 D1 FF 00 02 D1 - two patterns at D110 and D120, repeat pattern D120 ad infinitum

Pattern:
array of eight track pointers (total length naturally 16 bytes) which map to the 8 DSP channels of the SPC-700.

Track:
music data

Hope this helps.
midwife
Posts: 6/8
Thanks a lot BH89 !

have you any informations on the N-SPC patterns format ?

I've searching on google for N-SPC file format, and found nothing revealant ...

as I've no idea of how is implemented the N-SPC, would you give me some hints ?

blackhole89
Posts: 411/427
If I recall correctly, Super Mario Kart uses the N-SPC engine. The only thing I remember about the particular data locations in it though is that the music data starts at 0xC000 in the SPC RAM, like it does in SMAS. Screw my bad memory... I just checked and found out SMK, in fact, uses a single-song system with the pattern pointers beginning at 0xD000 in SPC RAM/0xD100 in a headered dump. Rest of it appears to be native N-SPC though since SST loads it just fine.

I should see whether I can get Solar Soundtrack to load it.
- edit, it does with a little hax since there is no current native support for SMK's lack of a song table in the dumps (I had to trick it into believing there was one):



edit2 - I ought to point out the depicted song is SMK's Donut Plains theme.
Stifu
Posts: 620/647
Nah, I've already talked with Midwife about all of this and sent him the Epic Racers notes, so he knows where the musics and samples are located... but that's it. I don't know any more than that.
Raccoon Sam
Posts: 998/1040
I'm quite certain Stifu has some notes, most likely offsets of such.
If he doesn't notice this topic inside a week or few, feel free to PM him, in case you already haven't.
midwife
Posts: 5/8
Hi dude !
I'm old ! I have made music with trackers ( SoundTracker on Amiga ).

I know that SNES has a special chip ( SPC-700 ), with his own RAM and Code. I know too that musics from SNES have been made with some kind of trackers, 8 voices. ( like MOD, S3M, TFMX etc. ).

I'm searching informations about the patterns format, rather than samples ( encoded with BRR ).

thanks !
1337_Ac3
Posts: 85/90
If you think the music is inside the rom in some magical way and is an mp3, then just drop this. If you mean how it looks inside the rom data, like 67B52C8F or the like and where the flags are and the notes, what they do etc, i have no idea, try asking stifu.
midwife
Posts: 4/8
Hi there !

As I'm currently working on the Super Mario Kart music file format, but I have no start point.

Does anyone know something about it ? ( in Mario's Series Music file format in general )

Thanx everyone !
Acmlm's Board - I3 Archive - ROM Hacking - Super Mario Kart Music File Format


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.012 seconds; used 352.11 kB (max 403.95 kB)