docs(debt): correct Windows GUI logging description #6327

Merged
HilalElusive merged 1 commit from upstream-pr/6327 into main 2026-10-18 23:08:04 +00:00
HilalElusive commented 2026-10-15 11:53:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by HilalElusive on 2026-10-15T11:53:34Z.


What

The relinker debt entry still said a --windows-gui build started from Explorer loses all its output. Since ab3e92605, the entry stub gives each missing standard handle anyps5.log beside the executable, and the crash report writes to the standard error handle, so it reaches the log too. The entry now records only what is still lost: the stub's errors about the executable path or about waiting for the previous LoadExec process, written before the log is opened, and output to the missing handles when the log cannot be created.

Tested

Docs only. Checked against WindowsEntryStubBuilder.cpp (log opened after the path and LoadExec checks) and CrashReport.cpp (writes to GetStdHandle(STD_ERROR_HANDLE)). python3 tools/check_conventions.py --base origin/main passes.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4872810601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6327). Originally posted by [HilalElusive](https://github.com/HilalElusive) on 2026-10-15T11:53:34Z. --- ### What The relinker debt entry still said a --windows-gui build started from Explorer loses all its output. Since ab3e92605, the entry stub gives each missing standard handle `anyps5.log` beside the executable, and the crash report writes to the standard error handle, so it reaches the log too. The entry now records only what is still lost: the stub's errors about the executable path or about waiting for the previous LoadExec process, written before the log is opened, and output to the missing handles when the log cannot be created. ### Tested Docs only. Checked against `WindowsEntryStubBuilder.cpp` (log opened after the path and LoadExec checks) and `CrashReport.cpp` (writes to `GetStdHandle(STD_ERROR_HANDLE)`). `python3 tools/check_conventions.py --base origin/main` passes. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-16 18:53:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T18:53:00Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 docs/dev/debt/relinker.md
PR 6977 docs/dev/debt/relinker.md
PR 7173 docs/dev/debt/relinker.md
PR 7332 docs/dev/debt/relinker.md
PR 7450 docs/dev/debt/relinker.md
PR 7531 docs/dev/debt/relinker.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6222519364 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6327#issuecomment-6222519364). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T18:53:00Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/relinker.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `docs/dev/debt/relinker.md` | | [PR 7173](https://www.github.com/boykopovar/AnyPS5/pull/7173) | `docs/dev/debt/relinker.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `docs/dev/debt/relinker.md` | | [PR 7450](https://www.github.com/boykopovar/AnyPS5/pull/7450) | `docs/dev/debt/relinker.md` | | [PR 7531](https://www.github.com/boykopovar/AnyPS5/pull/7531) | `docs/dev/debt/relinker.md` |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6327
No description provided.