open CScreenMgr.cpp and change
line 402 to m_bWindowedMode = true;
line 430 to m_bDX = false;
line 448 to hr = NULL;

if you get an error about "afxres.h"
change it to "windows.h" in
Transcendence.rc line 10 and
Transcendence.rc line 37

save and build!

you MUST run in windowed mode if you do these changes, otherwise it will crash

Last edited by sdw195 on Thu Apr 12, 2012 5:33 am, edited 3 times in total.

"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"

The reason why I had sdw195 change those lines is that it was easier than telling him to do the LoadLibrary call and GetProcAddress (see this blog post about the deprecation of the DirectDrawCreateEx and other functions) to get the necessary function call pointer by loading ddraw.dll directly.

If someone wanted to make that change so that it will compile with a DXSDK from this decade (these functions were deprecated in 2002) then I'm sure they would be adopted gratefully

The reason why I had sdw195 change those lines is that it was easier than telling him to do the LoadLibrary call and GetProcAddress (see this blog post about the deprecation of the DirectDrawCreateEx and other functions) to get the necessary function call pointer by loading ddraw.dll directly.

If someone wanted to make that change so that it will compile with a DXSDK from this decade (these functions were deprecated in 2002) then I'm sure they would be adopted gratefully

Cheers,
--G

hmm...

On the assumption that instructions are still needed for compilation, can I ask what are these instructions Gambit is talking about?

"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"

I had to run the installer in compatibility mode for Windows 7, but otherwise had no trouble.

Use Microsoft Visual Studio 2010 or later. Load Transcendence/Transcendence.sln,
which is the Transcendence solution file. The following warnings, if shown under
Output from Solution, may be safely ignored:

Select the Transcendence project as the StartUp project. Ensure that the correct
locations of the DirectX SDK Include and Lib folders are specified for the
Transcendence project (under the Transcendence solution) by bringing up the
project's Properties page, and checking the following property sets:

Always point the Library Directories variable to the \Lib\x86 folder of the SDK.

Build the solution. Executables will be placed in the Transcendence/Game
directory.

Let's not get ahead of ourselves here.

For security reasons the source code does not include certain files to
communicate with the Hexarc arcology (the cloud service). The code will compile
without it, however, as long as you add CHexarcServiceStub.cpp to the build.

In Visual Studio, find the CHexarcServiceStub.cpp file in the TSUI project under
the \Source Files\CloudInterface Files folder. Bring up the Properties page for
the file and under General properties set "Exclude from Build" to "No".

EDIT: Similarly, you also have to set CHexarcService.cpp to be excluded. This will change the config file Mammoth/TSUI/TSUI.vcxproj. To get git to ignore local changes to this file without changing your remote, use: