Assets shipped from Windows installs have mixed-case filenames; Linux is case-sensitive. librw contains correctPathCase precisely because of this — and it is itself buggy (aap/librw#PR161: checks the wrong variable after opendir, mis-sized strncats). Known in-repo oddities: "DATA\\CAPS.DAT" literal vs lowercase gamefiles/data/; lowercase src/core/timebars.*, src/core/obrstr.* names amid PascalCase convention.
Task
Audit every runtime-opened file literal in src/ (and librw's asset loading path) against the actual filenames in gamefiles/ and a stock GTA III / VC install; list mismatches.
Fix literals to the canonical casing of the shipped assets (that's the "make it look like R* wrote it" fix), and evaluate bumping the vendored librw to pick up the correctPathCase fixes (tracked separately in the librw-bump issue).
Acceptance
Audit table committed as a comment on this issue (file → literal vs actual case → verdict).
No "works only if you rename your asset files" scenarios remain for a standard install.
## Context
Assets shipped from Windows installs have mixed-case filenames; Linux is case-sensitive. librw contains `correctPathCase` precisely because of this — and it is itself buggy (aap/librw#PR161: checks the wrong variable after `opendir`, mis-sized `strncat`s). Known in-repo oddities: `"DATA\\CAPS.DAT"` literal vs lowercase `gamefiles/data/`; lowercase `src/core/timebars.*`, `src/core/obrstr.*` names amid PascalCase convention.
## Task
1. Audit every runtime-opened file literal in `src/` (and librw's asset loading path) against the actual filenames in `gamefiles/` and a stock GTA III / VC install; list mismatches.
2. Fix literals to the canonical casing of the shipped assets (that's the "make it look like R* wrote it" fix), and evaluate bumping the vendored librw to pick up the `correctPathCase` fixes (tracked separately in the librw-bump issue).
## Acceptance
- Audit table committed as a comment on this issue (file → literal vs actual case → verdict).
- No "works only if you rename your asset files" scenarios remain for a standard install.
opencode
added this to the M2: Linux platform hardening milestone 2026-11-29 00:15:01 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
Assets shipped from Windows installs have mixed-case filenames; Linux is case-sensitive. librw contains
correctPathCaseprecisely because of this — and it is itself buggy (aap/librw#PR161: checks the wrong variable afteropendir, mis-sizedstrncats). Known in-repo oddities:"DATA\\CAPS.DAT"literal vs lowercasegamefiles/data/; lowercasesrc/core/timebars.*,src/core/obrstr.*names amid PascalCase convention.Task
src/(and librw's asset loading path) against the actual filenames ingamefiles/and a stock GTA III / VC install; list mismatches.correctPathCasefixes (tracked separately in the librw-bump issue).Acceptance