It is currently Wed Nov 22, 2017 9:59 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Wed Nov 19, 2014 11:36 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5825
Location: Canada
Probably most people never noticed, but two of the tracks in StarTropics have always been slightly broken. I decided to disassemble it and fix them. I made a video about it here:

Image
Fixing Startropics


IPS patch: http://rainwarrior.ca/projects/nes/startropics_music_fix.ips
NSF: http://rainwarrior.ca/projects/nes/startropics_music_fix.nsf
Source: http://rainwarrior.ca/projects/nes/startropics_music_fix.zip

NSF of original soundtrack for comparison: http://rainwarrior.ca/projects/nes/startropics.nsf

The source is probably of interest to the NESDev crowd. I made a fully labelled disassembly, and documented the process a bit. Anyone looking to hack StarTropics' music should have all the info they need right at hand with this. I suppose you could even borrow its music engine if you wanted (but it's really limited, maybe not great to use, possibly fun as a challenge).

The NSF of the original soundtrack is a new rip I made built from the disassembly to prove I had done it correctly. It's not significantly different than the existing NSF rip of StarTropics, but it doesn't have unused data stripped out.


Top
 Profile  
 
PostPosted: Thu Nov 20, 2014 8:02 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3950
Will this be posted on romhacking.net? They have a section for bug fixes.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Thu Nov 20, 2014 8:37 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5825
Location: Canada
I tried to submit to romhacking.net yesterday, but this morning I got an e-mail telling me that, apparently, I didn't get the submission ritual exactly right and will have to do it again. Site has a lot of usability issues. D:


Top
 Profile  
 
PostPosted: Thu Nov 20, 2014 8:54 am 
Offline

Joined: Mon Feb 03, 2014 1:08 am
Posts: 2
Great work! Thanks for sharing your disassembly as well!

Always thought the ending music didn't fit the game, but the fixed tune certainly does


Top
 Profile  
 
PostPosted: Thu Nov 20, 2014 4:29 pm 
Offline

Joined: Sun Mar 19, 2006 9:44 pm
Posts: 920
Location: Japan
Very cool, and thanks for giving a thorough explanation in your video.

(Also, your speaking voice/style sounds a lot like my own... maybe it's a Canadian thing?)

_________________
http://www.chrismcovell.com


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 7:16 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3950
I think it may be buggy, try listening to the music on the first level, a channel cuts out after a while and starts playing weird high notes. Perhaps they shared data with the overworld theme?

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 7:56 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5825
Location: Canada
All of the music data was accounted for in the disassembly. Nothing is shared between tracks.

Maybe tell me your ROM's CRC and which emulator you were using? I have tested on two Startropics ROMs, the (U) one matched the dump from my own cartridge, and the (Europe) one I have seen has identical music data (so the same IPS works on it).


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 9:33 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3950
File matches bootgod's CRC32s, I was using FCEUX (old ppu). Rom's mapper was set to mapper 4 (MMC3).

Crap, it was just the low hearts beeping....

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Mon Nov 24, 2014 10:25 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5825
Location: Canada
Oh, ha ha.


Top
 Profile  
 
PostPosted: Wed Nov 26, 2014 8:13 pm 
Offline

Joined: Wed May 04, 2011 2:41 pm
Posts: 421
Location: Montréal, Canada
I got to say that it is a pretty awesome job you did. Very interesting! I wonder if the programmer did not notice or didn't think it was a big deal enough to fix.

Now the next time Canada get blamed for Justin Bieber, I'll be able to fight back and state proudly that Canada also fixed StarTropic's soundtrack! Xp


Top
 Profile  
 
PostPosted: Wed Nov 26, 2014 8:21 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3192
Location: Mountain View, CA, USA
SkinnyV wrote:
I got to say that it is a pretty awesome job you did. Very interesting! I wonder if the programmer did not notice or didn't think it was a big deal enough to fix.

Quoting myself on Twitter: I'd bet money someone noticed these at the time but deadlines & priorities never allowed for its resolution.


Top
 Profile  
 
PostPosted: Sun Nov 08, 2015 8:23 pm 
Offline

Joined: Tue Nov 23, 2004 9:35 pm
Posts: 620
A bit late to this discovery, but I did want to inform everyone that this fix works in both the PowerPak and EverDrive N8 despite the Mapper 4 issue.

_________________
Nerdly Pleasures - My Vintage Video Game & Computing Blog


Top
 Profile  
 
PostPosted: Sun Nov 08, 2015 8:30 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5825
Location: Canada
It plays nice with any emulator that ignores the MMC3's RAM disable function, since without that it's MMC6 compatible. No MMC3 or MMC6 games actually rely on these bits to function, but they do get used to try and protect the data against accidental corruption, so they'll have an effect if you implement them.

If you don't implement the RAM disable in mapper 4, though, your emulator probably has a problem with Low G Man due to a bug in its music code, which is why I patched it too: http://forums.nesdev.com/viewtopic.php?f=2&t=13105


Top
 Profile  
 
PostPosted: Wed Nov 11, 2015 1:08 am 
Offline
User avatar

Joined: Thu Sep 07, 2006 1:08 pm
Posts: 542
Location: United States
Oh, hey! I didn't notice this thread before. Now that I've played & beaten StarTropics I suppose I can partake in this discussion now. :mrgreen:

Your, sir Brad Smith, are a gentleman and a scholar. I fell in love with that ending theme since day one, and it's nice to know there's more to it--it's kinda like listening to the Ninja Ryukenden soundtrack release with those extra notes added. :mrgreen:

koitsu wrote:
Quoting myself on Twitter: I'd bet money someone noticed these at the time but deadlines & priorities never allowed for its resolution.


It's a shame. This could have been fixed for the Virtual Console release (I take it it wasn't?).

_________________
Ruling the World One Bean™ at a Time...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group