Skip to content

Deployment guide on windows platform

GlimpseOpen edited this page Jan 23, 2016 · 1 revision

Deploy the development environment

step 1. Fetch the newest version of gkEngine form github or codeplex.

step 2. Run init_engine_res.bat, make some directories for gkEngine.

step 3. Download two compressed package from the resource server:

step 4. Run hand_make_env.bat, deal with the third-party libs.

step 5. Run hand_make_resource.bat,deal with the resources.

Compile

  1. Open the VC2010 solution file: code/engine/solution/gkENGINE_vc10.sln
  2. Choose [Develop | Win32] compile configuration.
  3. Build the solution
  4. Compiling...just wait...if shit happens, please report an issue on github.

Execute

  1. Run exec/bin32/gkLauncher.exe, the default test-case will be loaded automatically. you can modify the config file locate at [exec/media/config/startup.cfg] by your way.
  2. When in test-case module, you could change the major project using the keyboard left and right arrow keys, you could also change the current project using the keyboard up and down arrow keys, and press the Enter key to excute test-case.
  3. Run exec/bin32/gkStudio.exe, you will get the scene-editor. the source code of scene-editor locate at code/editor/gkstudio.

Pack

  1. When ready,you could run the bat file locate at [exec/tools/version_task/build_version_pc.bat] to pack your game for Windows.
  2. When pack done,you could find the package at the folder [exec/builds].