Vice and config directories
-
Hello,
I've been working through some issues getting Vice to behave well with the Picade. But I noticed something with the configuration directories, so I thought I'd post it here.
When installing Vice, the default configuration directory (/home/pi/.vice) gets symlinked to /opt/retropie/configs/c64. This is similar to the behavior of other emulators. But interestingly, there is another configuration directory called /home/pi/.config. For some reason, after running Vice for the first time, a new configuration directory will appear there. This will be the directory that Vice looks at for any configuration changes. Any changes in the typical configuration directory (/opt/retropie/configs/c64) will be ignored.
Steps to Reproduce:
- Install RetroPie 4.4
- Install Vice
- See that /home/pi/.vice is symlinked to /opt/retropie/configs/c64
- See no Vice directory in /home/pi/.config
- Add at least one program to the roms directory
- Run Vice
- See a Vice directory in /home/pi/.config
Possible Solution:
- I found that on my installations the /home/pi/.config directory also contains symlinks for retroarch and stella (I installed Stella as well). They are symlinked back to /opt/retropie/configs/...
- The Stella script module has the following line:
moveConfigDir "$home/.config/stella" "$md_conf_root/atari2600/stella"
- Where by the Vice script module has:
moveConfigDir "$home/.vice" "$md_conf_root/c64"
- Perhaps an additional moveConfigDir should help?
- George
-
@George There might be a change in the Vice's location for its config folder. Do you know what Vice version you have installed ? Did you install from source or binary ?
-
Thanks @mitu ,
I installed it from binary. It is version 3.2 rev 35603, SDL2. Hope that helps!
- George
-
@George Thanks for the check.
It looks like the user config dir changed somewhere during the new GTK3 support development and was also switched for the SDL(2) UI. Seems the change happened here and here to make the user config dir XDG compliant.
@BuZz - do you think this warrants a change in the
vice
scriptmodule ? -
@mitu Thanks. Will adjust the scriptmodule to include the new location also.
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.