Sega model 3 #segamodel3
-
Hello every one,
First of all, thanks to @mechafatnick @Folly and every one who got involved in this project, this is awesome work !
I reply to this post because I followed every procedure given, but I still can't figure out how to launch a game from Retropie.
I have a RaspBerry Pi 4b 4gb and I installed Twister Os and launch Retropie from this Os. Everything went fine with the installation and the implementation in RetroPie. But when I try to launch a game from RetroPie, I got an error with xinit (runcommand.log) :
Parameters:
Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty_XSERVTranSocketUNIXCreateListener: ...Sokcet CreateListerner() Failed
_XSERVTransMakeALLCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot Establish any listening sockets - Make sure an X server isn't already running (EE)blabla cabout consulting X.Org documentation..
XIO: Fatal IO error 11 (Resource Temporaliy unavailable) on X server ":0" after 7 requests (7 known processed) with 0 events remaining.
The thing is it launch well when I use the terminal command in Twister OS : ./supermodel %ROM%
and emulation is starting correctly. The error only occur when I try o launch it from RetroPie..
Have anyone the same issue and/or help me with this problem ?Thanks.
-
Did you use my module script ?
Good to know that it still works, I haven't used/tried it in a very long time.Basically, you can neglect the error you get.
This is because supermodel is has to be run in X.
Therefor XINIT is used because RetroPie runs by default/originally on a lite linux OS without Desktop/X environment.
You use "Twister OS" so you run RetroPie from the Desktop so X is already active.
That is why it works although you get the error because X is already active.
If you want to remove the error then just removeXINIT:
from the runcommands in the emulators.cfg for supermodel3. -
@Folly Thanks for the quick answer and the complete details.
I tried your script but it didn't work so I followed @mechafatnick tutorial and it finally installed and worked, at least from the terminal.
But the issue comes from RetroPie, I always come back to the game selection. Emulation never start, just basic black screen with option selection that appears before each game in Retropie, then comes back to RetroPie..
I tried your suggestion and now I got this error :Parameters:
Executing: SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=30 /opt/retropie/emulators/supermodel/bin/supermodel "/home/pi/RetroPie/roms....."
Error: OpenGL initialization failed: Unknown errorI already installed libsdl2-net-dev as suggested earlier with this issue in the discussion, and did it again but it didn't change anything.
I don't get why I can launch it from the terminal desktop, but can't in RetroPie. Also, all other emulator are working fine so this must be specific to SuperModel I guess..Any clue ?
-
Not a clue at the moment, so not sure if I can be of any help.
Do you start emulationstation from the terminal in Desktop mode or are you leaving the Desktop and run emulationstation from the terminal in "lite mode" ?
What is the runcommand in your emulators.cfg ? -
@Folly Sorry for the delay, I got a hard week. Actually, I start emulationstation from the desktop of Twister OS, and try to launch the emulator from EmulationStation/Retropie. That case doens't work. But if I only launch the model3 emulator from a terminal I open in Desktop mode, it runs ok. I don't have the command line for now because I'm reinstalling Twister OS, but I followed the instructions you talked about here. I ended up just putting the line supermodel %roms%, which is the one I use to launch from a terminal and work, but doesn't work with EmulationStation. At the end, everything is fine in desktop mode, but it doesn't work when I launch from EmulationStation..
That's what I find weird..Thanks for the help :)
-
I know that the program can be run directly, however your have to be in the correct folder in order to run the program properly as it searches for configs in the same folder.
So when you are in the terminal and you usedcd
to go to the supermodel folder and the ran supermodel it would work.
But running it from emulationstation the start folder is totally different so even if you run supermodel with the appropriate path supermodel will not find the configs and will not properly start.
Therefor my script uses pushd so it knows the correct folder and so it can find the other needed files.
You can take at the lines for inspiration :
https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scriptmodules-00/emulators/supermodel-mechafatnick.sh#L77-L81 -
Ok, I see. Thanks for the tip. I'll try it this weekend and will tell you if it works.
Thanks :) -
I'm reopening this post because I have a problem with the controller configuration. I installed the package: https://github.com/Mechafatnick/SuperModelPi/archive/refs/heads/master.zip but whatever I do with the Supermodel.ini, the configuration of the controller keys does not change, while if I modify the keys of the keyboard, yes. I used jstest to test my controller buttons but every change is in vain.
I'm using Retropie 4.8.6 on a 4GB Raspberry Pi 5. -
@shift said in Sega model 3 #segamodel3:
I'm reopening this post because I have a problem with the controller configuration. I installed the package: https://github.com/Mechafatnick/SuperModelPi/archive/refs/heads/master.zip but whatever I do with the Supermodel.ini, the configuration of the controller keys does not change, while if I modify the keys of the keyboard, yes. I used jstest to test my controller buttons but every change is in vain.
I'm using Retropie 4.8.6 on a 4GB Raspberry Pi 5.There may be more than one ini.
Be sure you're modifying the one that matches the symlink found at /opt/retropie/emulators/supermodel-mechafatnick/Config/Supermodel.ini <--symlink
By default, it should map to this location:
/home/pi/RetroPie/roms/supermodel/model3emu/mechafatnick/Supermodel.iniAny other .ini will be ignored.
-
@roslof Thank you, I solved it, unfortunately I didn't realize that +1 must be added to the jstest, I had all the configurations wrong
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.