Windows: the relinker cannot convert a game in a directory with non-ASCII characters #2692

Closed
opened 2026-10-10 10:59:54 +00:00 by justdoston · 10 comments
justdoston commented 2026-10-10 10:59:54 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by justdoston on 2026-10-10T10:59:54Z.


What

On Windows the relinker reads its arguments through the narrow main (core/relinker/main.cpp), so they arrive in the ANSI code page, while MinGW's std::filesystem treats narrow strings as UTF-8. Io::FileReader/FileWriter then open those strings with the narrow CRT. So a game in a directory with any non-ASCII character cannot be converted on Windows: a character outside the code page becomes ?, and an accented one that the code page does have is not valid UTF-8. @husseinkad noted the argument part while testing #2640.

Measured

relinker.exe built from main cd73e149 with MinGW-w64 GCC 16 and run under Wine 10.0 (en_US, ANSI code page 1252) on the test_windows_import_modules.py executable, relinker --windows <dir>\input.elf <dir>\output.exe:

directory result
ascii converts; the output reaches its guest entry
José FAIL: filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
日本 FAIL: Cannot open file: …\??\game\input.elf

Not run on a Windows machine yet; husseinkad saw the same conversion error there with ü.

Proposal

On Windows take the arguments from wmain and convert them to UTF-8 with std::filesystem::path(...).string(), open files through std::filesystem::path in Io::FileReader/FileWriter (no change on Linux and macOS), and start --autorun with _wsystem. A regression case can run the relinker on input and output paths with non-ASCII characters.

I'd like to work on this, unless @husseinkad already is.

