More accurate Lemmings 2/3 Amiga music rips

Started by Tsyu, June 12, 2014, 03:14:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tsyu

I noticed a while ago that the Insanity rips of the Lemmings 2/3 music on Mindless's site (<a href="http://www.camanis.net/lemmings/music.php" class="bbc_link" target="_blank">here</a>) weren't accurate to the originals: Volume commands weren't converted from decimal to hex, slide effects weren't adjusted, some of the notes were assigned the wrong octave, and some other minor inaccuracies.

This got me to try converting the music myself. Since I couldn't find a good MED converter, I decided to made my own. It took a while, mainly because of the way that slide effects work in MED (the specs mention "ST/NT/PT compatible sliding," which made me think of the Atari computers; I didn't figure out until several days ago that it was referring to SoundTracker, NoiseTracker, and ProTracker!). Also, because MED supports tempos much higher that what MOD can handle (and many of the Lemmings 2 tracks take advantage of this), I still had to manually edit the resulting MOD files, which took a while in some cases.

Anyway, here are the files that I was able to produce. They should sound almost exactly the same as the originals, with none of the problems present in the Insanity rips.

Lemmings 2: https://www.dropbox.com/s/spzybctcm4ex9gz/Lemmings2_MODs.zip?dl=1
Lemmings 3: https://www.dropbox.com/s/cuh0m87hebh4d42/Lemmings3_MODs.zip?dl=1

Mindless

Neat.  How is your MED-converter tool built?  I've been meaning to rebuild and release my SJS-converter tool, but conversion has always included a significant manual-input process, so I've not done it.

Tsyu

