Announcement

Collapse
No announcement yet.

DEBUG: about the sound...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DEBUG: about the sound...

    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, 10:47.

  • #2
    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!"

    Comment


    • #3
      Its not a problem

      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.

      Comment


      • #4
        ok, one import library


        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)

        Comment


        • #5
          ok, try this header file...

          Its a modification of the stub header someone posted in another thread.



          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

          Comment

          Working...
          X