AI-assisted: yes. An AI agent (Claude Code) did most of this work: it reproduced the problem and wrote this report.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5790594239 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692). Originally posted by [justdoston](https://github.com/justdoston) on 2026-10-10T10:59:54Z. --- ### What On Windows the relinker reads its arguments through the narrow `main` (`core/relinker/main.cpp`), so they arrive in the ANSI code page, while MinGW's `std::filesystem` treats narrow strings as UTF-8. `Io::FileReader`/`FileWriter` then open those strings with the narrow CRT. So a game in a directory with any non-ASCII character cannot be converted on Windows: a character outside the code page becomes `?`, and an accented one that the code page does have is not valid UTF-8. @husseinkad noted the argument part while testing #2640. ### Measured `relinker.exe` built from `main` cd73e149 with MinGW-w64 GCC 16 and run under Wine 10.0 (`en_US`, ANSI code page 1252) on the `test_windows_import_modules.py` executable, `relinker --windows <dir>\input.elf <dir>\output.exe`: | directory | result | |---|---| | `ascii` | converts; the output reaches its guest entry | | `José` | `FAIL: filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character` | | `日本` | `FAIL: Cannot open file: …\??\game\input.elf` | Not run on a Windows machine yet; husseinkad saw the same conversion error there with `ü`. ### Proposal On Windows take the arguments from `wmain` and convert them to UTF-8 with `std::filesystem::path(...).string()`, open files through `std::filesystem::path` in `Io::FileReader`/`FileWriter` (no change on Linux and macOS), and start `--autorun` with `_wsystem`. A regression case can run the relinker on input and output paths with non-ASCII characters. I'd like to work on this, unless @husseinkad already is. AI-assisted: yes. An AI agent (Claude Code) did most of this work: it reproduced the problem and wrote this report.
justdoston commented 2026-10-10 11:05:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by justdoston on 2026-10-10T11:05:25Z.


Fix branch: https://github.com/justdoston/AnyPS5/tree/fix/windows-relinker-unicode-arguments (f87686c2)

  • On Windows the relinker takes its arguments from wmain and converts them to UTF-8 with std::filesystem::path(...).string(); MinGW links it with -municode. Linux and macOS keep the narrow main.
  • Io::FileReader and FileWriter open through std::filesystem::path, so Windows uses the wide CRT and Linux and macOS see no change.
  • --autorun starts the output with _wsystem on Windows.
  • New file_unicode_path test (all platforms) writes, reads and replaces données.bin under a ü日 directory through FileWriter/FileReader and checks the file exists at that path; windows_import_modules converts a case under unicode-ü日.

Tested: Linux relinker ctest 98/98. relinker.exe cross-built with MinGW-w64 GCC 16 and run under Wine 10.0 (en_US, code page 1252): ascii, José and 日本 now convert (before: José and 日本 failed as in the table above). file_unicode_path cross-built and run under Wine fails with main's FileReader/FileWriter and passes with the branch. Merged with the #2640 branch (no conflicts), the converted executables also start from all three directories. Not run on a Windows machine.

AI-assisted: yes. An AI agent (Claude Code) did most of the work: the code, the tests and this comment.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6096839073 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6096839073). Originally posted by [justdoston](https://github.com/justdoston) on 2026-10-10T11:05:25Z. --- Fix branch: https://github.com/justdoston/AnyPS5/tree/fix/windows-relinker-unicode-arguments (`f87686c2`) - On Windows the relinker takes its arguments from `wmain` and converts them to UTF-8 with `std::filesystem::path(...).string()`; MinGW links it with `-municode`. Linux and macOS keep the narrow `main`. - `Io::FileReader` and `FileWriter` open through `std::filesystem::path`, so Windows uses the wide CRT and Linux and macOS see no change. - `--autorun` starts the output with `_wsystem` on Windows. - New `file_unicode_path` test (all platforms) writes, reads and replaces `données.bin` under a `ü日` directory through `FileWriter`/`FileReader` and checks the file exists at that path; `windows_import_modules` converts a case under `unicode-ü日`. Tested: Linux relinker `ctest` 98/98. `relinker.exe` cross-built with MinGW-w64 GCC 16 and run under Wine 10.0 (`en_US`, code page 1252): `ascii`, `José` and `日本` now convert (before: `José` and `日本` failed as in the table above). `file_unicode_path` cross-built and run under Wine fails with `main`'s `FileReader`/`FileWriter` and passes with the branch. Merged with the #2640 branch (no conflicts), the converted executables also start from all three directories. Not run on a Windows machine. AI-assisted: yes. An AI agent (Claude Code) did most of the work: the code, the tests and this comment.
Get-fix commented 2026-10-10 11:34:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Get-fix on 2026-10-10T11:34:41Z.


Native Windows run of justdoston:fix/windows-relinker-unicode-arguments at f87686c2 (one commit on main b5f5362d). Windows 11 Pro 10.0.26200, ANSI code page 1252, WinLibs GCC 15.2.0 r7, relinker-only Release build.

Relinker ctest on the branch: 94 of 94. file_unicode_path passes, and windows_import_modules passes with its unicode-ü日 case. The branch's test_windows_import_modules.py run against main's relinker fails at that case with FAIL: filesystem error: Cannot convert character sequence: Illegal byte sequence. No ü/日 directories were left in %TEMP%.

The test_windows_import_modules executable (exit 11 once the guest entry runs), stored and converted inside each directory, then started from another directory:

directory main b5f5362d this branch this branch + #2640 (bcb8d644, no conflicts)
ascii converts, 11 converts, 11 converts, 11
José FAIL: filesystem error: Cannot convert character sequence: Illegal byte sequence converts, 11 converts, 11
عربي FAIL: Cannot open file: … converts, 0xc000000d converts, 11
日本 same converts, 0xc000000d converts, 11
game 🎮 same converts, 0xc000000d converts, 11

ps5-doom (PPSA99666 v1.1.1, --windows --windows-gui) stored in a directory named عربي, converted there and started with Start-Process from another directory: main cannot open …\????\game\eboot.elf; this branch converts it and the executable exits with 0xc000000d at the entry stub; with #2640 merged as well it converts and runs, and the DOOM window renders.

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097071032 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6097071032). Originally posted by [Get-fix](https://github.com/Get-fix) on 2026-10-10T11:34:41Z. --- Native Windows run of `justdoston:fix/windows-relinker-unicode-arguments` at f87686c2 (one commit on `main` b5f5362d). Windows 11 Pro 10.0.26200, ANSI code page 1252, WinLibs GCC 15.2.0 r7, relinker-only Release build. **Relinker ctest on the branch: 94 of 94.** `file_unicode_path` passes, and `windows_import_modules` passes with its `unicode-ü日` case. The branch's `test_windows_import_modules.py` run against `main`'s relinker fails at that case with `FAIL: filesystem error: Cannot convert character sequence: Illegal byte sequence`. No `ü`/`日` directories were left in `%TEMP%`. **The `test_windows_import_modules` executable** (exit 11 once the guest entry runs), stored and converted inside each directory, then started from another directory: | directory | `main` b5f5362d | this branch | this branch + #2640 (`bcb8d644`, no conflicts) | |---|---|---|---| | `ascii` | converts, 11 | converts, 11 | converts, 11 | | `José` | `FAIL: filesystem error: Cannot convert character sequence: Illegal byte sequence` | converts, 11 | converts, 11 | | `عربي` | `FAIL: Cannot open file: …` | converts, `0xc000000d` | converts, 11 | | `日本` | same | converts, `0xc000000d` | converts, 11 | | `game 🎮` | same | converts, `0xc000000d` | converts, 11 | **ps5-doom** (PPSA99666 v1.1.1, `--windows --windows-gui`) stored in a directory named `عربي`, converted there and started with `Start-Process` from another directory: `main` cannot open `…\????\game\eboot.elf`; this branch converts it and the executable exits with `0xc000000d` at the entry stub; with #2640 merged as well it converts and runs, and the DOOM window renders. AI-assisted: yes (Claude Code).
husseinkad commented 2026-10-10 11:48:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by husseinkad on 2026-10-10T11:48:31Z.


More native Windows data for justdoston:fix/windows-relinker-unicode-arguments (f87686c2), in addition to @Get-fix's ctest run. Windows 11 Pro 10.0.26200, ANSI code page 1252, WinLibs GCC 15.2.0 r7, relinker-only Release build of the branch merged onto main b5f5362d (no conflicts).

  • ctest: 94 of 94. With only the source changes reverted and the new tests kept, file_unicode_path fails (Cannot open output file: ...ü日-...\données.bin) and windows_import_modules fails (filesystem error: Cannot convert character sequence), so both exercise the fix.
  • End to end: 210 runs per binary, with names plain, ü, 日本, عربي, ü日, an emoji and sp ace ü日, with and without guest modules, absolute and relative paths, --autorun absolute and relative, launched from cmd.exe, PowerShell and Git Bash. All 210 conversions succeed on the branch; main fails 180 of them at conversion. --autorun returns the right exit code for plain and ü (so _wsystem works); main fails it for every non-ASCII path.
  • Byte comparison: for ASCII-named inputs the output trees are bit-identical between main and the branch for --windows, --windows --windows-gui, --windows-diagnostics, --registry, --to-intel, --macos and the default Linux output; stdout and stderr match.
  • Remaining gap, expected and covered by the #2640 branch: 150 of the 210 runs convert fine but the converted output.exe stops with FAIL: cannot make the executable directory the current directory (GetLastError 123) when its own directory contains a character outside cp1252 (日本, عربي, emoji, ü日); the entry stub still uses the ANSI APIs. A non-ANSI input directory with an ASCII output directory, and non-ANSI file names in an ASCII directory, run correctly.
  • Not Unicode-related: --autorun on a path containing & fails the same way on main and on this branch (cmd quoting).
  • One thing worth a check in this design, which I saw while testing my own now-abandoned variant and did not test on this branch: wmain converts every argument including argv[0], which the program never uses, so launching the relinker from a directory whose name contains an unpaired surrogate fails with command line is not valid UTF-16 where main ran fine. Starting the conversion loop at index 1 avoids it.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097177674 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6097177674). Originally posted by [husseinkad](https://github.com/husseinkad) on 2026-10-10T11:48:31Z. --- More native Windows data for `justdoston:fix/windows-relinker-unicode-arguments` (`f87686c2`), in addition to @Get-fix's ctest run. Windows 11 Pro 10.0.26200, ANSI code page 1252, WinLibs GCC 15.2.0 r7, relinker-only Release build of the branch merged onto `main` b5f5362d (no conflicts). - ctest: 94 of 94. With only the source changes reverted and the new tests kept, `file_unicode_path` fails (`Cannot open output file: ...ü日-...\données.bin`) and `windows_import_modules` fails (`filesystem error: Cannot convert character sequence`), so both exercise the fix. - End to end: 210 runs per binary, with names `plain`, `ü`, `日本`, `عربي`, `ü日`, an emoji and `sp ace ü日`, with and without guest modules, absolute and relative paths, `--autorun` absolute and relative, launched from cmd.exe, PowerShell and Git Bash. All 210 conversions succeed on the branch; `main` fails 180 of them at conversion. `--autorun` returns the right exit code for `plain` and `ü` (so `_wsystem` works); `main` fails it for every non-ASCII path. - Byte comparison: for ASCII-named inputs the output trees are bit-identical between `main` and the branch for `--windows`, `--windows --windows-gui`, `--windows-diagnostics`, `--registry`, `--to-intel`, `--macos` and the default Linux output; stdout and stderr match. - Remaining gap, expected and covered by the #2640 branch: 150 of the 210 runs convert fine but the converted `output.exe` stops with `FAIL: cannot make the executable directory the current directory` (`GetLastError` 123) when its own directory contains a character outside cp1252 (`日本`, `عربي`, emoji, `ü日`); the entry stub still uses the ANSI APIs. A non-ANSI input directory with an ASCII output directory, and non-ANSI file names in an ASCII directory, run correctly. - Not Unicode-related: `--autorun` on a path containing `&` fails the same way on `main` and on this branch (cmd quoting). - One thing worth a check in this design, which I saw while testing my own now-abandoned variant and did not test on this branch: `wmain` converts every argument including `argv[0]`, which the program never uses, so launching the relinker from a directory whose name contains an unpaired surrogate fails with `command line is not valid UTF-16` where `main` ran fine. Starting the conversion loop at index 1 avoids it. AI-assisted: yes.
aplatogg commented 2026-10-10 12:51:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by aplatogg on 2026-10-10T12:51:38Z.


Root-cause analysis for this issue, with a fix ready in PR #2751

The failure is a Windows ANSI code page chain, not a filesystem quirk:

  1. MinGW delivers argv to main as ANSI code page bytes (core/relinker/main.cpp) — the relinker has no wmain/-municode, so any character outside the user's code page is already replaced before the tool sees it
  2. Every narrow string became a std::filesystem::path through the same code page: the implicit conversion at the GuestModuleBuilder::Build call site, FileReader::Read/FileWriter::Write, and the WindowsPePatcher icon path
  3. So a game in a directory with characters outside the code page fails with Cannot open file although the file exists

The fix in #2751: read the command line as Unicode (wmain via -municode), keep paths as UTF-8 strings internally, convert at the filesystem boundaries through new Io::NativePath/Io::Utf8Path helpers, and run --autorun through CreateProcessW.

Tested on Windows (WinLibs GCC 15.2.0 ucrt): relinker-only build 94/94 tests passed, including a new input_nonascii regression test (converts from a directory named игры with sources проба.elf, ゲーム.elf, próba m².elf), and tools/check_conventions.py passes. The PR will land behind the intake gate — could you take a look when the backlog allows?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097689112 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6097689112). Originally posted by [aplatogg](https://github.com/aplatogg) on 2026-10-10T12:51:38Z. --- Root-cause analysis for this issue, with a fix ready in PR #2751 The failure is a Windows ANSI code page chain, not a filesystem quirk: 1. MinGW delivers `argv` to `main` as ANSI code page bytes (`core/relinker/main.cpp`) — the relinker has no `wmain`/`-municode`, so any character outside the user's code page is already replaced before the tool sees it 2. Every narrow string became a `std::filesystem::path` through the same code page: the implicit conversion at the `GuestModuleBuilder::Build` call site, `FileReader::Read`/`FileWriter::Write`, and the `WindowsPePatcher` icon path 3. So a game in a directory with characters outside the code page fails with `Cannot open file` although the file exists The fix in #2751: read the command line as Unicode (`wmain` via `-municode`), keep paths as UTF-8 strings internally, convert at the filesystem boundaries through new `Io::NativePath`/`Io::Utf8Path` helpers, and run `--autorun` through `CreateProcessW`. Tested on Windows (WinLibs GCC 15.2.0 ucrt): relinker-only build 94/94 tests passed, including a new `input_nonascii` regression test (converts from a directory named `игры` with sources `проба.elf`, `ゲーム.elf`, `próba m².elf`), and `tools/check_conventions.py` passes. The PR will land behind the intake gate — could you take a look when the backlog allows?
MarcZX10 commented 2026-10-10 13:11:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T13:11:49Z.


Current-main integration check

I carried the implementation from closed PR #2751 onto current upstream main 78aedb40e2412cb28ec5d36f301e751dd7415590 in branch codex/relinker-nonascii-2692. The branch preserves aplatogg's original implementation commit and adds a follow-up for the current --sce-module-path CLI, guest module path-to-UTF-8 boundaries, and avoiding conversion of unused Windows argv[0]. It also reports the actual provider path for duplicate guest exports.

Checks on Linux x86_64 with GCC 12.2, Release, relinker-only build:

  • Build passed.
  • Relinker CTest passed: 99/99, including input_nonascii.
  • Conventions against current main passed; git diff --check passed.

Windows execution was not available in this environment. The original PR author reports a native Windows relinker build and 94/94 tests passing on the original PR head; independent native Windows evidence for the related #2692 behavior is recorded earlier in this issue. Those reports are not tests of this rebased branch.

No open PR duplicates this change. The repository's automatic intake workflow currently closes PRs from contributors below 20 merged PRs. My live count is 15 merged, so I have pushed the reviewed branch for a collaborator with intake access to carry; this is not an open PR. AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097854966 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6097854966). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T13:11:49Z. --- ### Current-main integration check I carried the implementation from closed PR #2751 onto current upstream `main` `78aedb40e2412cb28ec5d36f301e751dd7415590` in branch [`codex/relinker-nonascii-2692`](https://github.com/MarcZX100/AnyPS5/tree/codex/relinker-nonascii-2692). The branch preserves aplatogg's original implementation commit and adds a follow-up for the current `--sce-module-path` CLI, guest module path-to-UTF-8 boundaries, and avoiding conversion of unused Windows `argv[0]`. It also reports the actual provider path for duplicate guest exports. Checks on Linux x86_64 with GCC 12.2, Release, relinker-only build: - Build passed. - Relinker CTest passed: 99/99, including `input_nonascii`. - Conventions against current `main` passed; `git diff --check` passed. Windows execution was not available in this environment. The original PR author reports a native Windows relinker build and 94/94 tests passing on the original PR head; independent native Windows evidence for the related #2692 behavior is recorded earlier in this issue. Those reports are not tests of this rebased branch. No open PR duplicates this change. The repository's automatic intake workflow currently closes PRs from contributors below 20 merged PRs. My live count is 15 merged, so I have pushed the reviewed branch for a collaborator with intake access to carry; this is not an open PR. AI-assisted: yes.
MarcZX10 commented 2026-10-10 13:17:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T13:17:54Z.


Current main refresh

I rebased the reviewed Unicode-path implementation and follow-up onto upstream main (5edae353). The fork branch is codex/relinker-nonascii-2692, now at 2892e0b63.

Check Result
Linux x86_64, GCC 12.2, Release relinker-only build Passed
Relinker-only CTest suite 99/99 passed, including input_nonascii and windows_import_modules
tools/check_conventions.py --base upstream/main Passed
git diff --check upstream/main...HEAD Passed

The upstream Windows runs recorded above validate the original implementation on another branch. I cannot run Windows in this environment, so the additional current-main follow-up on this branch has Linux coverage only; please treat the fork CI/native Windows result as outstanding.

I found no open PR for this change. I have not opened one because the intake workflow still requires 20 merged PRs; my live merged count is 15. AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097906207 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6097906207). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T13:17:54Z. --- ### Current `main` refresh I rebased the reviewed Unicode-path implementation and follow-up onto upstream `main` (`5edae353`). The fork branch is [`codex/relinker-nonascii-2692`](https://github.com/MarcZX100/AnyPS5/tree/codex/relinker-nonascii-2692), now at [`2892e0b63`](https://github.com/MarcZX100/AnyPS5/commit/2892e0b634a771071e48543f744af0aa8dabe2a3). | Check | Result | | --- | --- | | Linux x86_64, GCC 12.2, Release relinker-only build | Passed | | Relinker-only CTest suite | 99/99 passed, including `input_nonascii` and `windows_import_modules` | | `tools/check_conventions.py --base upstream/main` | Passed | | `git diff --check upstream/main...HEAD` | Passed | The upstream Windows runs recorded above validate the original implementation on another branch. I cannot run Windows in this environment, so the additional current-main follow-up on this branch has Linux coverage only; please treat the fork CI/native Windows result as outstanding. I found no open PR for this change. I have not opened one because the intake workflow still requires 20 merged PRs; my live merged count is 15. AI-assisted: yes.
danzaio commented 2026-10-10 17:07:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-10T17:07:28Z.


