The problem is the *.lib, it is some sort of compiled file. Well if you know how to create such a file no problem, but if the files have to be written anyway then we can also write it from scratch.
-Martin

some facts:
1.the Miles Sound System is (as far as I know) made up of the dlls, the SDK (the .h and .lib files) and the documentation for same.
2.the dlls are included on the CTP2 cdrom
3.we dont have the SDK itself (the headers/libs or the docs)
However, we do have source code that calls into
Why not just look at the CTP2 source code and figure out from the source code what the .lib and .h for MSS should look like?
Since we arent distributing anything thats (c) rad game tools (i.e. the dll, headers, libs or anything), we arent violating copyright.
Plus, we dont need to re-write any of the sound code.
For the *.lib, its almost certainly an Import Library (because the names of the functions being called by CTP2 match exactly the names of the functions in the mss dll). And we dont need the origonal Rad Game Tools import library to generate one of our own...
And (from a brief look at the code), it shouldnt be hard to snythesize enough of the header file for CTP to build (although if someone else wants to disagree with me, please do so
Anyhow, feedback on my idea is wanted.
Last edited by jonwil; November 3, 2003 at 09:47.

The problem is the *.lib, it is some sort of compiled file. Well if you know how to create such a file no problem, but if the files have to be written anyway then we can also write it from scratch.
-Martin
Civ2 military advisor: "No complaints, Sir!"

The *.lib is an Import Library (at least it looks that way), basicly it doesnt contain any code, just references that point at the *.dll.

http://users.tpgi.com.au/jonwil/mss32.lib
Try this, its a (I presume) 100% working import library for mss32.dll
any problems with it, let me know
Now someone else can make a *.h file (since I dont have the time to do so)

Its a modification of the stub header someone posted in another thread.
http://users.tpgi.com.au/jonwil/mss.h
Hopefully these 2 files will (when compiled into CTP2) make MSS just work.
Havent really tested them yet though.
Next step is to give the thing a complete playtest.
Should you get crashes (which are quite possible), put some "debug" output statements of some kind just before calls to MSS and see which function is crashing, then one can try and work out whats wrong![]()
Bookmarks