(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-29-24 06:05 AM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - Music question New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
reykreyth

Micro-Goomba








Since: 07-15-06
From: A place

Last post: 6487 days
Last view: 6317 days
Posted on 08-24-06 12:59 PM Link | Quote
I know that each ROM has their own SPC data to it, so I was wondering if there was a way I could replace the SPC data in the SMW ROM with SPC data from another game?
It seems plausable that it could be done...
wtfweb

Red Koopa








Since: 02-10-06

Last post: 6320 days
Last view: 6310 days
Posted on 08-24-06 01:32 PM Link | Quote
i dont think anyone here knows how (except maybe blackhole?), so you'll have to research it elsewhere.

also, i'm sure it could be done but it would probably be way more work than it's worth. i think you'd have to re-code the whole music engine, not just insert spc data from other games.
Stifu









Since: 11-18-05
From: Your mom's bed

Last post: 6311 days
Last view: 6309 days
Posted on 08-24-06 01:42 PM Link | Quote
Originally posted by wtfweb
i dont think anyone here knows how (except maybe blackhole?)

And DJ Bouche... He made that SMB1/3 music patch, you know.
Raccoon Sam

Boomerang Brother
Custom Title








Since: 11-20-05
From: Correct

Last post: 6309 days
Last view: 6309 days
Posted on 08-24-06 02:21 PM Link | Quote
Hmm, We might be able to tinker around with it.
If we even knew where the music is stored.
I asked back then, but nobody seemed to know.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6310 days
Last view: 6309 days
Posted on 08-24-06 05:20 PM Link | Quote
If anyone is interested... blackhole sent me a couple of 65c816-side routine addresses that would change the SPC700 music bank... I didn't make them work (looking back, I don't think I really coded that block properly). Anyways, I can go back and try to dig them up, there were three rotiens there.. and on eof them was the correct one...
Kailieann



 





Since: 11-18-05

Last post: 6309 days
Last view: 6309 days
Posted on 08-24-06 07:37 PM Link | Quote
The problem isn't data, it's format. Pretty much every SNES game has its own format of compressing SPC data into the rom, and a unique sound engine to decompress it and send it to the sound processor.
DJ Bouche had to completely rewrite the SMW sound engine in order to make the existing music hacks, and not many people have the skills necessary to do that.

And still, using that method you'd only be able to replace the music with that from a different game; if you actually wanted custom music, or even just music from two different games, you'd still have to rewrite the compressed SPC data anyways, so if you're going to do that, why not just use SMW's existing sound engine anyways?

And as a disclaimer, I'm as much of a novice as everyone else to music hacking, so I may not have all my details 100% accurate, but I'm quite sure I've got the general idea, here.


(edited by Kailieann on 08-24-06 06:38 PM)
Alastor
Fearless Moderator Hero








Since: 11-17-05
From: An apartment by DigiPen, Redmond, Washington

Last post: 6309 days
Last view: 6309 days
Posted on 08-24-06 08:16 PM Link | Quote
I was under the impression that there aren't differing formats for how SPCs are compressed, but rather the music and sound data is coded for each game and explorted to the SPC-based sound system.

I phrased that horribly, but hopefully you understood it.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6310 days
Last view: 6309 days
Posted on 08-24-06 09:28 PM Link | Quote
No... When a developer makes an SPC700 program and adds the data he needs to it, said program not only runs directly ont he SPC700 hardware in the SNES (or emu), but reads the data in the format used by the developer. Thus, when you save a .spc file, what is being saved is ALL the data in the .spc, including the program and the data, and then this state is emulated, and the original developer's code translates the data and sends info to the hardware sound registers, which is where your favorite SPC player get the sound in a format IT can use.

And anyways,

Originally posted by blackhole89 on the old board in a private message
JSR $810E
(in bank 00)
That should load the overworld music bank. If it is the wrong one, try
JSR $80FD
(still in bank 00)
or
JSR $80E8
(same)

If your code is not in bank 00, you'll have to find some few free bytes in there and place a piece of "adapter code" (i.e. JSR $810E; RTL) that you, in turn, can JSL to.

MathOnNapkins

1100

In SPC700 HELL


 





Since: 11-18-05

Last post: 6309 days
Last view: 6309 days
Posted on 08-25-06 06:29 AM Link | Quote
The SPC/DSP has a set number of capabilities. The SPC code that the programmer writes controls how that music data is handled and reaches the DSP. e.g. you can load your whole song into memory at once or include wait handlers to upload more samples when needed (streaming audio).
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - SMW Hacking - Music question |


ABII

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

Page rendered in 0.015 seconds; used 391.17 kB (max 480.95 kB)