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

    Starting ports with Xinit

    Scheduled Pinned Locked Moved Help and Support
    supermodelxinithelp
    7 Posts 2 Posters 1.3k 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
      mechafatnick
      last edited by

      Hello folks,

      I've built Supermodel per the instructions here:
      https://retropie.org.uk/forum/topic/26909/sega-model-3-segamodel3/13?_=1613345316473

      But i'm having problems when i start stuff via an xsession.

      The emulator boots into the rom but:

      -regardless of screen/resolution setting, if i start via X it always seems to run in a tiny window in the middle of the screen.

      -Supermodel doesn't seem to be given control of the input devices

      This is my Xorg.0 log:

      https://pastebin.com/9gJmzqeS

      My emulators.cfg:

      supermodel = "XINIT:/opt/retropie/emulators/supermodel/bin/supermodel -game-xml-file=/opt/retropie/emulators/supermodel/bin/Config/Games.xml -legacy3d -sound-volume=50 -music-volume=60 -no-vsync -no-throttle -no-dsb -fullscreen %ROM%"
      default = "supermodel"
      

      And this is my runcommand.log

      https://pastebin.com/c9caFQ3e

      Frustratingly it did start viewing the inputs once, and when it could grab the input it could also see its Config/Supermodel.ini.

      Any idea where i should look next to resolve these two issues?

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @mechafatnick
        last edited by

        @mechafatnick you may need to force a lower resolution in the runcommand menu for supermodel. I have had to do this with a number emulators/game engines that I added manually to retropie. Some just don't seem to want to play nice.

        Do you have keyboard control once the emulator is launched? Or is it just your controller not working? If nothing works, you may need to use a window manager like matchbox. Sounds like it may be losing focus.

        M 1 Reply Last reply Reply Quote 1
        • M
          mechafatnick @quicksilver
          last edited by mechafatnick

          @quicksilver Gah! I can;'t believe i didn't think to try changing the res in the run command menu. Duh and thank you :D

          It's both keyboard AND controllers (i have to manually kill the process from terminal.) Nothing works which does sound suspiciously like a focus issue. can you trigger matchbox from runcommand too?

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @mechafatnick
            last edited by

            @mechafatnick yes, take a look at: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/ports/minecraft.sh for a hint on how to set it up.

            M 1 Reply Last reply Reply Quote 0
            • M
              mechafatnick @quicksilver
              last edited by

              @quicksilver aha. Turns out it wasn't the window at all - it looks in <bin folder>/config for its ini file by default, but when run as an xsession it was looking in <user folder>/Config. Because it couldn't find the config it was loading with no keys mapped at all!

              Thank you for the link though - i'm always tinkering around so i'm sure that'll come into use at some point!

              quicksilverQ 1 Reply Last reply Reply Quote 0
              • quicksilverQ
                quicksilver @mechafatnick
                last edited by

                @mechafatnick once you have it up and running you'll have to let me know if any games are actually playable.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mechafatnick @quicksilver
                  last edited by

                  @quicksilver They are! more so than i thought they'd be. It's not ready for prime time to the extent that all the titles seem to have slowdowns or small rendering issues, but so far Scud Race, Sega Rally 2, Virtua Fighter 3 and Spikeout have all been immensely playable.

                  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.