Silver Skree
Non-suicidal divebomber
 
Offline
Job/Hobbies: Hakken
Game Modding Alignment: Super Metroid
Posts: 318
Layer 1 1/2
|
 |
« on: June 30, 2010, 06:57:22 AM » |
|
IT MUST BE DONE. THE UNIVERSE DEMANDS IT.
Compose this for MZM and you will be the sexiest person to walk this earth.
|
|
|
|
« Last Edit: June 30, 2010, 07:00:09 AM by Silver Skree »
|
|
 Hi, I'm Silver_Skree, and I make bad decisions!
|
|
|
zephyrtronium
bananabanabobana
Moderator
 
Offline
Job/Hobbies: Fractal Artist
Posts: 372
ˆωˆ
|
 |
« Reply #1 on: June 30, 2010, 09:46:08 AM » |
|
I don't think many music- and sound-related things have been documented. I do have the starting point for such things, though, via my old blfind program.
|
you can see some differences in the pixels tmpLength = 18; // so it doesn't become 19
|
|
|
DarkSamus
[BANNED]

Offline
Job/Hobbies: Hack Super Metroid, Play Wii, And Eat
Game Modding Alignment: Super Metroid
Posts: 205
It's coming!
|
 |
« Reply #2 on: June 30, 2010, 12:19:03 PM » |
|
Nice Techno Like Music! 
|
|
|
|
|
P.JBoy
Offline
Job/Hobbies: School ^_^
Game Modding Alignment: Fusion and Super
Posts: 63
|
 |
« Reply #3 on: June 30, 2010, 12:27:08 PM » |
|
Well, you can open up a sound file in Audacity, convert it to 8-bit unsigned PCM, and place the sound file over where the audio you want to replace is in the ROM (opened up as a RAW file in Audacity)
|
|
|
|
|
zephyrtronium
bananabanabobana
Moderator
 
Offline
Job/Hobbies: Fractal Artist
Posts: 372
ˆωˆ
|
 |
« Reply #4 on: June 30, 2010, 03:51:58 PM » |
|
In that case, writing a python script to do that automatically shouldn't be too difficult. Could possibly even handle repointing; there should be a pointer table somewhere. I never did finish debugging that sound bl...
|
you can see some differences in the pixels tmpLength = 18; // so it doesn't become 19
|
|
|
P.JBoy
Offline
Job/Hobbies: School ^_^
Game Modding Alignment: Fusion and Super
Posts: 63
|
 |
« Reply #5 on: June 30, 2010, 04:45:40 PM » |
|
Yeah, sound's too fraking complex
|
|
|
|
|
zephyrtronium
bananabanabobana
Moderator
 
Offline
Job/Hobbies: Fractal Artist
Posts: 372
ˆωˆ
|
 |
« Reply #6 on: June 30, 2010, 08:47:42 PM » |
|
Alright, following some work, I was able to find a big table of all sounds in the game at 08F2C0 and determined that the data best fits as 8-bit signed PCM (like gbatek says the DMA channels use) at 16384 Hz in one channel. I still don't understand how to determine the lengths of samples, though. If I were to make a (relatively good) program for editing the game's sound samples, I'd have it read the pointer to the table from 003FEC (or a user-specified location), make it able to relocate said table, give it the ability to relocate the samples themselves, and obviously have it convert input files to the necessary format. I'd still need some help determining sample lengths, though - the subroutine starts at 08003FAC hinthint. 
|
you can see some differences in the pixels tmpLength = 18; // so it doesn't become 19
|
|
|
P.JBoy
Offline
Job/Hobbies: School ^_^
Game Modding Alignment: Fusion and Super
Posts: 63
|
 |
« Reply #7 on: July 01, 2010, 11:00:38 AM » |
|
the data best fits as 8-bit signed PCM
My mistake
|
|
|
|
|
P.JBoy
Offline
Job/Hobbies: School ^_^
Game Modding Alignment: Fusion and Super
Posts: 63
|
 |
« Reply #8 on: July 01, 2010, 11:02:26 AM » |
|
Btw, come on IRC more >:(
|
|
|
|
|
person701
SMP Project Leader

Offline
Job/Hobbies: Smash Bros, Metroid, Zelda, and Music
Game Modding Alignment: Metroid, Super Metroid
Posts: 721
d(~.^)
|
 |
« Reply #9 on: July 01, 2010, 12:27:20 PM » |
|
That some pretty awesome and enjoyable music. =D
|
Since when did people use scientific fact to justify hacking laziness?
[17:41] <Jathys> I thought I could do a suitless run once, but the cops stopped me... Apparently, you\'re not supposed to do that in real life.
|
|
|
|
Crys
|
 |
« Reply #10 on: July 01, 2010, 04:59:21 PM » |
|
|
"Damn you GK, I got permastuck because I used glitches in the game QQ"
so... how many pages of this are there?
<BassZ1890> i swear <BassZ1890> some of these old cartoons <BassZ1890> Super Duper Sumos... <BassZ1890> OMG YES!!! HELLO KITTY'S FURRY TALK THEATER!!!
|
|
|
zephyrtronium
bananabanabobana
Moderator
 
Offline
Job/Hobbies: Fractal Artist
Posts: 372
ˆωˆ
|
 |
« Reply #11 on: July 01, 2010, 07:58:23 PM » |
|
This document seems consistent with what I vaguely remember from my previous attempts at hacking MZM sounds. Probably useful indeed.
|
you can see some differences in the pixels tmpLength = 18; // so it doesn't become 19
|
|
|
P.JBoy
Offline
Job/Hobbies: School ^_^
Game Modding Alignment: Fusion and Super
Posts: 63
|
 |
« Reply #12 on: July 02, 2010, 04:14:58 AM » |
|
Oh wow, I never even thought of looking up a doc about sound implementation. Very recent actually, wondered how I missed that doc
|
|
|
|
« Last Edit: July 02, 2010, 04:18:49 AM by P.JBoy »
|
|
|
|
|
interdpth
Professional Safety Troll
Super Moderator
Offline
Game Modding Alignment: ZM/MF/POKEMANZ
Posts: 92
|
 |
« Reply #13 on: July 07, 2010, 02:22:30 AM » |
|
Get it in midi form and I'll insert it.
|
|
|
|
|
person701
SMP Project Leader

Offline
Job/Hobbies: Smash Bros, Metroid, Zelda, and Music
Game Modding Alignment: Metroid, Super Metroid
Posts: 721
d(~.^)
|
 |
« Reply #14 on: July 07, 2010, 07:45:32 AM » |
|
Get it in midi form and I'll insert it.
When I'm not feeling lazy. It's 8:30am... gimme another 3 hours.
|
Since when did people use scientific fact to justify hacking laziness?
[17:41] <Jathys> I thought I could do a suitless run once, but the cops stopped me... Apparently, you\'re not supposed to do that in real life.
|
|
|
|