How is your MED-converter tool built?
I'm not entirely sure what you mean by this. Are you asking what language I wrote the tool in (it's Java)? Or are you asking what the program does to convert MED files to MOD? (I'm guessing you want to know the latter.)

Mindless

What it does for MED to MOD would be interesting, but mostly I was wondering how you produced the MOD file -- a MOD library or something you built yourself?

Tsyu

I made the MOD writer myself. In case you're interested, here are the documents that I used to learn about the MOD and MED formats:

MOD:
MED:

Mindless

I re-ripped the http://www.camanis.net/lemmings/music.php" class="bbc_link" target="_blank">Lemmings/ONML/Holiday Lemmings music.  Really the only nearly-significant thing that changed was the speed of the songs were all a bit off before.  The sample names in the MODs now reflect the file names of the original samples.
I put up the https://bitbucket.org/mindless/sjstomod/src" class="bbc_link" target="_blank">SJS-to-MOD converter source code also -- not that it's terribly useful after it's done its job once since the Amiga Lemmings series were the only games known to have used the format. http://www.lemmingsforums.com/Smileys/lemmings/tongue.gif" alt=":P" title="Tongue" class="smiley" />

Tsyu

I noticed that, when your code rips a sample, it reads every byte of the body after the size value. Instead, the number of bytes it should read should be the sum of oneShotHighOctaveSamples and repeatHighOctaveSamples (as your code calls them), which is sometimes a few bytes less than the size of the body. This is necessary to prevent certain samples (like the one that's called "drum") from having annoying clicks at the end.

I also noticed that most of your new ONML MODs start a row late. Is this really how the original files are like, or is it caused by a bug in your program?

(Also, I've got to say, thank you very much for leaving in the sample numbers where the B-3 notes were meant to go. This allowed me to add them back in for SuperLemmini.)

Mindless

This is necessary to prevent certain samples (like the one that's called "drum") from having annoying clicks at the end.
Oh, good to know.  I noticed the clicks, but I didn't know that I was overreading the sample.

I also noticed that most of your new ONML MODs start a row late. Is this really how the original files are like, or is it caused by a bug in your program?
SJS modules aren't necessarily a multiple of 64 rows, so I collapse the initial silent rows of the module until it is a multiple of 64 rows.  (The initial rows set the volumes and turn off the Amiga's high-cut filter.)  I believe the Lemmings songs were http://eab.abime.net/showthread.php?t=19998#6" class="bbc_link" target="_blank">composed in SoundFX (hence the https://bitbucket.org/mindless/sjstomod/src/ce166659cf113a2bc804df5db394d5d26910e6a0/src/org/intoorbit/sjstomod/SjsModule.java?at=default#cl-160" class="bbc_link" target="_blank">BPM calculation) which did require a multiple of 64 rows, but converting them to SJS required adding the set-up rows.  Technically, collapsing the initial rows probably affects song looping compared to the actual game, but I don't feel bad about losing the initial rows because they were incidental rather than intentional.

The Oh No, More Lemmings! tracks are a multiple of 64 rows, so nothing gets collapsed.  (For example, Tim1 is 898 rows % 64 = 2, but Tune1 is 768 rows % 64 = 0.)  When I ripped them semi-manually I probably just stuck the first note in the first row.

The exception is the Lemmings intro tune which is its own weirdness.

(Also, I've got to say, thank you very much for leaving in the sample numbers where the B-3 notes were meant to go. This allowed me to add them back in for SuperLemmini.)
They don't play, so no reason to take them out. http://www.lemmingsforums.com/Smileys/lemmings/winktounge.gif" alt=";P" title="Wink-Tongue" class="smiley" />

Mindless

I just realized that there are some songs in the Amiga Lemmings demo that aren't used in the demo.  So here is a http://www.camanis.net/lemmings/files/rips/music/lemmings_demo_mod.zip" class="bbc_link" target="_blank">rip of the Amiga Lemmings demo music.  The unused songs aren't terribly useful, but they're kinda fun.

I based the rips on the "Wanted Team" SJS/SMP files because, as far as I can tell, the information for the unused music that maps instrument numbers to samples isn't included on the disk.  It's definitely not where the information for the music that actually was used is stored.  (I guess maybe the "Wanted Team" just picked samples that they thought fit?)

Tsyu

Interesting. If there's lots of music that isn't used, I wonder if the same is true for the levels. I know that the Amiga demo has five levels for one-player mode and two for two-player, one of which didn't make it into the final game. Could you check to see whether the demo has more levels than those seven?

(And I know that this is getting off-topic, but I can't seem to find the answer to this: Was the Amiga Lemmings demo released to the public back when it was made, or was it used only internally and in promotional material?)

Mindless

I can't say there's anything terribly interesting in the http://www.camanis.net/lemmings/files/rips/levels/amiga_lemmings_demo_levels.zip" class="bbc_link" target="_blank">Amiga Lemmings demo level files, unfortunately.

As for what the demo was used for, I don't know any more than you do. http://www.lemmingsforums.com/Smileys/lemmings/tongue.gif" alt=":P" title="Tongue" class="smiley" />

Prob Lem

I just realized that there are some songs in the Amiga Lemmings demo that aren't used in the demo.  So here is a http://www.camanis.net/lemmings/files/rips/music/lemmings_demo_mod.zip" class="bbc_link" target="_blank">rip of the Amiga Lemmings demo music.  The unused songs aren't terribly useful, but they're kinda fun.

I based the rips on the "Wanted Team" SJS/SMP files because, as far as I can tell, the information for the unused music that maps instrument numbers to samples isn't included on the disk.  It's definitely not where the information for the music that actually was used is stored.  (I guess maybe the "Wanted Team" just picked samples that they thought fit?)
Only "kinda fun"?! http://www.lemmingsforums.com/Smileys/lemmings/wink.gif" alt=";)" title="Wink" class="smiley" /> That's an understatement if ever I saw one - this is the game's *original* original soundtrack! What a brilliant find! Congratulations! http://www.lemmingsforums.com/Smileys/lemmings/thumbsup.gif" alt=":thumbsup:" title="Thumbs Up" class="smiley" />

I always wondered what the game sounded like before they brought Tim Wright in to stop the soundtrack from (as I've roughly heard it described) infringing on countless copyrights, and what's more, the Scooby-Doo theme being in there fully explains why there's samples in Lemmings' rendition of How Much Is That Doggie In The Window? that sound extremely Scooby-Doo-like (I'm a big fan of the show - I noticed it from the very first time I heard it).

Many, many thanks for answering a question that's not only been driving me nuts for years, but that I didn't actually expect ever to be answered. http://www.lemmingsforums.com/Smileys/lemmings/wink.gif" alt=";)" title="Wink" class="smiley" />

I'll get this MP3'ed when I can, as I've done with mods from various ports of the game.

(And I know that this is getting off-topic, but I can't seem to find the answer to this: Was the Amiga Lemmings demo released to the public back when it was made, or was it used only internally and in promotional material?)
As for what the demo was used for, I don't know any more than you do. http://www.lemmingsforums.com/Smileys/lemmings/tongue.gif" alt=":P" title="Tongue" class="smiley" />
I can answer that.

It was used for both press and public promotion. A crack of the demo with the old rocky-looking title card, cracked by the Amiga cracking group Skid Row, exists in standalone form, and given the title card's presence, I'd wager that they got it from a press contact (as was, apparently, something that happened with such groups). Reason being, the exact same demo appears on the cover-disks of http://amr.abime.net/issue_66" class="bbc_link" target="_blank">the December 1990 issue of CU Amiga, and http://amr.abime.net/issue_174_coverdisks" class="bbc_link" target="_blank">Issue 174 of Amiga Format, from January 1991, but with the title card cut out on at least the Amiga Format disk (the download for the CU Amiga one had to be removed, as it was an iffy dump containing a virus).

I've never actually had the time to give the demo a proper look before, but I'm really glad that you guys prompted me to do so with this discussion here. http://www.lemmingsforums.com/Smileys/lemmings/laugh.gif" alt=":D" title="Laugh" class="smiley" /> The little differences are odd, like the Bombers not clutching their heads before exploding, and only freezing with a question-mark above their noggins, instead, and the apparent lack of the shrugging animation when a Builder runs out of bricks.

EDIT: Oops, it appears that the standalone demo implements the head-clutching Bombers, the shrugging Builders, better collision-detection and priorities, the correct explosion noise, and the formerly missing sound effects from the Amiga Format one when using Z and X to switch skills when paused (as well as being able to use P to unpause, and probably other hotkeys as well), so it's ever-so-slightly different (I also notice that the rock in This should be a doddle! no longer has a completely flat side in this one). I suspect that the CU Amiga one is identical to the standalone one that was cracked by Skid Row, though, since it's from the same time. Sorry for the minor error - I'm still floored by the soundtrack find. http://www.lemmingsforums.com/Smileys/lemmings/laugh.gif" alt=":D" title="Laugh" class="smiley" />

EDIT: Wow, turns out the standalone demo has slightly different levels, as well. You guys might want to have a look at the Amiga Format one, then! It's pretty clearly even older, given the magazine publishing lead-times of the day. And it has a level that, as far as I know, is not in the final game, "One Way to Freedom" ( LPVMXDGJIO ).

EDIT: Yep, yet another edit. I have no idea if the two-player levels have any differences, but in the standalone and Amiga Format demos, there a couple of shared levels that are different to each other and to the final game, as well. I also found out that the standalone demo is similar to, but apparently not quite the same as, http://eab.abime.net/showpost.php?p=407046&postcount=16" class="bbc_link" target="_blank">one given out at a computer show of the era (which has different levels and a slightly different level order, again), and that it was possible to also get these demos by post directly from Psygnosis, which may also be the origin of the standalone demo.

Mindless

EDIT: Wow, turns out the standalone demo has slightly different levels, as well. You guys might want to have a look at the Amiga Format one, then!

Unfortunately, I don't know how to get the files off of the cover disk.  I would suspect they cut anything extra though, since there had to be multiple demos on one floppy.

Tsyu

I'll take a look at the Amiga Format demo once I am able to download Amiga Forever again. If that demo works like the full version of Lemmings, I should be able to rip that level (and any other levels that aren't in the final release) from an uncompressed savestate.

Prob Lem

EDIT: Wow, turns out the standalone demo has slightly different levels, as well. You guys might want to have a look at the Amiga Format one, then!

Unfortunately, I don't know how to get the files off of the cover disk.  I would suspect they cut anything extra though, since there had to be multiple demos on one floppy.
I don't either - I never had an Amiga of my own (I only experienced it via other people), so I lack the experience required. I'm going to ask some folks I know who might know, though.

I'll take a look at the Amiga Format demo once I am able to download Amiga Forever again. If that demo works like the full version of Lemmings, I should be able to rip that level (and any other levels that aren't in the final release) from an uncompressed savestate.
Oh, awesome! http://www.lemmingsforums.com/Smileys/lemmings/laugh.gif" alt=":D" title="Laugh" class="smiley" />

The unused level, One Way to Freedom, is really rather good, incidentally. I even found that there's a (slightly glitchy, as it depends on utilising this earlier rendition of the collision-detection in a particular way, in order to turn around at one point) way of saving 100% of the lemmings in it.