Debugging (Civ5): Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== Configuring your installation == | == Configuring your installation == | ||
Look for the following files under <code>My Documents/My Games/Sid Meiers' Civilization V</code> | Look for the following files under <code>My Documents/My Games/Sid Meiers' Civilization V</code> and open them in a text editor like the notepad (not in a word processor). | ||
* '''config.ini''': | * '''config.ini''': | ||
** Set <code>LoggingEnabled</code> to 1. Civ5 will write log files under the <code>Logs</code> folder. | ** Set <code>LoggingEnabled</code> to 1. Civ5 will write log files under the <code>Logs</code> folder. | ||
Revision as of 17:47, 21 September 2012
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
LoggingEnabledto 1. Civ5 will write log files under theLogsfolder. - Set
EnableLuaDebugLibraryto 1. Civ5 will display stack traces on Lua errors and you will be able to use the debug object. - Set
DebugPanelto 1. By pressing ² (or ù, or something else depending on your computer's language), Civ5 will display a debug panel.
- Set
- usersettings.ini:
- Set
DebugModeto 1. Needed to enable other features previously mentioned.
- Set