Victoria 3 – Cheat Codes (Console Commands)

There are always cheat codes and console instructions if hard effort is not for you. We’ll demonstrate several Victoria 3 cheats to you so you can have a simpler and/or more enjoyable time playing the game.

How to Enable Console (Debug Mode)

A console command can be entered in Victoria 3’s debug mode, which is by default deactivated.

In non-Ironman games, you may open a special debugging window by pressing (any of these combinations):

  • ~ (Tilde)
  • Shift+2
  • Shift+3
  • Alt+2+1
  • Shift+Alt+C

Note: In order to go through previously executed commands, press the up or down arrow keys. To have a command autocompleted, input the first part of it and then press Tab.

Enabling Debug Mode

There are several options to enable the Debug Mode.

  • Mod: You can install a special mod: Free Console Access.
  • Launcher: Select Game Settings from the left-hand menu in the game launcher. Launch the game after navigating to the “Open game in Debug Mode” option.
  • Steam: Add -debug_mode option to the launch options.

Console Commands (Cheats)

Remember, cheats disable achievements!

CheatCommand Description
3dstatsToggles 3D Stats
3dstats.EnableGfxZoneStatsToggles 3D Gfx Zone Stats
Adjacencies.RebuildRebuild all adjacencies
Application.ChangeResolutionChange the resolution through the console
Browser.OpenURL [url]Opens up a browser with the provided URL
Camera.DebugPrints out camera debug information
Camera.LoadLoad camera position
Camera.SaveSave camera position
Checksum.LogLog the game state checksums to the game log.
CrashReporter.DeleteCrashDataDelete local crash dumps older than X days.
CrashReporter.SimulateCrashSimulates a crash (resulting in the game exiting).
Debug.Achievements.Lock [key]Locks an achievement again
Debug.Achievements.ResetAllLocks all achievements again
Debug.Achievements.ToggleDebug [value]Puts the achievements system in debug mode
Debug.Achievements.Unlock [key]Unlocks an achievements given the key
Debug.TextureMode [Name of debug mode]Enables a texture mode for debugging
Dockables.Create [Dockable name]Create dockable
Dockables.CreateUserLayout [Dockable layout name]Create a new user layout copy of current layout, with new name.
Dockables.DeleteUserLayout [Dockable layout name]Delete layout as user layout
Dockables.HideLayoutHide any shown dockable layout
Dockables.SaveUserLayoutSave current layout to disk as user layout, optionally under a new name.
Dockables.ShowLayout [Dockable layout name]Show an existing (user) layout, hide current layout
Dockables.ShowManagerShow dockable layout manager
GUI.AnimationTimeline.LogStatsDump stats of the GUI Animation Timeline system to the debug log.
GUI.ClearWidgetsClear dummy widget
GUI.CreateDockable [File name] [Widget name] [Dockable id. If doesn’t exist, it will be registered]Create dummy dockable widget. With 0 arguments the file name will be gui/test_gui.gui, and the widget name will be test_window
GUI.CreateWidgetCreate dummy widget. With 0 arguments the file name will be gui/test_gui.gui, and the widget name will be test_window
GenerateCoastalRegionNavalExits
Graphics.CapFramerate
Graphics.DumpMemoryInformation
Localization.ToggleIncludeKeyInLocOutputIncludes the loc key in localization output
Localization.ToggleOnlyKeyInLocOutputShows only the loc key in localization output
Localization.ToggleSkipDataSystemInLocOutputDon’t run the data system at all in loc
Log.ClearAllClears all logs
Log.ClearErrorLogClears out the error log and resets the error count
Map.SavePNG [map mode] [file name] [yes/no Should render flat (optional)]Save a png of the map for a specific map mode. The only map mode which is known to work is “countries”
MapObjects.DebugPrints out map object debug information
MapObjects.GenerateGameLocators [type] [filename (optional)]Generates locators for the game’s map objects
MapObjects.Painter.AddPositionPlace a map object under the cursor
ModifierNode.GraphOpen a graph view of the tick tasks
ModifierNode.ListOpen a graph view of the tick tasks
Music.PauseFactorShows or sets the current pause_factor of the music system
Music.PlayTrack [track name]Plays the specified track
Music.ResetResets the music system
Music.StopTrackStops the currently playing track
PopsFileStorage.SyncSync POP File Storage
Portrait.ClearCacheClears the portrait cache. Forces all portraits to refresh
Print.EventDebugPrint event debug statistics, needs to set Debug.Events to collect statistics
RandomLogToggles random logging
RandomLog.Dump [Frame count to dump, or * to dump all available frames (defaults to *)] [Target filename (defaults to random.log)]Dump random log data to a file.
SDL.EventLogging
ScriptProfiling.Dump
SplineNetwork.AppendAssets
SplineNetwork.ClearAssets
SplineNetwork.Database.Reload
SplineNetwork.Graphics.AddAllSplines
SplineNetwork.Graphics.ClearAllSplines
SplineNetwork.SetAssetGenerationModeSets mode for spline strips and anchors generation [naval/default]
SplineNetwork.ValidateSplinesValidate the integrity of in-game spline system
Terrain.RegenerateRegenerates terrain bitmap
Terrain.Save
Threading.TaskThreadCount [The number of task threads]Set or get the number of task threads
TickTask.GraphOpen a graph view of the tick tasks
TickTask.ListOpen a graph view of the tick tasks
add_approvalAdds an approval timed modifier to a given IG
add_cloutAdds or removes clout of the IG by changing their political strength with timed modifier
add_ideology [Target interest group.] [Ideology to add.]Add an ideology to a given IG
add_loyalists [culture] [amount]Adds loyalists to culture by fraction of population
add_radicals [culture] [amount]Adds radicals to culture by fraction of population
add_relationsChanges relations with country by a given value
add_war_support [country_tag] [amount]Alters wars support of country in ALL of their wars by amount
ai.debug [tag]Dumps debug info for country
ai.goal [tag] [goal type]Checks ai goal
ai_evaluate_building [building key] [state region key]Prints AI debug data for selected state & building type.
ai_evaluate_interest [strategic region key]Prints AI debug data for selected strategic region declared interest.
ai_evaluate_production_method [building key] [pm key] [state region key]Prints AI debug data for selected production method in state for building type.
ai_evaluate_trade_route [goods key] [country tag]Prints AI debug data for selected goods & country trade partner.
annex [country tag/id] Annexes a country
annex_allAnnexes all other countries
audio.cpu_infoShows current cpu usage
audio.list_eventsList audio event
audio.play_event Play audio event
callstackPrint the callstack
change_lawChanges a Law to the specified key
changestatepop [state_id] [pop_type / all] [factor]Changes the pop size of the given pop type (can be ‘all’) by at most the given factor. Will be capped by max employment for each pop.
check_pollution_level [state region tag]Print out pollution for specified state region
check_saveChecks that saving and loading is consistent
clearlinesClear lines
clearspawnedentitiesClears entities spawned with spawnentity command
coa_preview_windowOpen the Coat of Arms Preview Window
compound_nodeeditorCompound Node Editor
conquerall [country tag]Set all enemy provinces under our control.
crashCause the application to crash
create_ai [self/all/tag]Creates AI for country or countries
create_building_historyCreates a game-history compliant .txt file of all buildings in the world / state ID as well as their PM / subsidy configurations.
create_country [country definition] [country type] [culture] [state id]Creates a country
create_political_movement [law type key]Creates a political movement
create_pop_historyCreates a dump in debug.log with a complete pop history
create_state_region_dataCreates a game-database compliant .txt file of all state regions in the world and their provinces/resources
cthulhu
data_types_explorerOpens the data types explorer dockable
data_wrappers_stats [Filter]Prints statistics about data wrappers
date [date in format yyyy.mm.dd.hh]Changes current date
debug_lens_optionToggles the cheat mode debug_lens_option
debug_modeToggles debug mode
debugcharactersCreates a semi-colon delimited logfile with debug info regarding all characters.
debugcountrybudgetsCreates a semi-colon delimited logfile with debug info regarding all countries and their budgets.
debugemploymentCreates and appends a comma-delimited logfile with debug info regarding employment in the specified state ID.
debugmarketsCreates a semi-colon delimited logfile with debug info regarding all goods and markets.
debugpopconsumptionCreates a semi-colon delimited logfile with debug info regarding all pops’ consumption
debugpopwealthCreates a semi-colon delimited logfile of the current wealth status of all pops.
debugstatesWrite a semi-colon delimited logfile with debug info regarding all states.
debugterrainweightsPrints out the number of
debugtheatersWrite a semi-colon delimited logfile with debug info regarding all theaters.
deironDisables Ironman mode
disable_ai [all/tag]Disables AI
disable_pop_growthToggles the cheat mode disable_pop_growth
disable_retoolingToggles the cheat mode disable_retooling
drawcmdsviewerDraw Cmds Viewer
dump_data_typesDumps the registered data types
dump_ref_lookup_memory_report
enable_ai [all/tag]Enables AI
entity_editorEntity Editor Dockable
escalate [amount]Adds escalation to player diplomatic plays.
event [event name] [ountry_tag/province_id]Executes an event
explorerShows an object explorer window
exportbuildingsWrite a semi-colon delimited logfile with all building type info
fastbuildToggles the cheat mode fastbuild
fastenactToggles the cheat mode fastenact
fasthireToggles the cheat mode fasthire
fastinstitutionsToggles the cheat mode fastinstitutions
fastinterestsToggles the cheat mode fastinterests
fastmobilizeToggles the cheat mode fastmobilize
fastresearchToggles the cheat mode fastresearch
fastrevolutionToggles the cheat mode fastrevolution
fastsecessionToggles the cheat mode fastsecession
fasttravelsToggles the cheat mode fasttravels
find_unemployedFind and report all unemployed pops with an optional cutoff
fix_state_regionsFix state regions.
force_oosMake this client go out of sync in multiplayer
generate_province_center_objectsGenerates a file with meshes in the center of each province
gfx.reloadtextureReload textures
gfx.skinSelect active gfx skin
gfx.texture_limitSet texture video memory limit in megabytes
gui_animation_editorGUI Animation Timeline Dockable
gui_editorSpawns gui editor
help [command name]Print out all console commands or a specific command description.
hq_show_idToggles the cheat mode hq_show_id
ignore_government_supportToggles the cheat mode ignore_government_support
invalidate_character [character id]Invalidate the modifier on the character with the specified ID
invalidate_country [country id]Invalidate the modifier on the country with the specified ID
invalidate_ig [interest group id]Invalidate the modifier on the interest group with the specified ID
invalidate_state [state id]Invalidate the modifier on the state with the specified ID
io_statsToggles IO Stats
io_stats.ResetResets IO Stats
kill_character [character name]Kills the named character
log_statusLog Status Dockable
log_ticktask_performanceStart outputing ticktask performance data to profiling.log
log_viewerLog Viewer Dockable
map_editorToggle map editor
mapmode [mapmode]Switches to a given mapmode
measure_frame_time [“start” or “stop” measuring]Measures avg/min/max frame time and prints the result to debug.log once stopped
memory_statsToggles Memory Stats
memory_stats.ResetResets Memory Stats
minidump [file path]Creates a minidump
money [amount]Adds specified amount of money
net_debuginfoPrint debug info about the networking layer
net_statsToggles Net Stats
net_stats.ResetResets Net Stats
norevolutionToggles the cheat mode norevolution
nosecessionToggles the cheat mode nosecession
observeStart observing the game
own [province id/state region tag] [country tag]Change the owner of specified province or state region
particleeditorParticle Node Editor
permitmarginalizedingovernmentToggles the cheat mode permitmarginalizedingovernment
pops_account_disconnect_steamDisconnect Paradox account from Steam
pops_account_login [email] [password]Login to a POPS Account
pops_account_logoutLogin to a POPS Account
pops_account_statusShow whether you are currently logged into POPS or not.
popstatPrints out amount of active pops.
portrait_editorOpen the portrait editor
print_gamestate_modifiersPrints Gamestate Modifiers
province_borders [true/false]Toggles showing of province borders
pseudoLocEnable/Disable Pseudo Localization on Text Widgets
recalc_cached_dataRecalculate cached gamestate data.
release_modeToggles release mode
reload [file name]Reloads assets
rendertypeReports what render backend is used
researchAcquire technologies
save_game_analyzerOpen the save game analyzer
screenshotTake screenshot
script_docsPrints script documentation
set_devastation_level [state region tag] [amount]Set devastation level in specified state region
set_pollution_level [state region tag] [amount]Set pollution level in specified state region
settingsSpawns a settings GUI with an optional argument for an initially selected category
shader_debug
shader_editorShader Editor Dockable
show_goalsShow AI goals.
skip_migrationToggles the cheat mode skip_migration
sleepSleep for specified amount of milliseconds
social_addfriend [Context Index] [Account ID]Add a friend to friends list
social_debuginfoPrint debug info about the social layer
social_joinroom [Context Index] [Room Name] [Nick Name]Join a chat room using the given social context
social_sendmessage [Context Index] [Room Name] [Message]Send a message to a chat room.
spawnentity [entity name] [state (optional)]Spawns specified entity at cursor position
spawnentity_at [entity name] [x] [y] [state (optional)]Spawns specified entity at xy-position
spawnline [line name] [start position ‘x,y,z’ (no spaces)] [end position x,y,z (no spaces)]Spawns specified line between 2 positions
spawnnotification [notificationtype] [scopeindex]Spawns notification of specified type.
swapchain.buffersQuery/Set swapchain buffers
switchlanguage [language name]Reload localization files and switch language
tag [country_tag]Switch control to another country
testaipactsTest whether AI would dissolve current pacts
testevent [event name] [country_tag/province_id]Tests an event
testobjective [subgoal key (optional)]Tests objective triggered effects
texturelistTexture List
textureviewerTexture Viewer
timeWhat time is it?
tools.skinsSkin Editor
treatyport [state region tag]Takes treaty port in state region
tweakSpawns a tweaker GUI
update_distributionUpdates garrison unit distribution in HQ of specified State ID
update_employmentTransfers employees between buildings in the specified state ID.
validate_employmentPrint out unemployment in states.
validate_hubs
validate_incomePrint out countries with income deficits.
validate_naval_exits
validate_popsEnsures all pops have valid params and prints them to the error log otherwise.
versionShows current build information, put 1 as second parameter for long version
vsyncToggle main swapchains vsync
wagerateGet or Set a building’s wage rate
yesmenAI will agree to all diplomatic proposals & sway offers from players

More Cheats / Guides


Be the first to comment

Leave a Reply

Your email address will not be published.


*