The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
locutos you did tell that to the files you have to compile first
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place. Visit the big mc’s website
I suggest then that you locate the definition of DPRINTF and make an analagous version (called RPRINTF, perhaps) which does the same thing for the release and final versions.
The following set of files will allow you to use DPRINTF statements in the Release version, provided that you add USE_LOGGING to the preprocessor definitions of the project (tested with the Release version).
1. CityData.cpp has been based on the version in the Altered Source thread. If you want to use the original version, just compile without the file in this set. The compiler will report a missing declaration, but that should be easy to solve.
2. If the (amount of) logging makes the crash disappear, you may have to fiddle with the c3debug_SetDebugMask arguments in civ3_main.cpp.
Maybe you already had noticed it, but reporting it here just to be sure:
When a program exception occurs, the program will dump its call stack to crash.txt in the logs directory.
For the debug and release versions this will occur automatically. For the final version you have to set EnableLogs to Yes in userprofile.txt.
Well, I *did* notice my processor speed being listed as 0MHz in the debug version, so I guess that will work for me as well (I have an Athlon XP 2000+ though).
I'm not at home so I can't test it now, but it will be the first thing I do when I get home. Where did you specify the frequency MrBaggins? In c3cpu.cpp?
My prosseor is also listed as 0Mhz in the debug version, but if I remember correctly there wasn't such a crash in the last non debug exe unfortunatly this build is not very recently.
From the cpuinfo/cpuinf32.dll documentation:
While this program works on all current Intel processors,
the code is designed to not analyze processor speed if the
processor is NOT an Intel processor.
For my AMD 1000 MHz, all 4 processor speed values are reported 0. But this does not seem to cause any crashes.
Comment