mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 21:48:00 -05:00
Having to break out the config files to two separate because of the new sv_cheats change.
This commit is contained in:
11
dota2/benchmark_load.cfg
Normal file
11
dota2/benchmark_load.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
sv_log 0
|
||||
sv_alternateticks 0
|
||||
dota_spectator_use_broadcaster_stats_panel 0
|
||||
dota_spectator_mode 0
|
||||
dota_spectator_hero_index ""
|
||||
cl_showdemooverlay 0; // still broken, no other command usable to hide demo overlay
|
||||
demo_usefastgoto 1
|
||||
fps_max 0
|
||||
|
||||
playdemo replays\benchmark
|
||||
sleep 20000
|
||||
@@ -1,20 +1,6 @@
|
||||
push_var_values
|
||||
|
||||
showconsole
|
||||
|
||||
sv_log 0
|
||||
sv_alternateticks 0
|
||||
dota_spectator_use_broadcaster_stats_panel 0
|
||||
dota_spectator_mode 0
|
||||
dota_spectator_hero_index ""
|
||||
cl_showdemooverlay 0; // still broken, no other command usable to hide demo overlay
|
||||
demo_usefastgoto 1
|
||||
fps_max 0
|
||||
|
||||
playdemo replays\benchmark
|
||||
sleep 20000
|
||||
|
||||
//// DISABLE ALL CONSOLE SPEW SOURCES FOR A CLEAN SCRIPT OUTPUT ( VALVE PLZ GIFF SINGLE CMD FOR IT )
|
||||
/// DISABLE ALL CONSOLE SPEW SOURCES FOR A CLEAN SCRIPT OUTPUT ( VALVE PLZ GIFF SINGLE CMD FOR IT )
|
||||
log_flags Console +DoNotEcho | grep %
|
||||
log_flags General Developer DeveloperConsole Panel Panorama PanoramaScript VScript VScriptDbg VScriptScripts CustomUI CustomGameCache CustomNetTable +DoNotEcho
|
||||
log_flags AnimationGraph AnimationSystem AnimGraphManager AnimResource Assert "BitBuf Error" BoneSetup Client "Combat Analyzer" CommandLine D3D Decals Demo DeveloperVerbose DotaGuide DOTAHLTVCamera +DoNotEcho
|
||||
@@ -72,13 +72,16 @@ def copy_config() -> None:
|
||||
config_path = Path(get_install_path(), "game\\dota\\cfg")
|
||||
config_path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
src_path = SCRIPT_DIRECTORY / "benchmark.cfg"
|
||||
dest_path = config_path / "benchmark.cfg"
|
||||
files_to_copy = ["benchmark_run.cfg", "benchmark_load.cfg"]
|
||||
|
||||
logging.info("Copying: %s -> %s", src_path, dest_path)
|
||||
shutil.copy(src_path, dest_path)
|
||||
for filename in files_to_copy:
|
||||
src_path = SCRIPT_DIRECTORY / filename
|
||||
dest_path = config_path / filename
|
||||
|
||||
logging.info("Copying: %s -> %s", src_path, dest_path)
|
||||
shutil.copy(src_path, dest_path)
|
||||
except OSError as err:
|
||||
logging.error("Could not copy config file.")
|
||||
logging.error("Could not copy config files.")
|
||||
raise err
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user