Starting ports with Xinit
I've built Supermodel per the instructions here:
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:
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
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?
@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.
mechafatnick 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?
@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.
@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!
@mechafatnick once you have it up and running you'll have to let me know if any games are actually playable.
@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.