siMMpLified - put your own tunes into Out Run

Sokurah

Newbie
Credits
72CR
Amazing. I'm impressed with the reverse engineering skills some people have
smiley32.gif

I can usually manage a bit of reversing Z80 code, but 68000 is way over my head
smiley29.gif
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,658CR
Attached is the siMMpLified source of Last Wave. With this you can now replace one of the 3 main game tunes and play the entire game to the soothing electric piano sounds of Last Wave. To be honest it's a little bit downbeat to play the game to, when compared to the main 3 tunes, but some may prefer it. You need to do a little legwork to make the tune repeat when it completes (as it's only 83 seconds long and would ordinarily finish just as you started stage 2) but all the legwork has been done for you. Instructions on how to do this are in the source.

I'm not sure on the legality of posting what is, in effect, extracts of the OR audio rom in source form.....

Have fun!

https://www.ukvac.com/forum/data/uploads/1497/LastWave.zip
 

smf

Active member
Credits
15CR
cmonkey said:
It's certainly going to be a challenge to lose 14Kb out of the combined size of Cruising Line and Camino to squeeze them into the top 32Kb of a 64kb rom!

I suspect you'd have to change the encoding for the songs, potentially using a streamable decompression algorithm.

If you could do that then I won't be tempted to...
 

cmonkey

Active member
vacBacker
Feedback
4 (100%)
Credits
1,658CR
smf said:
I suspect you'd have to change the encoding for the songs, potentially using a streamable decompression algorithm.

If you could do that then I won't be tempted to...

Due to the fact that there's only roughly 576 bytes of available Z80 work ram left when playing a game of OR I think it may be very challenging to implement some kind of streamable decompression algorithm. Divide the 576 by 13 (for number of tracks in a tune) and you're down to roughly 44 bytes per track to decompress into. If the tracks were completely sequential and didn't entertain the concept of loops and subroutines then i'd be slightly more optimistic but they add a level of complexity which would be difficult to overcome as you'd never be able to predict where you needed to decompress from next, unless you could build markers into the compressed stream at each loop point/subroutine to easily jump to and resume decompression from.

Of course if you feel up to a challenge then please, be my guest and go for it...
 
Top