upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/boot.md
diff options
context:
space:
mode:
authorAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 02:33:32 +0100
committerAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 02:33:32 +0100
commit4dc31152970fcb851377ff7fb9a06524966df1b3 (patch)
tree80d4132f8124f44c42be8a6334a88d23c4dd754c /docs/boot.md
parented988486b86b36ab3dfe9e4c468e810231c19294 (diff)
Keep complete native trace lines in the PowerShell runbook
Diffstat (limited to 'docs/boot.md')
-rw-r--r--docs/boot.md9
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
40python -I tools\boot_trace.py $trace --d3d12 $log 42python -I tools\boot_trace.py $trace --d3d12 $log
41``` 43```
42 44
43The tool reads UTF-8 and UTF-16 with a byte-order mark, including the UTF-16LE log that Windows PowerShell 5.1 45The capture pipeline writes each message as text to avoid PowerShell 5.1 wrapping the first stderr record at a
44writes with `2>`. It also recognizes the `program.exe : ` prefix that PowerShell 5.1 adds to the first stderr line. 46narrow output width. The tool also reads existing UTF-16LE logs saved with `2>` in PowerShell 5.1 and recognizes
47the `program.exe : ` prefix on the first stderr line.
45 48
46Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan): 49Linux under Wine (a cross build made with xwin, or the `runtime-windows` artifact; the backend must be Vulkan):
47 50