PDA

View Full Version : M2TW .cfg file variables/parameters list



adonys
11-15-2006, 01:17
Bellow you'll find M2TW's .cfg file variables/parameters names. Most of them are already known (if you have a look at M2TW's original .cfg file), but there are a lot of hidden ones, with a few surprisez between them..

In order to use them, you'll have to make a backup copy of the original .cfg file (in case you mess anything), then a working copy (as the "unwelcomed" modifications you'll make will be deleted after you'll exit from the game).

A parameter's name is given in the <section_name>.<parameter_name> format, which means you'll have to add the <parameter_name = <value>> into the section_name .cfg's section (for example the misc.unlock_campaign parameter must be put in the .cfg file like this:


[misc]
unlock_campaign = 1
if the section doesn't exists, just add it)


Video options
video.windowed Enable/disable exclusive video mode
video.borderless_window Do not put a border or title bar on the window
video.movies Enable/disable playing of cut scenes
video.num_shadow_textures
video.num_shadow_blend_stages
video.depth_shadows Shadow map quality (0-no, 1-single, 2-dual)
video.depth_shadows_resolution Shadow map resolution (0-512, 1-1024, 2-2048 or 3-4096)
video.reflection
video.gamma Gamma (50 - 200)
video.bloom Quality of bloom (0 - none, 1 - enabled)
video.texture_filtering Texture filtering (0 - bilinear, 1 - trilinear, 2 - anisotropic)
video.anisotropic_level Level of anisotropic filtering ([1..16], where 1 is no anisotropic filtering, 16 is maximum level)
video.shader
video.antialiasing Full screen antialiasing
video.autodetect Autodetect recommended settings

video.skip_mip_levels

Video preferences
video.widescreen
video.subtitles
video.vsync
video.splashes
video.stencil_shadows
video.vegetation
video.no_background_fmv
video.show_banners
video.anti_alias_mode
video.campaign_resolution
video.battle_resolution
video.unit_detail
video.building_detail
video.grass_distance
video.tga_width
video.tga_aspect
video.tga_input_scale
video.tga_reserve_space
video.graphics_adapter
video.terrain_quality
video.effect_quality
video.vegetation_quality
video.show_package_litter

video.assassination_movies
video.sabotage_movies
video.infiltration_movies
video.event_movies

Audio options
audio.disabled Disable audio
audio.snd_no_eax
audio.queue_character_voices

Audio preferences
audio.master_vol
audio.music_vol
audio.speech_vol
audio.sfx_vol
audio.enable
audio.speech_enable
audio.provider
audio.sub_faction_accents

Camera preferences
camera.restrict
camera.campaign_map_smoothing
camera.move
camera.rotate
camera.default_in_battle

Controls preferences
controls.keyset
controls.campaign_scroll_min_zoom
controls.campaign_scroll_max_zoom

User interface preferences
ui.show_tooltips
ui.full_battle_HUD
ui.radar
ui.unit_cards
ui.SA_cards
ui.buttons

Network options
network.use_ip
network.use_port
network.raise_priority
network.debug.simulation
network.debug.drop_every
network.debug.packet_delay_every
network.debug.queue_delay_every

Hotseat options
multiplayer.playable = enable multiplayer hotseat mode ?!! (doesn't work yet)
multiplayer.factions

multiplayer.hotseat_turns
multiplayer.hotseat_scroll
multiplayer.hotseat_update_ai_camera
multiplayer.hotseat_disable_papal_elections
multiplayer.hotseat_autoresolve_battles
multiplayer.hotseat_save_prefs
multiplayer.hotseat_disable_console
multiplayer.hotseat_validate_diplomacy

Game preferences
game.english
game.morale
game.fatigue
game.event_cutscenes
game.no_campaign_battle_time_limit
game.auto_save
game.disable_arrow_markers
game.label_characters
game.label_settlements
game.first_time_play
game.campaign_num_time_play
game.campaign_map_speed_up
game.disable_events
game.micromanage_all_settlements
game.advanced_stats_always
game.mute_advisor
game.blind_advisor
game.advisor_verbosity
game.campaign_map_game_speed
game.ai_factions
game.unit_size
game.tutorial_battle_played
game.use_quickchat
game.chat_msg_duration
game.tutorial_path
game.pref_factions_played
game.allusers

Miscellaneous
misc.display_error_on_exit
misc.unlock_campaign = unlocks locked factions
misc.output_con_cmds
misc.nice
misc.show_hud_date Show campaign date/turn in hud
misc.bug_report

Features options
features.quick_battle Start quick battle with defending faction
features.editor Enable editor in menus (doesn't work yet)
features.bookmark Enable set bookmarks mode
features.multirun Allow multiple copies of the game to run simultaneously
features.default_campaign
features.mod
features.disable_mod

Input options
input.play
input.save
input.play_cursor
input.file
input.ignore_revision
input.autorun
input.playback_assert

Sync test options
sync.dump

IO options
io.disable_file_cache Disable search file cache if present
io.packs_root Root path for packs
io.filtered Filtered file list
io.file_first Enable file override for packs

BugReport Options
core.disable_dialogs Disables displaying of dialogs
core.assert_ignore_always
core.exception_search

Debug options
debug.default_no_dump
debug.window Enable/disable debug window output

Memory options
mem.init Set initialisation value for memory
mem.leaks Enable extended memory leak tracing
mem.leak_depth Extended memory leak tracing stack depth
mem.crt Enable crt memory leak tracing
mem.accounting Enable memory accounting (requires 'leaks')

Log options
log.to Set global log file
log.file_flush Set file flush count (how many times log system is called before it flushes file buffer)
log.timestamp Enable/disable log timestamp
log.level Set levels for different parts of logging system in form of "<log_name> <level>"
log.file Set output file for different parts of logging system in form of "<log_name> <file_name>"
log.dbgwnd Enables output to debug window for different parts of logging system in form of "<log_name> <level>"

I think this is everything I can find at this hour. It's too late to can work over it anymore (past 3Am in here), but there are some interesting things which can be noted from them:

1) there seems that CA worked for a strategic map multiplayer hotseat mode of the game!!! the multiplayer.playable variable seems to be used to enable it (but it doesn't work atm), while multiplayer.hotseat_disable_papal_elections and multiplayer.hotseat_autoresolve_battles variables clearely point that there was (at least some) work done for a strategic map multiplayer hotseat mode