Player Overrides

The Player that comes with your copy of Prysm allows for some level of customization. You can find the Player inside the NativePlayer folder in the Prysm root directory.

You can modify the settings of the Player executable that comes with your copy of Prysm. This functionality is useful for testing various features that require additional implementation on the engine side of your game – such as Localization.

The custom settings are loaded through a Dynamic Link Library called PlayerOverrides.dll. You can generate this dynamic library with the help of a Visual Studio solution.

Implement Changes

  1. Open the PlayerOverrides.sln file. The file is located in the /NativePlayer/PlayerOverrides folder.
  2. Use the CohtmlOverrides interface in PlayerOverrides.cpp to achieve your desired behavior.
  3. Compile and start the project.
  4. The solution file will automatically generate PlayerOverrides.dll in the same directory as Player.exe.

Saving and Removing Modifications

Preserving or applying different sets of overrides for different cases is just a matter of placing different PlayerOverrides.dll files next to your Player.exe.