Validated the carried branch on real hardware: Windows 11, MinGW 15.2 relinker-only build, input_nonascii passes in 0.3s with Cyrillic, Japanese and accented paths. One caveat for reviewers: this machine runs the UTF-8 system locale (ACP 65001), so the old code also passes here and I could not reproduce the failure side locally. The branch is here if a collaborator wants to carry it: danzaio/AnyPS5 fix/windows-nonascii-paths. AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100051450 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6100051450). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-10T17:07:28Z. --- Validated the carried branch on real hardware: Windows 11, MinGW 15.2 relinker-only build, input_nonascii passes in 0.3s with Cyrillic, Japanese and accented paths. One caveat for reviewers: this machine runs the UTF-8 system locale (ACP 65001), so the old code also passes here and I could not reproduce the failure side locally. The branch is here if a collaborator wants to carry it: danzaio/AnyPS5 fix/windows-nonascii-paths. AI-assisted: yes.
MarcZX10 commented 2026-10-10 17:25:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T17:25:31Z.


Refreshed fix submitted: #2882

This carries forward the implementation from closed PR #2751, preserves aplatogg's original implementation commit author, and adds follow-up handling for the current guest module path flow. The open PR list had no duplicate for #2692.

Check on the refreshed branch Result
Linux x86-64 Release relinker-only build Passed
Relinker-only CTest 99/99 passed, including input_nonascii and windows_import_modules
Conventions and diff check Passed

