• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 367 368 369 370 371 ... 1198 Next »

linux: edit game properties + shader cache
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
linux: edit game properties + shader cache
11-19-2016, 07:19 AM
#1
bachfugue Offline
Junior Member
**
Posts: 16
Threads: 4
Joined: Jun 2015
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) ?
Find
Reply
11-19-2016, 08:01 AM
#2
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
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.
Website Find
Reply
11-19-2016, 11:54 PM
#3
bachfugue Offline
Junior Member
**
Posts: 16
Threads: 4
Joined: Jun 2015
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).
Find
Reply
11-19-2016, 11:57 PM
#4
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
That's pretty weird. Since XDG is opening it with the correct application, it may be a WX bug…
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode