Results 1 to 5 of 5

Thread: DEBUG: about the sound...

  1. #1
    jonwil
    Settler
    Join Date
    03 Nov 2003
    Posts
    12
    Country
    This is jonwil's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 18, 2013
    Local Time
    15:04

    suggestion 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 at 09:47.

  2. #2
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,246
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 18, 2013
    Local Time
    17:04

    Post

    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!"

  3. #3
    jonwil
    Settler
    Join Date
    03 Nov 2003
    Posts
    12
    Country
    This is jonwil's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 18, 2013
    Local Time
    15:04

    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.

  4. #4
    jonwil
    Settler
    Join Date
    03 Nov 2003
    Posts
    12
    Country
    This is jonwil's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 18, 2013
    Local Time
    15:04

    ok, one import library

    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)

  5. #5
    jonwil
    Settler
    Join Date
    03 Nov 2003
    Posts
    12
    Country
    This is jonwil's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 18, 2013
    Local Time
    15:04

    ok, try this header file...

    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

Similar Threads

  1. Replies: 7
    Last Post: May 12, 2009, 15:01
  2. Replies: 13
    Last Post: March 12, 2008, 13:54
  3. Replies: 31
    Last Post: May 8, 2005, 12:10
  4. DEBUG: sucess with the sound! :)
    By jonwil in forum CtP2 Source Code Project
    Replies: 36
    Last Post: January 16, 2005, 21:11
  5. debug.txt
    By VetLegion in forum Civilization I and Civilization II
    Replies: 2
    Last Post: May 14, 2000, 07:18

Visitors found this page by searching for:

debug:about

Miles sound library mss.lib

mss32 civilization 5 gods & kings

miles mss.h

Miles Sound System para o civilization 5

the miles sound system sdk 8

site:apolyton.net crash civ4 debug

miles sound system sdk file

miles sound system sdk

Bookmarks

Posting Permissions