The Windows measurements earlier in this issue tested the original candidate branch. This refreshed branch's current Windows CI job is still pending, so those measurements are not presented as validation of this exact head. The separate executable-runtime path issue #2640 is outside this change.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100224701 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6100224701). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T17:25:31Z. --- ### Refreshed fix submitted: [#2882](https://github.com/boykopovar/AnyPS5/pull/2882) This carries forward the implementation from closed PR #2751, preserves aplatogg's original implementation commit author, and adds follow-up handling for the current guest module path flow. The open PR list had no duplicate for #2692. | Check on the refreshed branch | Result | | --- | --- | | Linux x86-64 Release relinker-only build | Passed | | Relinker-only CTest | 99/99 passed, including `input_nonascii` and `windows_import_modules` | | Conventions and diff check | Passed | The Windows measurements earlier in this issue tested the original candidate branch. This refreshed branch's current Windows CI job is still pending, so those measurements are not presented as validation of this exact head. The separate executable-runtime path issue #2640 is outside this change.
MarcZX10 commented 2026-10-10 17:28:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T17:28:23Z.


Windows CI follow-up for #2882

The first current-head Windows relinker run found that the new wide-argument conversion rejected an explicitly empty argument. This made the existing sce_module_path test report a command-line conversion error instead of the expected validation error for --sce-module-path "".

