Run Games that require a Desktop for SDL
-
Hello! So theres a slight issue with what I'm currently doing. I am trying to run this game called "Sonic 3: Angel Island Revisited" and I manged to compile it sucessfully. But heres the thing: It needs to run in a desktop enviroment of sorts. How exactly do you do that on retropie? And if its possible to do it without pixel? Thats all I need for now
-
Install
xorg
and preface youremulators.cfg
command withXINIT:
, e.g.:$ sudo apt install xorg $ cat emulators.cfg mygame = "XINIT:/path/to/mygame_launch_script.sh" default = "mygame"
-
@sleve_mcdichael said in Run Games that require a Desktop for SDL:
Install
xorg
and preface youremulators.cfg
command withXINIT:
, e.g.:$ sudo apt install xorg $ cat emulators.cfg mygame = "XINIT:/path/to/mygame_launch_script.sh" default = "mygame"
so if I wanted to run Sonic 3 Air with the desktop enviroment I would edit the emulators.cfg in ports? Is that correct?
EDIT: Nvm I found it. So I can lead it to the ports section of the game if I do that?
-
ok now im getting an error every time I try to start up the game saying its not there even tho I KNOW its there. And If I try to make it executible. It tries to run it then closes and it dosnt give me an error of any sort
EDIT. Is this how its suppost to be done in emulators.cfg?
sonic3air = "XINIT:/home/pi/RetroPie/ports/sonic3air.sh"
ports_sonic3air = "sonic3air" -
@TheAutisticGamer said in Run Games that require a Desktop for SDL:
EDIT. Is this how its suppost to be done in emulators.cfg?
sonic3air = "XINIT:/home/pi/RetroPie/ports/sonic3air.sh"
ports_sonic3air = "sonic3air"No, it should be
sonic3air = "XINIT:/path/to/launch/script/or/program" default = "sonic3air"
I don't think your game is installed as a port - you should have the
emulators.cfg
in/opt/retropie/configs/ports/sonic3air
and the/home/pi/RetroPie/ports/sonic3air.sh
should contain:"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "sonic3air"
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.