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

    Ports: no way to launch CGoban from EmulationStation

    Scheduled Pinned Locked Moved Help and Support
    port cgoban
    4 Posts 2 Posters 141 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.
    • M
      margeride48
      last edited by

      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

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

        @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
        
        M 1 Reply Last reply Reply Quote 0
        • M
          margeride48 @mitu
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • M
            margeride48
            last edited by

            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.

            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.