I fixed empty-argument handling in commit c5ffebe1. The refreshed Linux Release relinker-only build succeeded; all 99 CTests passed, and local conventions passed. The new Windows CI run on this commit is pending.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100251993 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6100251993). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T17:28:23Z. --- ### Windows CI follow-up for [#2882](https://github.com/boykopovar/AnyPS5/pull/2882) The first current-head Windows relinker run found that the new wide-argument conversion rejected an explicitly empty argument. This made the existing `sce_module_path` test report a command-line conversion error instead of the expected validation error for `--sce-module-path ""`. I fixed empty-argument handling in commit [`c5ffebe1`](https://github.com/MarcZX100/AnyPS5/commit/c5ffebe15aebc564330a1b9ce2fa84a9efa19cf2). The refreshed Linux Release relinker-only build succeeded; all 99 CTests passed, and local conventions passed. The new Windows CI run on this commit is pending.
MarcZX10 commented 2026-10-10 17:31:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T17:31:30Z.


Current-head CI complete for #2882

The empty-argument fix passed on the refreshed head:

Check Result
Windows WinLibs GCC relinker CTest 95/95 passed, including sce_module_path, windows_import_modules, and input_nonascii
Linux and macOS relinker jobs Passed
macOS Intel register-context and both write-watch jobs Passed
Conventions and eligibility Passed

The full Linux and Windows build jobs were skipped by the PR workflow policy. I updated the PR description with the current-head results.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6100279757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2692#issuecomment-6100279757). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T17:31:30Z. --- ### Current-head CI complete for [#2882](https://github.com/boykopovar/AnyPS5/pull/2882) The empty-argument fix passed on the refreshed head: | Check | Result | | --- | --- | | Windows WinLibs GCC relinker CTest | 95/95 passed, including `sce_module_path`, `windows_import_modules`, and `input_nonascii` | | Linux and macOS relinker jobs | Passed | | macOS Intel register-context and both write-watch jobs | Passed | | Conventions and eligibility | Passed | The full Linux and Windows build jobs were skipped by the PR workflow policy. I updated the PR description with the current-head results.
Sign in to join this conversation.
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#2692
No description provided.