PDA

View Full Version : SMB1 music data location?


RaiBlastoise
03-07-2005, 10:25 PM
Where is the music kept in SMB1 and is it compressed?
P.S. Am I the only one here that hacks SMB1?

<P ID="signature"><hr>
Eat Miak and Die!</P>

CROcOp
03-07-2005, 10:28 PM
> P.S. Am I the only one here that hacks SMB1?
No, you are about 100th.<img src=smilies/magbiggrin.gif>

<P ID="signature"></P>

RaiBlastoise
03-07-2005, 10:34 PM
> > P.S. Am I the only one here that hacks SMB1?
> No, you are about 100th.

Thx, but that wasn't exactly the gist of my letter.

<P ID="signature"><hr>
Eat Miak and Die!</P>

CROcOp
03-07-2005, 10:38 PM
> Thx, but that wasn't exactly the gist of my letter.
>
Still a question.<img src=smilies/magbiggrin.gif>
Anyways, all hackers hack smb because it is an easiest one. Even I hack it, just to understand how it works.

<P ID="signature"></P>

Disch
03-07-2005, 10:43 PM
> Where is the music kept in SMB1 and is it compressed?

http://www.romhacking.com/docs/gamespec/nes/smbmusic.txt

If the link gives you an error copy/paste it to the address bar (the site its hosted on doesn't like offsite linking)

<P ID="signature"></P>

Lillymon
03-07-2005, 11:07 PM
> Where is the music kept in SMB1 and is it compressed?

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!

No.

> P.S. Am I the only one here that hacks SMB1?

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!

No.

<P ID="signature"><marquee direction=left scrollamount=8><img src=http://home.graffiti.net/lillymon:graffiti.net/images/keletav.gif></marquee>
!luos ruoy tae lliw stelek ehT</P>

Gavin_86
03-09-2005, 04:39 AM
thank you, your insight is truly without equal.

<P ID="signature"><center>From my bed I watch TV, Drunk by noon but that's okay, I'll be president someday

.::http://gavin.panicus.orgGavin.Panicus.org</a> ::.</center></P>

Lenophis
03-09-2005, 05:55 AM
<blockquote><font class="small">In reply to:</font><hr>

Anyways, all hackers hack smb because it is an easiest one. Even I hack it, just to understand how it works.

<hr></blockquote>
I didn't. <img src=smilies/magbiggrin.gif> Then again, I'm not all hackers. <img src=smilies/moon.gif>

<P ID="signature"><img src=http://leno.hypher.net/images/sig.png border=0> (http://disch.zophar.net)
"For lovers of irony; I'll just say one thing...wishes do come true." - Lobster Cowboy</P>

Dan
03-09-2005, 11:31 AM
> In reply to:Anyways, all hackers hack smb because it is an
> easiest one. Even I hack it, just to understand how it
> works.
> I didn't. Then again, I'm not all hackers.

I didn't either. The first game I hacked was quite possibly Teenage Mutant Ninja Turtles.


<P ID="signature"><div align="center"><font size=2>http://dan.panicus.orgDan's Space</a></font></div></P>

CROcOp
03-09-2005, 01:30 PM
> I didn't either. The first game I hacked was quite possibly
> Teenage Mutant Ninja Turtles.
>
Yeah, I know. You are the best hacker around. :P

<P ID="signature"></P>

CROcOp
03-09-2005, 01:34 PM
> I didn't. Then again, I'm not all hackers.
>
Okay, and edit:
Most of the hackers hack smb beacuse it's an easiest one.<img src=smilies/magbiggrin.gif>

<P ID="signature"></P>

RaiBlastoise
03-09-2005, 04:36 PM
You don't believe me when I say there's no text?

<P ID="signature"><hr>
Eat Miak and Die!</P>

cKy-2K
03-14-2005, 12:14 AM
>http://www.romhacking.com/docs/gamespec/nes/smbmusic.txt


what would be the best hex editor for doing this?

<P ID="signature">~Camp Kill Yourself~</P>

CROcOp
03-14-2005, 11:38 AM
> what would be the best hex editor for doing this?
>
Any hex editor is good. A lot of people reccomend Hexworkshop (http://www.bpsoft.com/). I also use it.

<P ID="signature"></P>

cKy-2K
03-14-2005, 04:56 PM
What do I do to enter the "$" mode on hex workshop?

<P ID="signature">~Camp Kill Yourself~</P>

Disch
03-14-2005, 05:54 PM
> What do I do to enter the "$" mode on hex workshop?
>

A dolloar sign prefixing a number just means that the number is in hex. Most hex editors use hex by default (it is a hex editor -- and I don't know who in their right mind would use offsets in decimal)

<P ID="signature"></P>

cKy-2K
03-14-2005, 09:52 PM
Holy shit this is hard. Is there anyway to make it read a diffrent section for the notes? And if so, can I import a NSF?
I got a hex editor that can extend the rom's size. It's funny, bucause Dahrk Hax makes hacking look as easy as walking for him.

<P ID="signature">~Camp Kill Yourself~</P>

Disch
03-14-2005, 10:09 PM
> Holy shit this is hard.

Yes, when it's new it's confusing and intimidating. Once you get familiar with it though, it really isn't all that bad.

> Is there anyway to make it read a
> diffrent section for the notes?

I don't know what you mean by that. Could you be more detailed?

> And if so, can I import a NSF?

The only NSF you'll be able to import is SMB1's (since it was ripped from the game /wwwthreads/images/icons/tongue.gif) -- and even that would likly take some work. NSFs aren't like a common music format like MIDI or whatever -- each NSF is as unique as an NES ROM. They all operate their own way. Dropping X NSF into Y game may seem like it should be possible, but it's asking more than you realize.

> I got a hex editor that can extend the rom's size.

Expanding a ROM isn't as simple as adding bytes to the end. SMB1 is the maximum size any NES rom can be (40k) without adding a mapper. Any bytes you tack on to the end of that 40k will just be ignored by the emulator. It would take a good grasp of 6502 and some work to add a mapper and actually be able to expand the ROM.

> It's funny, bucause Dahrk Hax makes hacking look as easy as
> walking for him.

Well he's been doing it a looooooooong time ;D.

<P ID="signature"></P>

cKy-2K
03-16-2005, 04:28 AM
>Expanding a ROM isn't as simple as adding bytes to the end.

I know, but you can actually epand it and it works fine. With this, you can make the already inputed codes to read the extra coding. I really hate how NSFs in a NES rom have diffrent ways to read the coding on how to play the music.

<P ID="signature">~Camp Kill Yourself~</P>

Disch
03-16-2005, 06:22 AM
> I know, but you can actually epand it and it works fine.

Well... yeah. But like I said the stuff you tack onto the end will likely just gets ignored by the emulator.

> With this, you can make the already inputed codes to read
> the extra coding.

If you're thinking you can just slap info at the end of the ROM and make the game use it, you're wrong. NES ROM expansion isn't that simple -- as I tried to say before.

However... you're right on some level -- in that you can add more space for code and edit the existing code to jump to your new code. However this is a fairly complex process (especially in the case of SMB1 since there's supposedly very little free space to work with).

> I really hate how NSFs in a NES rom have
> diffrent ways to read the coding on how to play the music.

Thems the breaks.

An NSF (like an NES ROM), is a fully self contained executable. NSFs are to NSF players what NES ROMs are to NES emulators. Games are going to use different music formats just like they use different level formats... and different ways of storing stats, and other data. Yeah it would be nice if every game everywhere was coded so that data could easily be interchanged, but that's a pipe dream.

<P ID="signature"></P>