Trying to run Commodore plus/4
-
Hello,
I tried to run Commodore plus / games using Vice. I created a new system following the docs but when I try to run a plus/4 game it acts like it is Commodore 64. I can run something by pressing the A
button on the controller and changing the emulator to vice-plus/4.
What can I do so I could run the plus/4 games automatically?
Thanks in advance. -
@Lord-Vek said in Trying to run Commodore plus/4:
I can run something by pressing the A button on the controller and changing the emulator to vice-plus/4.
What can I do so I could run the plus/4 games automatically?You should just be able to make that the default for the system. Did you make a whole new "system" with its own
emulators.cfg
for runcommand, or did you just make an EmulationStation system and hijack the existing "c64" runcommand part? -
@sleve_mcdichael I copied the existing c64 folder from /config into a new folder named cplus4. By Vice above I meant lr-vice.
-
Most like you will need what I have written in Level 3 in this post.
Adapted to your setup, put in
/opt/retropie/configs/plus4/emulators.cfg
:lr-vice_xplus4 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_xplus4_libretro.so --config /opt/retropie/configs/plus4/retroarch.cfg %ROM%" default = "lr-vice_xplus4"
-
@Lord-Vek said in Trying to run Commodore plus/4:
@sleve_mcdichael I copied the existing c64 folder from /config into a new folder named cplus4.
Right, that's what I meant by "new system for runcommand."
So then in EmulationStation, you've set it to use this cplus4 system in the
<path>
and<command>
tags in your customes_systems.cfg
?<path>/home/pi/RetroPie/roms/cplus4<path> .... <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ cplus4 %ROM%</command>
...an then, when you say you can press a button at launch to open up the runcommand launch menu and you can select the emulator that way, you are choosing select default emulator for cplus4, or select default emulator for ROM? It's the first one, right? You should be using the first one. That should set the default for the whole of the cplus4 system, and then anything else you launch from that system (via the cplus4 rom folder) should default to that emulator automatically.
It does this by setting the
default =
line in yourconfigs/cplus4/emulators.cfg
file. This file is human-readable and can be edited manually if desired. To manually set the default, change the line:default = "lr-vice"
...and change it to the plus/4 emulator:
default = "lr-vice-xplus4"
-
@sleve_mcdichael @Lolonois Thank you both for the replies. I did what you suggested and now I can successfully run plus/4 games. Only one minor detail, there is a message "failed to save configuration in... retroarch.cfg" but then the game runs normally.
-
@Lord-Vek said in Trying to run Commodore plus/4:
"failed to save configuration in... retroarch.cfg"
from the distance my guess is file permissions.
Do check if
/opt/retropie/configs/cplus4/
is owned by user pi (ls -l
on that folder), else do as root:chown pi: cplus4
.
Also check if the fileretroarch.cfg
(if present in foldercplus4
) is owned by user pi, else do as rootchown pi: cplus4/retroarch.cfg
-
@Lolonois ls -l is doing the ls normally. What it would do if I wasn't the owner?
-
@Lord-Vek said in Trying to run Commodore plus/4:
What it would do if I wasn't the owner?
per the previous post:
Do check if /opt/retropie/configs/cplus4/ is owned by user pi (ls -l on that folder), else do as root: chown pi: cplus4.
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.