Game files still fail to resolve on non-ASCII paths after #714 (GatherFileInfo), then crash in runtimeLinker.cpp:719 #2296

Open
opened 2026-11-26 10:18:18 +00:00 by github-bot · 0 comments
Owner

@⁠rigeri1 on GitHub · 2026-11-16 11:45 UTC · original

Bug report (follow-up of #714 — the fix landed, but file resolution still breaks on a non-ASCII path)

Summary. #714 fixed Unicode paths in directory enumeration, but on the
latest build (KytyPS5-2026-11-15-f9dd415) a game path with non-ASCII
characters still breaks — at a different point: hundreds of existing game
files fail to resolve (File::GatherFileInfo failed to resolve), then the
emulator crashes in runtimeLinker.cpp:719. Pointing the emulator at the
same folder through an ASCII-only junction makes every one of those errors
disappear.

Reproduction

  1. Game dump (Demon's Souls PPSA01341, v01.007) in a folder whose path
    contains an EN DASH (U+2013), e.g.
    C:\Games\...\Demons Souls (v01.007) (Deluxe Edition) – BP 4.xx – ...-files.
    All paths inside the dump are pure ASCII; only the host folder name
    has non-ASCII characters.
  2. Start the game via kyty_launcher (or kyty_emulator --game <dir>).

Result (non-ASCII path). About 19 s in: 600+ errors like
File::GatherFileInfo failed to resolve: /app0/levels/generic/textures/ organic/cmn_gen_organic_maggots_a/_ps5/cmn_gen_organic_maggots_a_col.chunk0.ctxc
— that exact file exists at that exact path (verified by hand). Then:
Unhandled host exception: code=3221225477 (0xC0000005), access=1 (read), address=0x60, runtimeLinker.cpp:719.

Control run (ASCII path). A directory junction C:\Games\DeS-dump
pointing at the same dump folder: zero GatherFileInfo failures; the game
initializes the engine and proceeds to loading the intro level.

So the #714 fix covered enumeration (SysFileGetDents()), but the per-file
resolution path used during asset loading still corrupts non-ASCII paths.

Build: official release KytyPS5-2026-11-15-f9dd415, Windows 10 build
19045. Full logs of both runs are available on request.


Note: I am not a programmer and my English is poor, so an AI assistant
analyzed the logs and prepared this report for publication from my Russian
notes. The testing itself and the hardware are mine, and I can run further
tests on request.

**@⁠rigeri1** on GitHub · 2026-11-16 11:45 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2296) **Bug report** (follow-up of #714 — the fix landed, but file resolution still breaks on a non-ASCII path) **Summary.** #714 fixed Unicode paths in directory enumeration, but on the latest build (`KytyPS5-2026-11-15-f9dd415`) a game path with non-ASCII characters still breaks — at a different point: hundreds of existing game files fail to resolve (`File::GatherFileInfo failed to resolve`), then the emulator crashes in `runtimeLinker.cpp:719`. Pointing the emulator at the same folder through an ASCII-only junction makes every one of those errors disappear. **Reproduction** 1. Game dump (Demon's Souls PPSA01341, v01.007) in a folder whose path contains an EN DASH (U+2013), e.g. `C:\Games\...\Demons Souls (v01.007) (Deluxe Edition) – BP 4.xx – ...-files`. All paths *inside* the dump are pure ASCII; only the host folder name has non-ASCII characters. 2. Start the game via kyty_launcher (or `kyty_emulator --game <dir>`). **Result (non-ASCII path).** About 19 s in: 600+ errors like `File::GatherFileInfo failed to resolve: /app0/levels/generic/textures/ organic/cmn_gen_organic_maggots_a/_ps5/cmn_gen_organic_maggots_a_col.chunk0.ctxc` — that exact file exists at that exact path (verified by hand). Then: `Unhandled host exception: code=3221225477 (0xC0000005), access=1 (read), address=0x60, runtimeLinker.cpp:719`. **Control run (ASCII path).** A directory junction `C:\Games\DeS-dump` pointing at the same dump folder: **zero** GatherFileInfo failures; the game initializes the engine and proceeds to loading the intro level. So the #714 fix covered enumeration (`SysFileGetDents()`), but the per-file resolution path used during asset loading still corrupts non-ASCII paths. **Build:** official release `KytyPS5-2026-11-15-f9dd415`, Windows 10 build 19045. Full logs of both runs are available on request. --- *Note: I am not a programmer and my English is poor, so an AI assistant analyzed the logs and prepared this report for publication from my Russian notes. The testing itself and the hardware are mine, and I can run further tests on request.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:18:18 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#2296
No description provided.