libretro / libretro/RetroArch

Shader resource links are probably hardcoded and throw error after changing config directory

Open
#11,022 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

[INFO] Saved shader preset to D:\OneDrive\Games\ROM stuff\config\MAME\MAME.slangp.

[ERROR] [Vulkan]: Failed to load LUT "D:\OneDrive\Games\ROM stuff\config\MAME:\shaders\shaders_slang\crt\shaders\crt-royale\TileableLinearApertureGrille15Wide8And5d5SpacingResizeTo64.png".

[ERROR] [Vulkan]: Failed to create preset: "D:\OneDrive\Games\ROM stuff\config\MAME\MAME.slangp".

[ERROR] [Vulkan]: Failed to create filter chain: "D:\OneDrive\Games\ROM stuff\config\MAME\MAME.slangp". Falling back to stock.

Error seems to be in second lind. Other shaders without the lut part for example load and save fine. Either something is hardcoded that shouldn't or Retroarch is confusing the shader directory with the config directory is my best guess.

The shader I tried to open/save was /CRT-Royale but it throws an error with almost all non-basic shaders.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by changing the configuration directory and loading or saving the CRT-Royale preset. Start by tracing how the preset resolves its LUT and shader resource paths, then verify that the filter chain loads successfully when the configuration directory differs from the shader directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.