CryEngine has now been available as a monthly service via steam for just a few months. The service is fairly cheap at $9.90/month. I enjoy experimenting with game programming and I really wanted to try it out. Currently with EaaS you can only write games for PC, but with nearly full access to the source code it is hard to resist checking it out.
- Install CryEnging EaaS from steam: http://cryengine.com/get-cryengine/eaas
Setup git repo
- Open Git Bash
Change directory to the install directory:
cd /C/Program\ Files\ \(x86\)/Steam/SteamApps/common/CRYENGINE/
Initialize a new git repo
Run the following command to create a .gitignore file in the root installation:
.gitignore Bin32/ Bin32Dedicated/ Bin64Dedicated/ Bin64/ BinTemp/ Editor/ Engine/ GameSDK/ Localization/ Tools/ USER/ _CommonRedist/ ipch editor.cfg system.cfg AntiCheatLog.xml CRYENGINE_.zip *.log *.opensdf *.sdf *.suo EOF
Open windows explorer in the installation directory and Extract the
CRYENGINE_GameCode_PC_v3_6_4_2715.zipfile into it. It should look like this:
- There will also be a few extra Flash source files under GameSDK\Libs\UI\FlashAssets. Note: These won't be under version control.
In order to build the CryInput.dll, you must copy some of the files from the Windows Kit to a folder in the Code directory. Perform the following steps in the Command Prompt:
Change to the SDKs Folder:
cd C:\Program Files (x86)\Steam\SteamApps\common\CRYENGINE\Code\SDKs
Create missing directories:
mkdir DXSDK\lib\x64 mkdir DXSDK\lib\x86
Copy 9.1.0 xinput.lib files from Windows Kit to folders:
copy "C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86\Xinput9_1_0.lib" DXSDK\lib\x86\xinput.lib copy "C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x64\Xinput9_1_0.lib" DXSDK\lib\x64\xinput.lib
Type git citool then stage all the files and commit
To the code
- Open the solution with Visual Studio 2012
- It is located here: Code\Solutions\CryEngine_GameCodeOnly.sln.
Under the Build menu select Configuration Manager make sure you have x64 as the Active solution platform:
- Select the Build menu , then Build Solution.
If all is well everything should build without errors. If you see some IntelliSense errors, they are safe to ignore.
- Within Visual Studio, right click the CryGameSDK project and select Set as Startup Project
- Next you will need to right click the same project and select Properties
- Under the Configuration Properties select Debugging
- Set the value for Command to
- Set the value for Command Arguments to
- Set the value for Working Directory to
Press F5 or Select Start Debugging from the Debug menu and you should see something like this:
In my next post we will get into the code and really start experimenting.
Have any ideas? Leave me a comment.