diff options
| author | AGInformatique81 <327468329+AGInformatique81@users.noreply.github.com> | 2026-11-23 02:33:32 +0100 |
|---|---|---|
| committer | AGInformatique81 <327468329+AGInformatique81@users.noreply.github.com> | 2026-11-23 02:33:32 +0100 |
| commit | 4dc31152970fcb851377ff7fb9a06524966df1b3 (patch) | |
| tree | 80d4132f8124f44c42be8a6334a88d23c4dd754c /docs | |
| parent | ed988486b86b36ab3dfe9e4c468e810231c19294 (diff) | |
Keep complete native trace lines in the PowerShell runbook
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/boot.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/boot.md b/docs/boot.md index 4ee9a00d9..6aebc8dcb 100644 --- a/docs/boot.md +++ b/docs/boot.md | |||
| @@ -36,12 +36,15 @@ $exe = "C:\path\to\game_scarlett_master.exe" | |||
| 36 | $pkg = "C:\path\to\the\package" | 36 | $pkg = "C:\path\to\the\package" |
| 37 | $trace = Join-Path $env:TEMP boot.jsonl | 37 | $trace = Join-Path $env:TEMP boot.jsonl |
| 38 | $log = Join-Path $env:TEMP d3d12.log | 38 | $log = Join-Path $env:TEMP d3d12.log |
| 39 | .\runtime\build\gta6rt.exe --run $exe --game-dir $pkg --trace $trace --trace-d3d12 2> $log | 39 | .\runtime\build\gta6rt.exe --run $exe --game-dir $pkg --trace $trace --trace-d3d12 2>&1 | |
| 40 | ForEach-Object { $_.ToString() } | | ||
| 41 | Out-File -LiteralPath $log -Width 4096 -Encoding utf8 | ||
| 40 | python -I tools\boot_trace.py $trace --d3d12 $log | 42 | python -I tools\boot_trace.py $trace --d3d12 $log |
| 41 | ``` | 43 | ``` |
| 42 | 44 | ||
| 43 | The tool reads UTF-8 and UTF-16 with a byte-order mark, including the UTF-16LE log that Windows PowerShell 5.1 | 45 | The capture pipeline writes each message as text to avoid PowerShell 5.1 wrapping the first stderr record at a |
| 44 | writes with `2>`. It also recognizes the `program.exe : ` prefix that PowerShell 5.1 adds to the first stderr line. | 46 | narrow output width. The tool also reads existing UTF-16LE logs saved with `2>` in PowerShell 5.1 and recognizes |
| 47 | the `program.exe : ` prefix on the first stderr line. | ||
| 45 | 48 | ||
| 46 | Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan): | 49 | Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan): |
| 47 | 50 | ||