Logging game errors - cigumo/krli GitHub Wiki

Enabling the console

A way to see the errors caused just before a blue screen occurs, you have to enable the game console.

On Steam, do this:

  • Right click on the game name on Steam and select "Properties".
  • Click "SET LAUNCH OPTIONS..."
  • Enter this text: --console
  • Click "OK"
  • Now play the game in windowed mode (fullscreen will cover the console window).

Once the game crashes with a blue screen do this:

  • take a snapshot of the blue screen
  • take a snapshot of the black console text
  • send them both to us via email

Enabling the error log

We might ask you for an error log, which will show us more details preceding the crash.

On Steam, do this:

  • Right click on the game name on Steam and select "Properties".
  • Click "SET LAUNCH OPTIONS..."
  • Enter this text: --console -log_level 4 -log_file ./kr_log.txt
  • Click "OK"
  • Now play the game as always.

A. When the game crashes with a blue screen do this:

  • take a snapshot of the blue game window
  • take a snapshot of the black console text
  • close the game window
  • after closing the game window copy the kr_log.txt file from your save games dir.
  • send the snapshots and the file to us via email.

B. If an error occurs that does not produce a crash (eg. a soldier freezes) do this

  • pause the game immediately (if possible).
  • close the game window
  • after closing the game window copy the kr_log.txt file from your save games dir.
  • send us the file via email.

Save game directory locations

OS Path
Windows XP C:\Documents and Settings\username\Application Data\game
Windows 7/8/10 C:\Users\username\AppData\Roaming\game
Mac /Users/username/Library/Application Support/game
Linux ~/.local/share/game

Notes:

  • username: the name of the user you're using to login in the computer
  • game: kingdom_rush, kingdom_rush_origins or kingdom_rush_frontiers