Skip to main content
The builder.py script uses the DirectGVR Console tools to compile and sign a launcher: launcher.exe on Windows or launcher.app on macOS. You give it the paths to the sample launcher skin, the Chromium Embedded Framework (CEF) libraries and where to put the compiled launcher. The sample skin downloads the gameclient repository from the qa environment you set up in the previous steps. It launches notepad.exe, which is in the sample source folder.

About build_windows.json

build_windows.json in \samples\config\ gives the builder the details of the launcher it compiles:
The relative paths only work if your command prompt is in the \deploy\ folder and Python 3 is on your PATH. Otherwise, pass full paths as arguments or set them in the file.

Run the build script

Add these arguments after --config, each separated by a space and starting with two dashes:
  • --skin_directory: full path to the \skins\launcher\ folder in the release package
  • --cef_source_directory: full path to the \cef\<cef-version>\win64\ folder in the release package, where <cef-version> is the CEF version folder (DIRECT 8 uses CEF 7559)
  • --launcher_path: full path, including the file name, where you want the launcher compiled. For example, <package>\output\GameLauncher.exe.
  1. Run the builder:
The script writes these files to the folder you set in launcher_path:
  • gamelauncher.exe: the compiled, signed launcher
  • The CEF libraries and files the launcher needs to run
Next, run your launcher.