RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Vice and config directories

    Scheduled Pinned Locked Moved Help and Support
    viceconfig
    6 Posts 3 Posters 550 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      George
      last edited by

      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
      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @George
        last edited by

        @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 ?

        1 Reply Last reply Reply Quote 0
        • G
          George
          last edited by

          Thanks @mitu ,

          I installed it from binary. It is version 3.2 rev 35603, SDL2. Hope that helps!

          - George

          mituM 1 Reply Last reply Reply Quote 1
          • mituM
            mitu Global Moderator @George
            last edited by

            @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 ?

            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @mitu
              last edited by BuZz

              @mitu Thanks. Will adjust the scriptmodule to include the new location also.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • G
                George
                last edited by

                Awesome! Thanks @mitu and @BuZz !

                - George

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.