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

    Adding new system x86

    Scheduled Pinned Locked Moved Help and Support
    x86 ubuntu
    7 Posts 2 Posters 988 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.
    • W
      WhiteT982
      last edited by

      Pi Model or other hardware: i7 7500T Ubuntu 22.04 x86

      RetroPie Version Used: 4.8.2

      Built From: Setup script download 
Emulator: Xemu

      Downloaded Xemu through flatpak and am able to launch a game with it through command line using.

      flatpak run app.xemu.xemu -dvd_path “gamename.iso”
      

      To launch through ES I made a /home/pi/RetroPie/roms/xbox folder and added roms to it. Then I copied the es_systems.cfg from /etc/emulationstation to /opt/retropie/configs/all/emulationstation and added this Xbox system config

      <system>
          <name>xbox</name>
          <fullname>XBOX</fullname>
          <path>/home/pi/RetroPie/roms/xbox</path>
          <extension>.iso</extension> 
      <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ xbox %ROM%</command>
          <platform>xbox</platform>
          <theme>xbox</theme>
        </system>
      

      Next I made a /opt/retropie/configs/xbox folder and added this emulator.cfg

      xbox = "flatpak run app.xemu.xemu -dvd_path %ROM%"
      default = "xemu"
      

      System shows in ES with roms but won’t launch.

      I can change the es_system.cfg to launch scripts by adding the .sh extension and changing the command to just %ROM% and games will launch in ES using this script

      #!/bin/bash
      flatpak run app.xemu.xemu -dvd_path “gamename.iso”
      

      Any ideas to get this to work without writing scripts for each rom? Only thing I could think of is it won’t launch a game without the rom being quoted. I tried quoting the %ROM% from the command line in the es_system.cfg but that didn’t work. I guess I could rename the roms to have no spaces or other characters but just hoping for something simpler.

      F 1 Reply Last reply Reply Quote 0
      • F
        Folly @WhiteT982
        last edited by

        default = "xemu"

        Try :

        xbox = "flatpak run app.xemu.xemu -dvd_path %ROM%"
        default = "xbox"
        
        W 2 Replies Last reply Reply Quote 1
        • W
          WhiteT982 @Folly
          last edited by

          @Folly
          Ok I will. I thought that line just told ES the default emulator? I’m curious if otherwise because this is mostly me copy/pasting so I definitely don’t fully understand how all this works

          F 1 Reply Last reply Reply Quote 0
          • F
            Folly @WhiteT982
            last edited by Folly

            @WhiteT982

            You can also remove the default line.
            When you select a game it will ask how you want to load and then it will be added in the emulators.cfg.

            W 1 Reply Last reply Reply Quote 0
            • W
              WhiteT982 @Folly
              last edited by

              @Folly
              Alright I’ll try next chance I get.

              1 Reply Last reply Reply Quote 0
              • W
                WhiteT982 @Folly
                last edited by

                @Folly
                Well that did it. Thank you

                F 1 Reply Last reply Reply Quote 0
                • F
                  Folly @WhiteT982
                  last edited by

                  @WhiteT982

                  Nice, thank you.

                  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.