Ports: no way to launch CGoban from EmulationStation
-
Hi,
I am able to install and to run many Debian native games from EmulationStation (not availables from extra RP setup) adding appropriate *.sh scripts in /home/pi/roms/ports, calling runcommand and then in /opt/retropie/configs/ports/the_game_name/emulators.cfg.
For a few ones, I needed to copy the method of Minecraft port, with a third script in /opt/retropie/ports/the_game_name/my_launch.sh adding within a necessary call of matchbox-window-manager :
Example for Raincat:
Script: /opt/retropie/ports/Raincat/raincat.sh:
#!/bin/bash matchbox-window-manager & xterm -e /usr/games/raincat
And it works well.
But with CGoban, it seems that matchbox is not able to manage several windows. So I tried to install and to run with another window-manager, but with no success.
In /opt/retropie/configs/ports/go/emulators.cfg I have:
go = "XINIT:/opt/retropie/ports/Go/go.sh" default: "go"
Here is the script called: /opt/retropie/ports/Go/go.sh
#!/usr/bin/bash fluxbox & xterm -e /usr/games/cgoban /usr/bin/bash
When I see at runcommand log, I see this at the end:
xinit: connection to X server lost
Well, I tried many attempts, but nothing seems to work.
Help would be appreciated.P.S.: I apologies my poor english.
SBC: 3B+ (armv71)
OS: RetroPie 4.8 (6e83a7d5) - Debian version: 10.13
Controller : HutoPi SNES like
USB ports: official RPI AZERY FR keyboard and 3 buttons mouse
Case: Nespi Case+
Power Supply: 5v 3A -
@margeride48 said in Ports: no way to launch CGoban from EmulationStation:
When I see at runcommand log, I see this at the end:
Post the entire
runcommand.log
.Also, there's no need to add
xterm
in the mix, just run the game as is:#!/usr/bin/bash fluxbox & /usr/games/cgoban
-
@mitu said in Ports: no way to launch CGoban from EmulationStation:
@margeride48 said in Ports: no way to launch CGoban from EmulationStation:
When I see at runcommand log, I see this at the end:
Post the entire
runcommand.log
.Also, there's no need to add
xterm
in the mix, just run the game as is:#!/usr/bin/bash fluxbox & /usr/games/cgoban
Hi Mitu,
Thank You for your kind attention.
I modified the script as You mentionned above.
When I launch from EmulationStation, I still see the mouse pointer a few seconds and then It returns to ES.
There is the link to the full runcommand.log -
Well, I solved the launching of CGoban thanks to the man startfluxbox like this:
#!/bin/bash exec fluxbox & fbpid=$! sleep 1 { xsetroot -cursor_name left_ptr -fg white -bg black & /usr/games/cgoban } & wait $fbpid
Hope It will help everybody about that kind of games with several windows.
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.