Added telemetry system to get information about issues.
This commit is contained in:
@@ -273,6 +273,7 @@ def prepare_game_runtime(
|
||||
[selection.executable, "winetricks", "-q", "d3dx9_43", "d3dcompiler_43"],
|
||||
env_overrides=environment,
|
||||
timeout_seconds=1800.0,
|
||||
telemetry_stage="directx_install",
|
||||
)
|
||||
)
|
||||
elif selection.kind in {"proton7", "proton7-container"}:
|
||||
@@ -299,6 +300,7 @@ def prepare_game_runtime(
|
||||
],
|
||||
env_overrides=environment,
|
||||
timeout_seconds=600.0,
|
||||
telemetry_stage="prefix_create",
|
||||
)
|
||||
)
|
||||
if not runner.dry_run:
|
||||
@@ -324,6 +326,7 @@ def prepare_game_runtime(
|
||||
],
|
||||
env_overrides=environment,
|
||||
timeout_seconds=60.0,
|
||||
telemetry_stage="dxvk_configuration",
|
||||
)
|
||||
)
|
||||
if not native_d3d_ready(paths.proton_prefix):
|
||||
@@ -352,6 +355,7 @@ def prepare_game_runtime(
|
||||
"WINEDEBUG": "-all",
|
||||
},
|
||||
timeout_seconds=1800.0,
|
||||
telemetry_stage="directx_install",
|
||||
)
|
||||
)
|
||||
else:
|
||||
@@ -504,6 +508,7 @@ def run_game(
|
||||
stream_output=True,
|
||||
output_line_filter=output_line_filter,
|
||||
pass_fds=pass_fds,
|
||||
telemetry_stage="game_start",
|
||||
)
|
||||
|
||||
|
||||
@@ -599,6 +604,7 @@ def run_runtime_prefix_command(
|
||||
env_overrides=environment,
|
||||
timeout_seconds=timeout_seconds,
|
||||
check=check,
|
||||
telemetry_stage="runtime_check",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user