Docs: show a direct launch for captures and scripted input #22
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Zettrox/ztrx. Originally posted by Yoshi-233 on 2026-11-25T03:27:57Z.
Fixes #19. The normal play launcher clears four capture/input environment variables before it calls the executable, including when the caller supplies
-Exe. The README now shows how to build the diagnostics profile, request frames 60 and 120, optionally script input, and launch the binary directly. It also explains how to use the same cache and save directories as the normal launcher.I exercised the PowerShell launch lines on native Ubuntu with PowerShell 7.7.0 and a stand-in executable that recorded its environment and arguments. The direct example passed the capture directory and frame list through, and preserved the game path with spaces as one argument. The optional key sequence reached the child when uncommented. Passing the same executable to the unmodified
play.ps1cleared all four documented variables. The cache/data paths matched in both cases when set explicitly.I checked the profile and feature names against the Cargo manifests. The staged asset-policy check passed. Windows rendering and PNG output were outside this documentation test.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.