Follow these steps below to publish your Unreal Engine game for KSS Dreamgate.
- Create a new Unreal Engine C++ project, instead that Blueprint project. You need Visual Studio installed on your computer as described in the Unreal Engine documentation. If your game project is already under development, simply create a new C++ class (see Unreal Engine documentation).
- In our example, we used the plugin .exeExecutor to link your game to our KSS Sdk.exe tool. To install the plugin, first create a folder called: “Plugins”.
- Copy the plugin KB_Exe_E folder into the Plugins folder. You can use the lite version of this plugin if you prefer, which provides all the features you need. So please consider our example as a tutorial and not intended to distribute the plugin for free.
- Restart the Engine, then activate the plugin, if it’s not yet activated, from menu Edit -> Plugins -> .ExeExtension.
- Now copy the folder KSS_StartingMap we provide, into your project content folder. This folder is the UnrealEngine equivalent of the same code we created for other engines to help developers to connect their games with KSS Dreamgate. This folder contains an important: The KSS_StartingMap, which implements the KSS Blueprint code.
- In Project Settings -> Project – Maps and Modes -> GameDefaultMap change the initial map to KSS_StartingMap.
- Now copy the KSS Sdk.exe tool latest version, into the main game folder and run the tool. As a first execution, this tool will gives you the option to create your own unique game ID, showing a button designed for this purpose. Click the button and generate your game ID. A small file kssgameid.dat is now created into the main game folder.
- Now copy your game ID from the screen, go back to your Unreal Engine game project and paste the ID into the “game_id” variable of the KSS_StartingMap map, compile and save. Your game can now link to the KSS ecosystem. If you made a mistake, simply delete the kssgameid.dat and repeat this step.
- In the KSS_StartingMap level Blueprint search for the node OpenLevel by Reference and replace the level to open with your first game map or the map you want to start your game with.
- Export your game in a commercial packaged build. Don’t forget to include the required map in Project Settings -> Packaging -> List of maps to include, and insert all your game’s maps, including the KSS_StartingMap.
- Now also copy the KSS Sdk.exe tool and the game ID file kssgameid.dat into the main folder of your packaged game.
- Run the game using KSS Dreamgate desktop app.
| Unreal Editor version | Download KSS Starting Map |
|---|---|
| Unreal 5.6.1 | |
| Unreal 5.4.4 |