Microsoft Interactive Music by RukarioGyiyg996 at 8:09 AM EST on December 24, 2012
I'm probably going to get absolutely zero response on this one, but I'm throwing it out there out of spite.


Does ANYONE know anything at all that could playback the .sty's and .sec's of the IMA system? It's basically the infantile precursor to DirectMusic.

It was used in Blood 2 and Shogo: Mobile Armor Division, perhaps also in Alien vs. Predator 2.

first few bytes of a .sec:
RIFF $C4 $02 NUL NUL AASEsecnx

and first few for .sty:
RIFF $02 & NUL NUL AASYstyl^ NUL NUL NUL S NUL h NUL o NUL p NUL o NUL p NUL 1

The string there in the .sty reads "Shopop1" for whatever reason it splits each character with a NUL.


There's also a iMusic.ini that looks sorta like this:


[Personalities]
NbrPersonalities=1
Magic=2469226140
Name1=Silence
UserName1=Silence
File1=SILENCE.PER

[Styles]
NbrStyles=9
Magic=2596743547
Name1=Shopop1
File1=shopop1.sty
Category1=
GUID1={0B7B5BA2-0B62-11D2-9392-006097742299}
TimeSig1=262148
CPB1=4
Name2=Shopop2
File2=shopop2.sty
Category2=
GUID2={0B7B5BA4-0B62-11D2-9392-006097742299}
TimeSig2=262148
CPB2=4
Name3=Shopop3
File3=shopop3.sty
Category3=
GUID3={FDB3D282-0C16-11D2-9392-006097742299}
TimeSig3=262148
CPB3=4
Name4=Shopop4
File4=shopop4.sty
Category4=
GUID4={8FC65D28-0C29-11D2-9392-006097742299}
TimeSig4=262148
CPB4=4
Name5=Shopop5
File5=shopop5.sty
Category5=
GUID5={8FC65D2B-0C29-11D2-9392-006097742299}
TimeSig5=262148
CPB5=4
Name6=Shopop6
File6=shopop6.sty
Category6=
GUID6={8FC65D24-0C29-11D2-9392-006097742299}
TimeSig6=262148
CPB6=4
Name7=Shopop7
File7=shopop7.sty
Category7=
GUID7={8FC65D27-0C29-11D2-9392-006097742299}
TimeSig7=262148
CPB7=4
Name8=Shopop8
File8=shopop8.sty
Category8=
GUID8={8FC65D2E-0C29-11D2-9392-006097742299}
TimeSig8=262148
CPB8=4
Name9=Spopinit
File9=spopinit.sty
Category9=
GUID9={8FC65D2D-0C29-11D2-9392-006097742299}
TimeSig9=262148
CPB9=4



Ficedm doesn't understand this ancient format and Google isn't helping. (As if it ever did for me, I just get lead to places to download the DLL's for IMA and articles about it's introduction into video gaming... as well as a article about how to set it up on a website of all things)

If anyone has any clue to this estranged format and how to get it playing (or better convert it to dmsp aka Direct Music Producer) I'll be eternally grateful.

DLL's involved with the API (as far as I can tell):

AM18.dll - Microsoft AudioMan
IMRT25.DLL - Microsoft Interactive Music Engine - RT
IMRT1625.DLL - Microsoft Interactive Music Engine - RT16
IMRT3225.DLL - Microsoft Interactive Music Engine - RT32
IMUSIC25.DLL - Microsoft Interactive Music Engine
MSynth25.dll - Microsoft Synthesizer


P.S. If anyone needs files and feels confident to look into this.. reply and I'll upload the shopop folder to my dropbox.
OK by B at 6:43 PM EST on December 26, 2012
I'll have a look, please upload the files. BTW, you should try searching for info at Microsoft about the engine, particularly about the API it uses.
Here you go stranger. by RukarioGyiyg996 at 12:10 PM EST on December 27, 2012
http://udhq.org/dl/Shogo.tar

