[Solved] How To Compile 1.4 Source on Windows 7
Posted: Wed May 22, 2013 2:29 pm
DOWNLOADS:
Game Editor 1.4 Stable Source
Microsoft Visual Studio 2008 Express edition is free, but it appears Microsoft has stopped supporting it on their website, so you will have to find a torrent to download it, because I can't find an official download link to it anywhere anymore.
Direct X SDK
1. Install the Microsoft Direct X SDK (versions are backward compatible)
2. Install Microsoft Visual C++ 2008 Express (Because these directions wont make sense otherwise)
2a. Where you unzip the source, in the base directory, open GameEditor.sln
3. In vc++, go to Tools > Options... > Projects and Solutions > VC++ Directories >
3a. In the top right of the window, there is a drop down menu labeled: "Show directories for:", just drop it down and choose "Include Files" then, in the rows of directories below it, the last row is an empty entry, you can click in it to type in a directory or push the [...] button on the right to browse to the directory
"C:\Program Files\Microsoft DirectX SDK (June 2010)\Include" could be different on your system, but that's where it is on a fresh install with no changes.
3b. Same thing, but in "Show directories for:" change the drop down menu to "Library files", and add the directory "C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86" notice that last x86 directory, I hear that's a new change, so don't forget that.
4. Close the options window by pushing OK (not clicking the X) and find the left panel titled "Solution explorer" at the top, with 3 tabs along the bottom of it, named: Solution Explorer, Class View, Property Manager, and select the property manager.
5. In the Property Manager, expand the "GameEditor" item, Release | Win32, then double click on _BaseConfiguration.
6. This opens the "_BaseConfiguration Property Pages" dialog window, now in the left tree panel "Common Properties", select the "User Macros" option, at the bottom where it says "Version Type" and it's value is "$(Professional)", double click the value field and change it to "$(Standalone_Pro)", this enables the compiling of the gameEditorWindows bin file, which isn't needed now.
NOTE: on my system, on windows 7 32-bit, setting this build configuration user macro breaks the build and game editor launches to a black screen and a frozen process, keeping the value at Professional lets the project exe build successfully and the export button works as well. so just leave it at Professional if you have trouble like this.
NOTE 2: Setting this configuration only matters when compiling the "engines" in the bin folder described in step 8. Keep this setting at Professional when you're compiling the editor.
7. Now at the top of the window, make sure "Release" and "Win32" are selected from the dropdown menus, then go back to the Solution Explorer tab on the left panel, find the "GameEditor" project, right click, rebuild (or just build if you haven't built it yet)
OPTIONAL: 8. Find the "bin" directory in the source directory, it will have a fully working copy of the default game editor pre-compiled, but it also contains another "bin" directory with 2 folders named, geapp_ipad and geapp_iphone, files with no extension named, gameEditorGP2X, gameEditorLinux, gameEditorMacOSX, gameEditorPocket, gameEditorWindows, and update.sh ... copy this entire bin directory containing these files into your output directory to test your newly compiled gameEditor.exe with working export.
9. To compile the gameEditorWindows bin file, right click the solution in the left panel, and choose "Clean Solution" then change the _BaseConfiguration to "$(Standalone_Pro)", and compile again, it will create another gameEditor.exe in the output folder, but upon launching only shows a black screen.
10. Rename this exe to gameEditorWindows with no extension, and copy that to your bin folder.
Game Editor 1.4 Stable Source
Microsoft Visual Studio 2008 Express edition is free, but it appears Microsoft has stopped supporting it on their website, so you will have to find a torrent to download it, because I can't find an official download link to it anywhere anymore.
Direct X SDK
1. Install the Microsoft Direct X SDK (versions are backward compatible)
2. Install Microsoft Visual C++ 2008 Express (Because these directions wont make sense otherwise)
2a. Where you unzip the source, in the base directory, open GameEditor.sln
3. In vc++, go to Tools > Options... > Projects and Solutions > VC++ Directories >
3a. In the top right of the window, there is a drop down menu labeled: "Show directories for:", just drop it down and choose "Include Files" then, in the rows of directories below it, the last row is an empty entry, you can click in it to type in a directory or push the [...] button on the right to browse to the directory
"C:\Program Files\Microsoft DirectX SDK (June 2010)\Include" could be different on your system, but that's where it is on a fresh install with no changes.
3b. Same thing, but in "Show directories for:" change the drop down menu to "Library files", and add the directory "C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86" notice that last x86 directory, I hear that's a new change, so don't forget that.
4. Close the options window by pushing OK (not clicking the X) and find the left panel titled "Solution explorer" at the top, with 3 tabs along the bottom of it, named: Solution Explorer, Class View, Property Manager, and select the property manager.
5. In the Property Manager, expand the "GameEditor" item, Release | Win32, then double click on _BaseConfiguration.
6. This opens the "_BaseConfiguration Property Pages" dialog window, now in the left tree panel "Common Properties", select the "User Macros" option, at the bottom where it says "Version Type" and it's value is "$(Professional)", double click the value field and change it to "$(Standalone_Pro)", this enables the compiling of the gameEditorWindows bin file, which isn't needed now.
NOTE: on my system, on windows 7 32-bit, setting this build configuration user macro breaks the build and game editor launches to a black screen and a frozen process, keeping the value at Professional lets the project exe build successfully and the export button works as well. so just leave it at Professional if you have trouble like this.
NOTE 2: Setting this configuration only matters when compiling the "engines" in the bin folder described in step 8. Keep this setting at Professional when you're compiling the editor.
7. Now at the top of the window, make sure "Release" and "Win32" are selected from the dropdown menus, then go back to the Solution Explorer tab on the left panel, find the "GameEditor" project, right click, rebuild (or just build if you haven't built it yet)
OPTIONAL: 8. Find the "bin" directory in the source directory, it will have a fully working copy of the default game editor pre-compiled, but it also contains another "bin" directory with 2 folders named, geapp_ipad and geapp_iphone, files with no extension named, gameEditorGP2X, gameEditorLinux, gameEditorMacOSX, gameEditorPocket, gameEditorWindows, and update.sh ... copy this entire bin directory containing these files into your output directory to test your newly compiled gameEditor.exe with working export.
9. To compile the gameEditorWindows bin file, right click the solution in the left panel, and choose "Clean Solution" then change the _BaseConfiguration to "$(Standalone_Pro)", and compile again, it will create another gameEditor.exe in the output folder, but upon launching only shows a black screen.
10. Rename this exe to gameEditorWindows with no extension, and copy that to your bin folder.
hey, I got the source to compile with vc++ 2008 express but there's still 3 errors, is there a quick guide anywhere?