Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - SPC hacking - SMAS music format revealed! | |
Pages: 1 2 3 4 5 6 7Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 136/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-11-04 06:04 PM Link | Quote
Well, the topic sounds somehow aiming-for-the-stars-ish, but - it's true - I discovered a pattern pointer table, traced the pointers and in many aspects decoded the data format of it. I used a simulated SPC dump from Second Reality Project 2 (which uses a SMAS music patch). Simulated means, I used my N-SPC-traceroute program to find the N-SPC chunks, simulate the work of the ROM's SPC loader and create a not-really-playable SPC memory dump. (If anyone'
s interested, I'm ready to release any of the programs I mentioned here just tell me)
I commonly relied on the LoZ 3 N-SPC format (although it isn't exactly the same at each point, especially the commands often differ), therefore thanks to the guys who made Hyrule Magic (used this one to get into N-SPC).
Enough of talk, here's a dump from my *drumroll* ultimate N-SPC disassembler.
Opening: E:\SPC\smw\srpii000.spc
PatternTable? d276

CH0: $D296
CH1: $D2E7
CH2: $D316
CH3: $D343
CH4: -
CH5: $D36F
CH6: -
CH7: -

[ Decoding channel 0 ]
Pan A
Instr 5
(LoZ=Finetune)??? 0
Volume 82
(LoZ=Transpose)??? F4
LENGTH (12); KEYON(6); TONEVOL (7)
> C2
LENGTH (12); KEYON(6); TONEVOL (9)
> G2
LENGTH (12); KEYON(6); TONEVOL (10)
> G2
LENGTH (12); KEYON(6); TONEVOL (11)
> C3
LENGTH (12); KEYON(6); TONEVOL (12)
> C3
> E3
> E3
> G3
LENGTH (12); KEYON(6); TONEVOL (9)
> C#2
LENGTH (12); KEYON(6); TONEVOL (10)
> G#2
LENGTH (12); KEYON(6); TONEVOL (11)
> G#2
LENGTH (12); KEYON(6); TONEVOL (12)
> C#3
LENGTH (12); KEYON(6); TONEVOL (13)
> C#3
> F3
> F3
> G#3
LENGTH (12); KEYON(6); TONEVOL (9)
> C2
LENGTH (12); KEYON(6); TONEVOL (10)
> G2
LENGTH (12); KEYON(6); TONEVOL (11)
> G2
LENGTH (12); KEYON(6); TONEVOL (12)
> C3
> C3
> E3
> E3
> G3
LENGTH (12); KEYON(6); TONEVOL (9)
> C#2
LENGTH (12); KEYON(6); TONEVOL (10)
> G#2
LENGTH (12); KEYON(6); TONEVOL (11)
> G#2
LENGTH (12); KEYON(6); TONEVOL (12)
> C#3
LENGTH (12); KEYON(6); TONEVOL (9)
> C#3
> F3
> F3
> G#3

[ Decoding channel 1 ]
Pan A
[LoZ=Finetune]??? 0
Volume B4
Vibrato C 18 30
Instr 5
LENGTH (24); KEYON(6); TONEVOL (7)
> G3
LENGTH (48); KEYON(6); TONEVOL (8)
> G4
LENGTH (24); KEYON(6); TONEVOL (9)
> G3
LENGTH (24); KEYON(6); TONEVOL (10)
> G#3
LENGTH (48); KEYON(6); TONEVOL (11)
> G#4
LENGTH (24); KEYON(6); TONEVOL (13)
> A#4
LENGTH (24); KEYON(6); TONEVOL (11)
> G4
LENGTH (48); KEYON(6); TONEVOL (10)
> G3
LENGTH (24)
> G4
> F4
LENGTH (48); KEYON(6); TONEVOL (9)
> G#3
LENGTH (12)
> A#3
LENGTH (6)
> A3
> G#3

[ Decoding channel 2 ]
Pan A
Volume 8C
Vibrato C 18 30
Instr 5
LENGTH (12)
> C#6
LENGTH (24); KEYON(6); TONEVOL (8)
> G3
LENGTH (48); KEYON(6); TONEVOL (9)
> G4
LENGTH (24); KEYON(6); TONEVOL (10)
> G3
LENGTH (24); KEYON(6); TONEVOL (11)
> G#3
LENGTH (48); KEYON(6); TONEVOL (12)
> G#4
LENGTH (24); KEYON(6); TONEVOL (13)
> A#4
> G4
LENGTH (48); KEYON(6); TONEVOL (12)
> G3
LENGTH (24); KEYON(6); TONEVOL (11)
> G4
LENGTH (24); KEYON(6); TONEVOL (10)
> F4
LENGTH (48); KEYON(6); TONEVOL (9)
> G#3
LENGTH (12)
> A#3

[ Decoding channel 3 ]
Pan A
Volume A0
Vibrato C 18 30
Pan F
Instr 5
LENGTH (24); KEYON(6); TONEVOL (8)
> C3
LENGTH (48); KEYON(6); TONEVOL (9)
> C4
LENGTH (24); KEYON(6); TONEVOL (10)
> C3
LENGTH (24); KEYON(6); TONEVOL (11)
> C#3
LENGTH (48); KEYON(6); TONEVOL (12)
> C#4
LENGTH (24); KEYON(6); TONEVOL (13)
> C#4
LENGTH (24); KEYON(6); TONEVOL (11)
> C4
LENGTH (48); KEYON(6); TONEVOL (10)
> C3
LENGTH (24)
> C4
> G#3
LENGTH (48); KEYON(6); TONEVOL (9)
> C#3
LENGTH (24)
> C#3

[ Decoding channel 4 ]

[ Decoding channel 5 ]
Pan A
Volume A0
Vibrato C 18 30
Pan 5
Instr 5
[LoZ=Transpose]??? F4
LENGTH (24); KEYON(6); TONEVOL (8)
> E3
LENGTH (48); KEYON(6); TONEVOL (9)
> E4
LENGTH (24); KEYON(6); TONEVOL (10)
> E3
LENGTH (24); KEYON(6); TONEVOL (11)
> F3
LENGTH (48); KEYON(6); TONEVOL (12)
> F4
LENGTH (24); KEYON(6); TONEVOL (13)
> G4
LENGTH (24); KEYON(6); TONEVOL (11)
> E4
LENGTH (48); KEYON(6); TONEVOL (10)
> E3
LENGTH (24)
> E4
> C#4
LENGTH (48); KEYON(6); TONEVOL (9)
> F3
LENGTH (24)
> F3

[ Decoding channel 6 ]

[ Decoding channel 7 ]

Phew, that was long.

The problems of the "disassembler" are at this moment the following ones:
- It doesn't know where the single tracks end. So it just stops track disassembling when there comes a command after a tone output, presuming the command has to belong to the next tracks. CallLoops are ignored therefore. If someone knows how the end of a track is determined, please post here.
- Not all commands are disassembled, neither all are disassembled correctly (imho).
- No "preview" of the sound is available 'cause I weren't able to get DirectSound to work in the DOS box.
- Nastily unclean programming. (my fault, again ^^)

Anyone having an idea which song it could be or able to contribute anything?


(edited by blackhole89 on 06-11-04 09:09 AM)
(edited by blackhole89 on 06-11-04 09:48 AM)
(edited by blackhole89 on 06-11-04 09:49 AM)
(edited by blackhole89 on 06-11-04 09:51 AM)
(edited by blackhole89 on 06-11-04 09:54 AM)
Acmlm

Torosu
heh
Level: 51

Posts: 748/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 06-11-04 08:37 PM Link | Quote
That's the sky area (or second part of World 5, or warpzone) music from SMB3, the notes and lengths match perfectly


Nice though, but since that's from Mario All-Stars music (with a patch), will that help hacking the original Super Mario World music?
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 140/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-11-04 09:15 PM Link | Quote
Not at all. SMW uses some weird N-SPC derivate and doesn't at all fit into these mappings (as I found out disNSPCing the whole ROM).
Thanks for your help. Do you have any SPC dumps of that? I'm not far enough in the corresponding SMAS subgame to get this music to hear...


(edited by blackhole89 on 06-11-04 12:16 PM)
(edited by blackhole89 on 06-11-04 12:27 PM)
(edited by blackhole89 on 06-11-04 01:46 PM)
Atma X

Bandit
Level: 43

Posts: 333/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-11-04 10:55 PM Link | Quote



(edited by Atma X on 06-11-04 02:03 PM)
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 867/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-11-04 11:06 PM Link | Quote
Oh, and by the way. DJ Bouche posted his method on the old board. It probably won't be long before he posts it again. You can just give up on this silly project of yours. It's futile. Everything is futile. Go back to sleep. Everything will be better in the morning. Why, it's a beautiful sunrise. Time to get up. Let's go get some cereal. Mmm, that cereal was good. Time for some TV.
The Arkichef

Red Tektite
Level: 15

Posts: 9/75
EXP: 15823
For next: 561

Since: 03-19-04

Since last post: 192 days
Last activity: 182 days
Posted on 06-11-04 11:19 PM Link | Quote
God, kyouji...no one likes you! stop being so pathetic! We all know you couldnt hack your way out of a wet paper bag with a huge rip down the side.

Anyway, good luck on the editor, blacky. neat stuff you've got there.
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 868/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-11-04 11:22 PM Link | Quote
...

...

...

>>>XD

Considering I've actually made some of my own custom blocks (FRICKING PLAY MY HACK IF YOU WANT PROOF OF THAT) and have toyed with sprite hacking, I think I'm a lot more qualified to be criticizing people than whoever the hell you are. Oh, and I'm more popular, too. Just go back to your own little world where your opinion matters.

EDIT: I just went and looked through all your posts. All you ever seem to do is link to stuff, ask stupid questions (You fricking asked if Zophar's Domain was down, a question that could've been answered with the F5 button), and complain about me. Nice. Job. I'm really not in the mood for a flame war, but keep in mind you were the one who went and blatantly insulted me.


(edited by Kyouji "Kagami" Craw on 06-11-04 02:27 PM)
Atma X

Bandit
Level: 43

Posts: 334/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-11-04 11:25 PM Link | Quote
Kyouji: I think that the more people we have working on this, the better. And besides, Bouche's is hardly interested in helping anyone anymore, so it would probably be about a year or two before he would bother to post his method again.

I think Blackhole has what it takes to make an Music Editor, just be patient ,... and don't go saying he's crazy for doing it (no body ever helped Bouche figure out how to successfully write an SPC and even import it into SMW, nor does Blackhole need to rely on Bouche or anyone else for help).


(edited by Atma X on 06-11-04 02:26 PM)
knuck

Hinox
Banned until 19-58-5815: trolling, flaming, spamming, being a general fucktard...
Level: 62

Posts: 355/1818
EXP: 1894574
For next: 90112

Since: 03-15-04

Since last post: 14 hours
Last activity: 9 hours
Posted on 06-11-04 11:28 PM Link | Quote
OMG MY NAME IS KYOUHJI AND I THINK DAT I AM SOMETHING JUST BECAUSE I HAVE 800 POSTS ROFLR ORL.
Big shit Kyouji. Bouche is not hacking SMW anymore, so black's project is worth.
If there is anything futile here, that thing is you.
EDIT: Everyone complains about you. It's not just black .


(edited by knuck on 06-11-04 02:29 PM)
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 869/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-11-04 11:28 PM Link | Quote
That's very true, Atma. I'm just saying that if someone respected asked him he may well go ahead and post it again. In the mean time, I'm rooting for blackhole, but, I think that Bouche will post it again before blackhole finishes this.

EDIT: knuck. I am aware you don't like me, but could you at least do me a favor and not insult me every other step? I'm aware bouche doesn't hack SMW, but that doesn't mean he won't come and help, ever.

I mean, for the love of god, I didn't even say anything wrong this time. I just said it would be better to wait for bouche. Once (if) he does come, then making a tool off of his steps will be easier, and the tool will likely be smaller than if it recompiles everything.


(edited by Kyouji (edited by Kyouji "Kagami" Craw on 06-11-04 02:36 PM)
Atma X

Bandit
Level: 43

Posts: 335/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-11-04 11:39 PM Link | Quote
I've sent him a lot of PM's before for some help on Music Editing, but he never replied, but much later, he did reply to this Thread.
http://board.acmlm.org/thread.php?id=3035
So he might help a little, but I don't think anything would ever get done if we mostly relied on his help, but I think he may chip in a little here and there (especially if he sees a lot of progress being done)


(edited by Atma X on 06-11-04 02:40 PM)
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 870/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-11-04 11:45 PM Link | Quote
Well yeah. I probably could've phrased it better. I meant that if Bouche posted his method blackhole could make this tool a lot faster, not that everything he's doing is pointless.
Atma X

Bandit
Level: 43

Posts: 336/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-11-04 11:48 PM Link | Quote
It's ok, I've said somethings before that I didn't completely mean
(or something that wasn't phrased right)



(edited by Atma X on 06-11-04 02:53 PM)
(edited by Atma X on 06-11-04 03:21 PM)
(edited by Atma X on 06-11-04 03:25 PM)
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 142/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-11-04 11:56 PM Link | Quote
Please stop flaming! I don't want to see my nice little thread closed after less than one day passed.
And @Kyouji, stop acting like a moron. Even if DJ Bouche posts his method (which would be rather positive in my opinion, although improbable), not anyone likes to mess with hex and pointers to edit some song. And Bouche is nearly inactive (last login 4 days ago) and, as I guess, prefers to keep his methods for himself. I mean, I have nearly all I need for making a full-featured editor. I'm only missing some few song pointers.

Have fun,
Blacky.


(edited by blackhole89 on 06-11-04 02:58 PM)
(edited by blackhole89 on 06-11-04 02:58 PM)
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 871/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-12-04 12:01 AM Link | Quote
You tell everyone to stop flaming and then you tell me I'm acting like a moron v_v

If you had all that you could've well said so. You just said you were a few steps off from making a disassembler, for tracks off of one game (or at least that was implied by you saying you had stuff for SMAS but that SMW was different). Besides, how is a little optimism "acting like a moron", anyway? I seriously want to know.
Atma X

Bandit
Level: 43

Posts: 337/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-12-04 12:31 AM Link | Quote
Originally Posted by Blackhole89
Please stop flaming! I don't want to see my nice little thread closed after less than one day passed.

Agreed, I don't want to see the thread closed either.


(edited by Atma X on 06-11-04 03:35 PM)
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 143/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-12-04 12:36 AM Link | Quote
I am a few steps off from making a disassembler. That means, I have nearly all the mappings I need, most of the song pointer structure and many of the instruments decoded. That, again, means that I have nearly all information I need for programming an editor. I didn't say the editor is nearly ready.
And for me, flaming is rather stuff like "DUDE U SUCK LOLOLOLOL" or "give up your silly project it's futile go back to sleep" than well-founded criticism amplified with some few words like "moron".
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 872/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-12-04 12:54 AM Link | Quote
Like I said, I was just kidding around when I said that. I don't know how to make it more obvious than ending it with a string of sentences more outlandish than the last v_v
Atma X

Bandit
Level: 43

Posts: 339/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-12-04 01:56 AM Link | Quote
It didn't seem very obvious to me, but it's ok, lets just not fight (that's what's important here)
cpubasic13
17 years old now. Time to buy some M rated games by myself!
Level: 54

Posts: 299/1346
EXP: 1206934
For next: 26936

Since: 03-15-04
From: Blame my parents, Eddy

Since last post: 2 days
Last activity: 1 day
Posted on 06-12-04 02:59 AM Link | Quote
Well, this is nice to know, blackhole89. I tried messing around with the music editing myself (and got nowhere, although somewhere I edited the pitch of Yoshi...). I would like to see an editor for music editing and stuff. Then hacks could be more... original... or people will take music from other games... maybe..

Great work.
Pages: 1 2 3 4 5 6 7Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - SPC hacking - SMAS music format revealed! | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.023 seconds.