Last time I ever been to the microsoft website for information most of it's buried beneath all the Windows 8 hype. I'll try looking around but most information I ever found was about DirectMusic more than IMA...

EDIT: If you need the DLL's too or hell a copy of the game itself (a legit copy since I have cash to spare... for the moment) let me know. The game goes pretty cheap (usually) on GOG.com and has a working installer that does not rely on 16-bit installshield to work.

edited 12:16 PM EST December 27, 2012
by henke37 at 6:10 PM EST on December 27, 2012
Start by using a generic RIFF viewer. I use RIFFPad myself. It greatly aids here.

As for the "splits every character with a null", that's what Microsoft likes to call Unicode, but in reality is UTF-16.

edited 6:12 PM EST December 27, 2012
by B at 11:57 PM EST on December 29, 2012
I have good news and bad news.
The bad ones:
1) The file structure used it's kinda complicated and for sure difficult (if not impossible?) to convert to another midi-like format, unless Microsoft released the papers describing the format.
2) For playback, we could use the original libraries... either by figuring out the way the API works (debugging 'em) or using a SDK provided by Microsoft (if it was ever released). Debugging 16-bit code (or creating a 16-bit player) seems rather useless, so...
The good ones:
1) At least in this game, the audio system clearly uses 'layered' music, so recreating the music from scratch should be a piece o' cake! All the samples are just big parts of the actual song, there are 3 instruments and 15 samples only!
2) I have extracted all the sample data for you ;-) so here it is:
All the samples in WAV format and IT & FT2 instruments just in case you want to track something...
That's all for now...
by RukarioGyiyg996 at 9:22 PM EST on January 1, 2013
Ah thanks, do you recommend anything (or actually HAVE anything) that will just dump all the sounds in a DLS to wav with the proper sampling rates? Since my original plan a long time ago was to make IT's out of Shogo and Blood II's music.
by B at 9:49 PM EST on January 1, 2013
Hmmm, I don't know if a 'DLS WAV dumper' exists; I guess it's enough to open the DLS in a soundfont editor and grab the wavs manually. About that, I've been told Awave Studio it's the best DLS editor, but it isn't free and I haven't found a cracked version yet... :-(
BTW, can you explain the 'with the proper sampling rates' thing? The DLS format already stores sample rates, so...
by dj4uk6cjm at 10:10 PM EST on January 1, 2013
There are alot of awave studio cracks on 4shared, rapidlibrary and filestube has some links...i would link some but i'm not all entirely sure if there virus free or not, you wanna be safe y'know :) lol man awave studio seems to have all the answers to everything dls.
by RukarioGyiyg996 at 12:18 AM EST on January 2, 2013
Well to explain, what I primarily use to get into DLS in the first place is OpenMPT and for that matter "ModPlug Tracker"... It's a *HORRIBLE* tracker and sometimes when getting the samples out of DLS they are in some ridiculous sample rate "we're talking WAY beyond frequency response 47789965 hz or something like that)

I'm pretty sure it's a stupid bug but it's really retarded that I have to guess the sampling rate because MPT doesn't know it.

There's also the problem that the instrument in the DLS has more than one sample, dragging and dropping it into samples only picks the first most one, whereas dragging it into instruments grabs all of it but gives them bogus sampling rates (probably to make it play properly as a instrument but I do not use instrument control in my IT's only sample control so I have to guess what the correct sampling rate is)

I wonder why it's never crossed anyones mind that there should be a FOSS thing dealing with DLS, if OpenMPT can almost do it why have some proprietary program hold a monopoly over it? I might look into DLS myself and RIFF and make my own damn ripper.
by dj4uk6cjm at 2:44 AM EST on January 4, 2013
Edit: Found awave studio here, tested and works. i don't think it's a cracked version either, MSE and malwarebytes scan results came back clean. it's an older version though (newest is 10.6) enjoy. :)





Double Edit: Hmm...that's weird. my previous link above is acting strangly. ok i've uploaded the file here just incase http://www.filedropper.com/awavestudiov10.

edited 2:57 AM EST January 4, 2013


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source