Player Overrides
The Player
that comes with your copy of Prysm allows for some level of customization. You can find the Player inside the
Player
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
- Open the
PlayerOverrides.sln
file. The file is located in the/Player/PlayerOverrides
folder. - Use the CohtmlOverrides interface in
PlayerOverrides.cpp
to achieve your desired behavior. - Compile and start the project.
- The solution file will automatically generate
PlayerOverrides.dll
in the same directory asPlayer.exe
.
The message
"Player Overrides Initialized"
should appear in the console after starting the player if the Player.exe
has successfully loaded the PlayerOverrides.dll
library. If such a message does not appear, make sure PlayerOverrides.dll
is located inside the same folder as Player.exe
, and that you have correctly followed the instructions above.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
.