Debugging (Civ5)

From Civilization Modding Wiki
Revision as of 17:47, 21 September 2012 by DonQuich (talk | contribs)
Jump to navigationJump to search

This article is under construction, come back in a few days.

Configuring your installation

Look for the following files under My Documents/My Games/Sid Meiers' Civilization V and open them in a text editor like the notepad (not in a word processor).

  • config.ini
    • Set LoggingEnabled to 1. Civ5 will write log files under the Logs folder.
    • Set EnableLuaDebugLibrary to 1. Civ5 will display stack traces on Lua errors and you will be able to use the debug object.
    • Set DebugPanel to 1. By pressing ² (or ù, or something else depending on your computer's language), Civ5 will display a debug panel.
  • usersettings.ini
    • Set DebugMode to 1. Needed to enable other features previously mentioned.