Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > DEBUG: about the sound...
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
jonwil is offline jonwil
Settler

Nov 2003
time: 05:31
  Old Post 03-11-2003 16:28
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
suggestion about the sound... Support Apolyton buy from Amazon

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 on 03-11-2003 at 19:47

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:31
Post  Old Post 03-11-2003 20:20 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Enter the AD-FREE zone

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

jonwil is offline jonwil
Settler

Nov 2003
time: 05:31
  Old Post 04-11-2003 04:53
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Its not a problem Support Apolyton, buy Civilization 2

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.

jonwil is offline jonwil
Settler

Nov 2003
time: 05:31
  Old Post 04-11-2003 06:22
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
ok, one import library Increase Your PM Length

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)

jonwil is offline jonwil
Settler

Nov 2003
time: 05:31
  Old Post 04-11-2003 09:39
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
ok, try this header file... Support Apolyton, buy Call to Power 2

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

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:31.
Apolyton Time is 00:31.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0290 seconds (81.71% PHP - 18.29% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net