translate / --cache --pipelines find nothing in a symlinked shaders.rpf (0 containers; run works) #953

Open
opened 2026-11-25 13:39:32 +00:00 by Daolyap · 0 comments
Daolyap commented 2026-11-25 13:39:32 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by Daolyap on 2026-11-25T13:39:32Z.


victory translate finds nothing in a shaders.rpf that is a symbolic link, and translate --cache --pipelines reports no shader pack among the files: nothing to pre-build.

I keep the game folder as a folder of symlinks to the original package (Windows, Developer Mode, New-Item -ItemType SymbolicLink), so nothing writes into it. At f85101b:

  • victory translate E:\...\game\shaders.rpf (the symlink): containers 0, programs 0 translated of 0.
  • victory translate <original folder>\shaders.rpf (its target): containers 26503 (614 duplicates skipped), programs 26084 translated of 26084.

victory run itself works fine from the same symlinked folder, so it's only the shader-file scan, probably a check like metadata().is_file() or a read_dir file-type test that doesn't follow links. Following links there (std::fs::metadata instead of symlink_metadata, or Path::is_file) would let a read-only symlinked copy precompile.

AI-assisted (Claude Code).

<!-- greyfinch-sync:fxceless/victory-fork:issue:6605785440 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/954). Originally posted by [Daolyap](https://github.com/Daolyap) on 2026-11-25T13:39:32Z. --- `victory translate` finds nothing in a `shaders.rpf` that is a **symbolic link**, and `translate --cache --pipelines` reports `no shader pack among the files: nothing to pre-build`. I keep the game folder as a folder of symlinks to the original package (Windows, Developer Mode, `New-Item -ItemType SymbolicLink`), so nothing writes into it. At f85101b: - `victory translate E:\...\game\shaders.rpf` (the symlink): `containers 0`, `programs 0 translated of 0`. - `victory translate <original folder>\shaders.rpf` (its target): `containers 26503 (614 duplicates skipped)`, `programs 26084 translated of 26084`. `victory run` itself works fine from the same symlinked folder, so it's only the shader-file scan, probably a check like `metadata().is_file()` or a `read_dir` file-type test that doesn't follow links. Following links there (`std::fs::metadata` instead of `symlink_metadata`, or `Path::is_file`) would let a read-only symlinked copy precompile. AI-assisted (Claude Code).
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
fxceless/victory-fork#953
No description provided.