Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > NSF to ROM? Owner: fireseed New post
Page 1 of 1 Sort:  
NSF to ROM? Posted: 2010-02-07 07:14 Reply | Quote
fireseed



Member for: 4516 days
Status: Offline

#4404
I have looked all over this forum but can find NO mention of anyone trying to do this, which I thought was kind of odd...Is there any known way to change the music of a well-known rom image like super mario bros? Or is there no good way to locate it in the hex?
Maybe I am just missing the proper resource, but I think this would be a craft worthy of dedicating some time to if anyone could point me in the right direction,
Thanks!!!

Posted: 2010-02-07 13:11 Reply | Quote
Shiru



Member for: 4890 days
Location: Russia, Moscow
Status: Offline

#4406
You can change music in any game using HEX editor, but you can't replace it directly with music from FamiTracker. There is many reasons why this so.

Posted: 2010-02-07 15:08 Reply | Quote
tssf



Member for: 4937 days
Location: Victoria, BC
Status: Offline

#4407
Each game uses their own little drivers, so it's not exactly easy to change the music from games. The game systems handle the musical notes, sound effects, etc all differently. FamiTracker being a tracker-based software is inefficient in terms of how music data is stored as well, and it's definitely different than the way the music from other games are programmed, so there's no way it would play back properly. At least, that's to my understanding. I could be wrong.

Posted: 2010-02-07 18:38 Reply | Quote
fireseed



Member for: 4516 days
Status: Offline

#4410
Alright that is fair, but surely people here have seen some good examples of people transferring famitracker nsf's to their own roms. And I know rom's with hacked music do exist.
Here is a line rom the super mario bros rom disassembled which might lend some insight;

SND_REGISTER = $4000
SND_SQUARE1_REG = $4000
SND_SQUARE2_REG = $4004
SND_TRIANGLE_REG = $4008
SND_NOISE_REG = $400c
SND_DELTA_REG = $4010
SND_MASTERCTRL_REG = $4015

---
In any case there are some tutorials for it on romhacking.net and lots to be learned with vegaplay, so I'll report back here when I find us some better answers.

Posted: 2010-02-07 18:56 Reply | Quote
Shiru



Member for: 4890 days
Location: Russia, Moscow
Status: Offline

#4412
There is no problem to use music exported from FamiTracker in your own code. If you going to replace player in some game to FamiTracker player, you'll get ton of problems: you should fit new data somehow, probably with reorganizing game data as well; you should mix sound effects with music (probably they were played by old music player); you should fit everything in the same amount of CPU time. This is not some simple hacking, as in case with alternating music data for original player, so there can't be any tutorials.

Page 1 of 1 Sort: