Log in

View Full Version : Valuable information from RTW vanilla demo



SigniferOne
09-18-2005, 04:27
I have downloaded the demo again, just to see if we have missed anything, and I found a LOT of stuff in there that can possibly help the community. The amount of stuff I've found is gigantic, over one megabyte in total size, so it will take time to convert it all to readable form. For now, I give you ALL of the command line options that the demo talks about. Some notes: I have done absolutely minimal editing, just to make it readable, and have rearranged just a few things that probably stick together but were disjointed. Other than that I have tried to leave everything intact as it exists in the original file; some commands seem to follow one another in such a logical order that I left them on the same line, not sure whether they were independent or not.

I will be attaching the original "raw" data, and my own edited version.


All command line options available in RTW demo

Raw:

UDP_STREAM_STATUS_ACCEPT UDP_STREAM_STATUS_CONNECT UDP_STREAM_STATUS_OPEN UDP_STREAM_STATUS_CLOSE UDP_STREAM_STATUS_CLOSING UDP_STREAM_STATUS_CLOSED ONLINE_REASON_IP_ADDRESS_MISSMATCH ONLINE_REASON_SERVER_CONNECTION_LOST ONLINE_REASON_DISCONNECTION_REQUESTED ONLINE_REASON_PRODUCT_NOT_SUPPORTED ONLINE_REASON_PROFILE_INVALID ONLINE_REASON_PASSWORD_INVALID ONLINE_REASON_PUBLIC_KEY_INVALID ONLINE_REASON_CDKEY_INVALID ONLINE_REASON_PROFILE_DOES_NOT_EXIST ONLINE_REASON_PASSWORD_NOT_VALID_FOR_PROFILE ONLINE_REASON_CDKEY_REUSED ONLINE_REASON_SERVER_THREAD_ERROR ONLINE_REASON_SERVER_KICKED ONLINE_REASON_SERVER_DISCONNECTED ONLINE_REASON_INCORRECT_DATA_FORMAT ONLINE_REASON_UNDOCUMENTED_ERROR_SEE_LOG sw ne ae no_tnl nm na force_default_hz util Must supply options for utility mode. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s , encrypt data animdb sound , fpex fperr fplog encrypt_desc_load sp sprite_script sprn hires_radar incremental_autosave end_of_turn_autosave save_game_fix_algorithm disr disr cheat shortcuts ed_dir mem_force auto_quit pr oldskoolui hudmeup bookmark showtime tv_banners enable_editor force_campaign_battle_ai_defend Command-line option 'force_campaign_battle_ai_defend' Must supply a campaign map tile. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s %d,%d battle_ai_disable_outflanking battle_ai_force_outflanking popularity_land_percentage capture_tga fps Must supply fps as 'fps=N'. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s dir Must supply a target dir as dir=dirname. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Capture tga options: -capture_tga:fps=N:dir=dirname. -capture_tga defaults to -capture_tga:fps=30:dir=capture_tga C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s dm Command-line option 'dm' Must supply a mount model type name when using view mode with mounts. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters for mount names. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s df position_scale engine show_grid custom Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s engine_shadow nc use_rtm_cam key Command-line option 'key' must be given a string for which to generate a key. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a key longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s view Command-line option 'view' Must supply a model type name when using view mode. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s ai enter_battles ignore_win_or_defeat battle_arcade_mode battle Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s strat Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s lan prefs Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s overview Must supply an overview map name when bypassing straight to overview from command line. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s fmv Must supply a strategy map name when bypassing straight to fmv from command line. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s rtm Must supply a rtm file name when bypassing straight to rtm from command line. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s create_sprite_script output_skeleton_speeds strat_ed Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s menu battle_ed Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s screen_res Command-line option 'screen_res' must be given comma-seperated screen width and height in pixels. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Command-line option 'screen_res' contained space, zero or negative number. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s hm playable all faction game_speed on skip_ai_factions display_off qa replay save play speed Must supply speed factor as 'speed=N'. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s check build_check_from_replay nocheck info stop Must supply stop tick as 'stop=N'. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s flush capture_and_quit file Must supply a replay file name as file="filename". C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a replay file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a replay file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s cam Must supply a camera file name as file="filename". C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a camera file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a replay file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s compare Must supply a replay comparison file name as compare="filename". C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a replay comparison file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a replay comparision file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s show_battle_ui Replay options: -replay:save:play:speed=N:check:nocheck:stop=N:file=filename:show_battle_ui. -replay defaults to -replay:play:speed=1:check:file="network.rpy":stop=0 (never stops) C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s qa diag_warn checksum display_rand log ticks first_tick 'log' options incorrect: -log=MASK<:ticks=MASK<,start,end>><:first_tick=MASK> C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s nw log bcast_on bcast_off mt_on mt_off local resend 'nw' options incorrect: -nw<:log=MASK><:resend=N><:local> C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s ghost input_save.svg save play file Must supply a ghost file name as file="filename". C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a ghost file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Must supply a ghost file name in double quotes. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Ghost options: -ghost:save:play:file=filename -ghost defaults to -ghost:play:file="input_save.svg" C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s mod Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s check_building_infos host battle strat default name vidmem dpr desync_men ob_cam no_damage no_battle_ai no_melee_interrupts infinite_missiles fbc snd_hw no_snd_hw snd_quality snd_profile %i:%i:%i:%i ghm Command-line option 'ghm' Must supply a tga filename. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a filename longer than 256 characters for ghm. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s dcdw rbm_delta multirun generate_forest_canopy generate_forest_edging daytime radar_ambush stop_alloc %x stop_alloc_count %d disable_naval_ai test_daytypes dbmpf pdl output_con_cmds documentation/console_commands.txt snd_missing lbc_peasant_count capture_audio dir Must supply a target dir as dir=dirname. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s Capture audio options: -capture_audio:dir=dirname C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s tweak_pwdm gs_chat_name gs_group_room gs_game_password gs_lan gs_host gs_join hide_non_release_info %s/%s .. . .txt .evt C:\Romans\code\romans_event_handler.cpp

Edited:


sw
ne
ae
no_tnl
nm
na
force_default_hz
util
Must supply options for utility mode.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

encrypt
data
animdb
sound
fpex
fperr
fplog
encrypt_desc_load
sp
sprite_script
sprn
hires_radar
incremental_autosave
end_of_turn_autosave
save_game_fix_algorithm disr
disr
cheat
shortcuts
ed_dir
mem_force
auto_quit
pr
oldskoolui
hudmeup
bookmark
showtime
tv_banners
enable_editor
force_campaign_battle_ai_defend
Command-line option 'force_campaign_battle_ai_defend'
Must supply a campaign map tile.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s %d,%d

battle_ai_disable_outflanking
battle_ai_force_outflanking
popularity_land_percentage
capture_tga
fps
Must supply fps as 'fps=N'.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

dir
Must supply a target dir as dir=dirname.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

Can't have a name longer than 256 characters. C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s


Capture tga options: -capture_tga:fps=N:dir=dirname.
-capture_tga defaults to -capture_tga:fps=30:dir=capture_tga
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

dm
Command-line option 'dm'
Must supply a mount model type name when using view mode with mounts.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters for mount names.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

df
position_scale
engine
show_grid
custom
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

engine_shadow
nc
use_rtm_cam
key
Command-line option 'key' must be given a string for which to generate a key.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a key longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

view
Command-line option 'view'
Must supply a model type name when using view mode.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

ai
enter_battles
ignore_win_or_defeat
battle_arcade_mode
battle
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

strat
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

lan
prefs
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

overview
Must supply an overview map name when bypassing straight to overview from command line.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

fmv
Must supply a strategy map name when bypassing straight to fmv from command line.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

rtm
Must supply a rtm file name when bypassing straight to rtm from command line.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

create_sprite_script
output_skeleton_speeds
strat_ed
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

menu
battle_ed
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

screen_res
Command-line option 'screen_res' must be given comma-seperated screen width and height in pixels.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Command-line option 'screen_res' contained space, zero or negative number.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

hm
playable all faction
game_speed on
skip_ai_factions
display_off qa replay save play
speed
Must supply speed factor as 'speed=N'.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

check
build_check_from_replay
nocheck
info
stop
Must supply stop tick as 'stop=N'.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
flush
capture_and_quit
file
Must supply a replay file name as file="filename".
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a replay file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

Must supply a replay file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

cam
Must supply a camera file name as file="filename".
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a camera file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a replay file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

compare
Must supply a replay comparison file name as compare="filename".
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a replay comparison file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a replay comparision file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

show_battle_ui

Replay options: -replay:save:play:speed=N:check:nocheck:stop=N:file=filename:show_battle_ui.
-replay defaults to -replay:play:speed=1:check:file="network.rpy":stop=0 (never stops)
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

qa
diag_warn
checksum
display_rand
log
'log' options incorrect: -log=MASK<:ticks=MASK<,start,end>><:first_tick=MASK>
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
ticks
first_tick

nw
'nw' options incorrect: -nw<:log=MASK><:resend=N><:local>
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

log bcast_on
bcast_off
mt_on
mt_off
local
resend
ghost
Must supply a ghost file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Ghost options: -ghost:save:play:file=filename -ghost defaults to -ghost:play:file="input_save.svg"
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

input_save.svg
save
play
file
Must supply a ghost file name as file="filename".
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Must supply a ghost file name in double quotes.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

mod
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

check_building_infos
host battle strat default name
vidmem
dpr
desync_men
ob_cam
no_damage
no_battle_ai
no_melee_interrupts
infinite_missiles
fbc snd_hw
no_snd_hw
snd_quality
snd_profile %i:%i:%i:%i
ghm
Command-line option 'ghm'
Must supply a tga filename.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a filename longer than 256 characters for ghm.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

dcdw
rbm_delta
multirun
generate_forest_canopy
generate_forest_edging
daytime
radar_ambush
stop_alloc %x
stop_alloc_count %d
disable_naval_ai
test_daytypes
dbmpf
pdl
output_con_cmds documentation/console_commands.txt
snd_missing
lbc_peasant_count
capture_audio
dir
Must supply a target dir as dir=dirname.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Can't have a name longer than 256 characters.
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s
Capture audio options: -capture_audio:dir=dirname
C:\Romans\code\romans_cmd_line.cpp %s(%d) :

%s %s

tweak_pwdm
gs_chat_name
gs_group_room
gs_game_password
gs_lan
gs_host
gs_join
hide_non_release_info

As you can see, 99.999% of these are entirely undocumented, but at least some of these undocumented features, such as -battle_editor and -ai we know to work. More information to come, I might have found a detailed description of how spawn_army works.

SigniferOne
09-18-2005, 05:03
Here's the complete contents of what the demo rome.exe has to say about spawn_army, completely unedited and including valuable error messages:


SPAWN_ARMY spawn_army
faction romans_julii
character Foedus Chaerea, general, command 0, influence 0, management 0, subterfuge 0, age 20, , x 54, y 124
unit roman generals guard cavalry soldiers 20 exp 9 armour 1 weapon_lvl 0
unit roman legionary first cohort ii soldiers 40 exp 0 armour 0 weapon_lvl 0
unit roman legionary cohort ii soldiers 60 exp 0 armour 0 weapon_lvl 0
unit roman praetorian cohort i soldiers 60 exp 0 armour 0 weapon_lvl 0
end create an army at a particular location faction, character and units as in army description in historical battle (character description for general and unit descriptions for remainder of the army) spawn_army ... end spawn_army faction First entry in spawn_army must be the general C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

%s %s character First entry in spawn_army must be the general C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

%s %s level command influence management age x y C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

Unrecognised character data string (%s) %s C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

Character '%s' is placed on an invalid tile.
%s C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

Character '%s' is too young to be a named character at age %d.
%s C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

Character '%s' is too old at age %d.
%s unit soldiers Out of range number of soldiers specified for unit. C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

%s %s armour weapon_lvl pri_weapon exp Out of range experience specified for unit C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

%s %s ambush C:\Romans\code\script_campaign.cpp %s(%d) :

Script Error in %s, at line %i, column %i.

Unrecognised unit data string (%s) %s C:\Romans\code\script_campaign.cpp Faction doesn't exist.
C:\Romans\code\script_campaign.cpp %s(%d) :

%s %s C:\Romans\code\script_campaign.cpp %s(%d) :

Character %s already exists.
%s C:\Romans\code\script_campaign.cpp %s(%d) :

Character %s could not be created as the destination square is populated %s C:\Romans\code\script_campaign.cpp %s(%d) :

Character %s could not be created.
%s C:\Romans\code\script_campaign.cpp %s(%d) :

Army for character %s could not be created.
%s C:\Romans\code\script_campaign.cpp %s(%d) :

Unit for army for character %s could not be created.
%s Guy Yes