Dolphin, the GameCube and Wii emulator - Forums
linux: edit game properties + shader cache - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: linux: edit game properties + shader cache (/Thread-linux-edit-game-properties-shader-cache)



linux: edit game properties + shader cache - bachfugue - 11-19-2016

Hi,
I'm running dolphin-git on Arch Linux with mesa-git .
When I right click on a game, then select Properties, the Edit configuration, I get this error:
"wxexecute returned -1 on application run" in a pop-up window.
and at the same time, on my konsole output:
execvp(active-documentviewer, /home/jo/.local/share/dolphin-emu/GameSettings/RMCP01.ini) failed with error 2!
I'm on Kde Desktop. Active-documentviewer is not easily installable and it's probably possible to switch to another text editor (like Kate), but I don't know how.

2nd question: when I look inside .local/share/dolphin-emu, I can't see any "Cache" folder. Does this mean the compiled shaders aren't cached to the disk on linux OGL ? (or where do I find these "cached" files) ?


RE: linux: edit game properties + shader cache - leolam - 11-19-2016

That means the wrong editor is associated with the .ini extension (that's XDG stuff).

Just launch Kate manually with the path to the config file (/home/jo/.local/share/dolphin-emu/GameSettings/RMCP01.ini).

For the cache directory, Dolphin follows the XDG basedir spec. So cache files should be in ~/.cache/dolphin-emu, I think.


RE: linux: edit game properties + shader cache - bachfugue - 11-19-2016

Thanks for your quick answer.
You're right: I found the cache here: ~/.cache/dolphin-emu

For the editor: ok I can use a workaround by launching kate and navigating to the .ini file. It works fine.
Even better: I click on the .ini file and it opens with Kate.

I'm still puzzled about why I get the error (execvp(active-documentviewer, ....) failed. I investigated with:
>>xdg-mime query filetype RHDP8P.ini
>>application/x-wine-extension-ini

Then
>>xdg-mime query default application/x-wine-extension-ini
>>kate.desktop

And:
>>xdg-open RHDP8P.ini
which opens correctly the file with Kate (which is the expected behaviour).


RE: linux: edit game properties + shader cache - leolam - 11-19-2016

That's pretty weird. Since XDG is opening it with the correct application, it may be a WX bug…