 |
|  |
 |
|  |
 |
|  |
 |
|  |
 |
|
Fromafar
|
|
Locutus:
I have retried it from scratch (the CTP_Source.exe). When starting with a final build the first time, the Command and Output fields for e.g. ui\ldl\ldl.l are definitely empty. As J.Bytheway suggested, doing a debug build first will solve the problem by generating the .c and .h files.
On the other hand, the final build for me has the same behaviour as the original ctp2.exe with regard to the CD check. I tested this by placing the generated file in the ctp_program\ctp directory.
I do not get the intro movie at all. This is probably because my PC has no sound card and has been this way for the original version as well. Without the CD inserted, I get as far as launching a new game, but then a popup appears. Inserting the CD and pressing Retry makes it proceed with the launch. The funny thing is, that the release (9 MB) version does not look for the CD at all, and just launches the game.
For what it is worth, I have not modified any source file (yet). I only have modified project settings, and added a stub for mss.h in libs\miles.
Attachment: mss.zip
This has been downloaded 52 time(s).
|
|
|  |
 |
|
Admiral PJ
|
 |
Southeast England , UK
Dec 2000 time: 05:31
|
|
When using Net, one issue is that it no longer supports Stream classes as STANDARD, such as CIN and file handling.
(This is because these functions aren't thought of as good programming practice.. they break the official standards supposedly.. )
Add the following to the beginning of the code, in the main header file :-
line1> // REQUIRED FOR VSC NET to allow C streams etc.
line2> using namespace std ;
I think this will fix the file handling errors in CTP2 as it appears to use streams.
I use the old stream functions in my code.. seems to be the easiest way to do file handling.
DIRECTX may work fine , its mainly directinput that has some differences with dx9 etc.. and that dosen't appear to be in CTP2.. (haven't checked the mouse code yet tho)
DirectDraw might need some rewriting, it seems to use more clippers etc now, its not even fully supported in DX9 so maybe we should stick to the original compiler.
I think its just stricter than the old compiler .. the code will probably compile but there might be more run time errors, if its anything like converting my code from vc6 to 7.
IN GENERAL:
It dosen't appear that bad , its written well , and it shuldn't take too long to add more features using the original code.. fixing bugs might be a bit tricky , but with time and manpower we'd have a better chance than the original programmers who had a strict timelimit (they were doing it commercially ).
Its good the original text files are included.. but people like me don't have a copy of CTP which might be difficult..
interesting the game references that its Civilisation 3 in the code file names.
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:31
|
|
quote: Originally posted by Fromafar
I have retried it from scratch (the CTP_Source.exe). When starting with a final build the first time, the Command and Output fields for e.g. ui\ldl\ldl.l are definitely empty. As J.Bytheway suggested, doing a debug build first will solve the problem by generating the .c and .h files. |
Ah... that explains it then...
quote: On the other hand, the final build for me has the same behaviour as the original ctp2.exe with regard to the CD check. I tested this by placing the generated file in the ctp_program\ctp directory. |
D'oh! Should've thought of this myself... The CD checks works properly for me as well when placed in the correct folder.
quote: The funny thing is, that the release (9 MB) version does not look for the CD at all, and just launches the game. |
Yes, I noticed this as well. Not surprisingly when you think about it: when the Activision team was working on the game, they obviously didn't have the CDs yet 
quote: For what it is worth, I have not modified any source file (yet). I only have modified project settings, and added a stub for mss.h in libs\miles. |
That's brilliant A far more elegant solution than replacing existing code with stubs. Will download and use it myself as well, thanks 
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
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
|
|
|
|
|
|