RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Sega model 3 #segamodel3

    Scheduled Pinned Locked Moved Ideas and Development
    sega model 3supermodel
    304 Posts 23 Posters 93.6k 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.
    • DTEAMD
      DTEAM @Red_Trev
      last edited by DTEAM

      @red_trev

      Same setup and same problems. Here's my runcommand.log ------> Permission denied
      the permission number is 644 for Game.xml and It should be 755 ... I think

      Parameters: 
      Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty
      
      
      X.Org X Server 1.20.4
      X Protocol Version 11, Revision 0
      Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
      Current Operating System: Linux retropie 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
      Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:800x480M@59 smsc95xx.macaddr=DC:A6:32:09:3C:1B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  logo.nologo vt.global_cursor_default=0 quiet console=ttyS0,115200 console=tty3 root=PARTUUID=e22bcd10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
      Build Date: 19 April 2021  03:23:36PM
      xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) 
      Current version of pixman: 0.36.0
      	Before reporting problems, check http://wiki.x.org
      	to make sure that you have the latest version.
      Markers: (--) probed, (**) from config file, (==) default setting,
      	(++) from command line, (!!) notice, (II) informational,
      	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
      (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Mon Jun 14 17:01:44 2021
      (==) Using system config directory "/usr/share/X11/xorg.conf.d"
      (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
      xrandr: cannot find mode 800x480
      Set mode 800x480@59Hz on HDMI-1
      
      Executing (via 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 -res=496,384 /home/pi/RetroPie/roms/model3/ecaj.zip
      
      /dev/shm/retropie_xinitrc: line 6: /opt/retropie/emulators/supermodel/bin/supermodel: Permission denied
      xinit: connection to X server lost
      
      waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
      
      

      New edit:

      It loads with this:

      pi@retropie:~ $ chmod 755 -R /opt/retropie/emulators/supermodel/bin
      pi@retropie:~ $ chmod 755 -R /home/pi/Config
      

      But I have a message: cancelled - Network board not present, for some games (like Daytona2) but I found this https://www.supermodel3.com/FAQ.html#NetworkBoardError.

      Spikeout run well. It runs at full speed on my Pi4. It's impressive. I have set my controller buttons, but I don't know how to exit the emulator with my gamepad yet. thanks @Myzar for this thread.

      Red_TrevR 2 Replies Last reply Reply Quote 0
      • Red_TrevR
        Red_Trev @DTEAM
        last edited by

        @dteam thanks , i changed those permissions but still no luck, checking error log gives:

        /opt/retropie/supplementary/runcommand/runcommand.sh line 1259: xinit: command not found

        I tried sudo apt get install xorg, which installed about 97% of the items but threw an error for the last package, and sudo apt get install xinit, which threw an error right away & didnt install anything ....

        tried to load a Supermodel game again & same error in log : xinit: command not found

        DTEAMD 1 Reply Last reply Reply Quote 0
        • DTEAMD
          DTEAM @Red_Trev
          last edited by DTEAM

          @red_trev

          Red_Trev about 5 hours ago
          @dteam thanks , i changed those permissions but still no luck, checking error log gives:

          /opt/retropie/supplementary/runcommand/runcommand.sh line 1259: xinit: command not found

          I tried sudo apt get install xorg, which installed about 97% of the items but threw an error for the last package, and sudo apt get install xinit, which threw an error right away & didnt install anything ....

          tried to load a Supermodel game again & same error in log : xinit: command not found

          I don't know that much about Xinit. Probably @mitu know what to do.

          I’ll take a look on that today.

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

            @dteam said in Sega model 3 #segamodel3:

            I don't know that much about Xinit. Probably @mitu know what to do.

            xinit is in the xinit package, but installing xorg should install xinit as a dependency.

            /dev/shm/retropie_xinitrc: line 6: /opt/retropie/emulators/supermodel/bin/supermodel: Permission denied

            This looks like the file is not executable by the running user. Check that the executable bit is set on the file with ls -l /opt/retropie/emulators/supermodel/bin/supermodel.

            DTEAMD 2 Replies Last reply Reply Quote 1
            • DTEAMD
              DTEAM @mitu
              last edited by DTEAM

              @mitu
              Finally, we don't need /home/pi/Config folder You need It . It's just a permission problem. It's a good emulator and It runs well on Pi4. I'm trying to found a way to exit it without a keyboard.I haven't found anything yet.

              Red_TrevR 1 Reply Last reply Reply Quote 0
              • DTEAMD
                DTEAM @mitu
                last edited by

                @mitu said in Sega model 3 #segamodel3:

                Check that the executable bit is set on the file with ls -l

                I confirm, It was the problem , In my new edit above, I have use .

                pi@retropie:~ $ chmod 755 -R /opt/retropie/emulators/supermodel/bin
                

                To fix that.

                1 Reply Last reply Reply Quote 0
                • Red_TrevR
                  Red_Trev @DTEAM
                  last edited by Red_Trev

                  @dteam i gave permissions to all those files just incase, ill remove the extra Config folder once im up & running :

                  63f4f777-ac7b-4833-9e22-b7f733ed92fe-image.png

                  @mitu please confirm the correct command line argument to install Xorg & any dependency's, is the below whats needed ? :

                  sudo apt-get install xorg --install-suggests

                  mituM DTEAMD 2 Replies Last reply Reply Quote 1
                  • mituM
                    mitu Global Moderator @Red_Trev
                    last edited by

                    @red_trev said in Sega model 3 #segamodel3:

                    @mitu please confirm the correct command line argument to install Xorg & any dependency's, is the below whats needed ? :

                    sudo apt install xorg should be enough.

                    DTEAMD Red_TrevR 2 Replies Last reply Reply Quote 0
                    • DTEAMD
                      DTEAM @mitu
                      last edited by DTEAM

                      The official source is here https://www.supermodel3.com/Download.html

                      They give the source code "Supermodel Version 0.2a source code" . You have the readme.txt file with informations about the emulator.

                      They talk about gamepads setup (we can't modify the Esc button... for now) and they give the game compatibility matrix.

                      1 Reply Last reply Reply Quote 0
                      • Red_TrevR
                        Red_Trev @mitu
                        last edited by Red_Trev

                        @mitu said in Sega model 3 #segamodel3:

                        @red_trev said in Sega model 3 #segamodel3:

                        @mitu please confirm the correct command line argument to install Xorg & any dependency's, is the below whats needed ? :

                        sudo apt install xorg should be enough.

                        same issue as before, it fetches 97%, hangs, then fails (excuse the poor screenshot)

                        cd335a81-8688-4ad4-a7d6-fb2eef2ffbd9-image.png

                        error says : "Temporary failure resolving 'raspbian.raspberrypi.org'"

                        although i can hit it via web browser, so it is not offline: http://raspbian.raspberrypi.org/

                        to add, when i navigate to the URL in the error message (http://raspbian.raspberrypi.org/raspbian/pool/main/x/xterm/) the file its looking for (xterm_344-1_armhf.deb) is not listed .... also http://​raspbian.raspberrypi.org/raspbian buster/ does not exist

                        is there any other way i can install via command line ?

                        mituM 1 Reply Last reply Reply Quote 0
                        • DTEAMD
                          DTEAM @Red_Trev
                          last edited by DTEAM

                          @red_trev said in Sega model 3 #segamodel3:

                          ill remove the extra Config folde

                          Finally, you need It to use your gamepad setting. It could be a symbolic link with /opt/retropie/emulators/supermodel/bin/Config/Supermodel.ini

                          mkdir  /home/pi/Config
                          ln -s /opt/retropie/emulators/supermodel/bin/Config/Supermodel.ini /home/pi/Config/Supermodel.ini
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @Red_Trev
                            last edited by

                            @red_trev said in Sega model 3 #segamodel3:

                            error says : "Temporary failure resolving 'raspbian.raspberrypi.org'"

                            This looks like an interrupted network connection. Run sudo apt update before and make sure it completes, then try installing the package(s) again.

                            Red_TrevR 2 Replies Last reply Reply Quote 0
                            • M
                              mechafatnick @Red_Trev
                              last edited by

                              @red_trev OOps! I've updated the link so it should work now: link

                              I also completely forgot about those initial permission issues. I think I had them too. As Mitu says. hopefully sudo apt update fixes it for you!

                              For anyone interested, both Dirt Devils and WRC Le Mans are fixable:

                              -To fix Dirt Devils, copy epr-19338a.bin from your Scud Race zip into the Dirt Devils zip. The game should run now

                              -To Fix Lemans, you need a copy of Sega Touring Car Championship. Rename the contained epr-18261.ic9 to epr-18261.bin and drop it into your lemans zip.

                              DTEAMD Red_TrevR 2 Replies Last reply Reply Quote 1
                              • Red_TrevR
                                Red_Trev @mitu
                                last edited by Red_Trev

                                @mitu said in Sega model 3 #segamodel3:

                                @red_trev said in Sega model 3 #segamodel3:

                                error says : "Temporary failure resolving 'raspbian.raspberrypi.org'"

                                This looks like an interrupted network connection. Run sudo apt update before and make sure it completes, then try installing the package(s) again.

                                I have some custom systems for Atomiswave / Naomi , will the update wipe these?

                                I have the updated 'es_systems' file on my laptop , if I Filezilla this into the correct folder after an update should the custom systems appear again?

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

                                  @red_trev said in Sega model 3 #segamodel3:

                                  I have some custom systems for Atomiswave / Naomi , will the update wipe these?

                                  No.

                                  I have the updated 'es_systems' file on my laptop , if I Filezilla this into the correct folder after an update should the custom systems appear again?

                                  A customized es_systems.cfg file is not deleted/modified by an update (either OS/package or RetroPie).

                                  1 Reply Last reply Reply Quote 0
                                  • DTEAMD
                                    DTEAM @mechafatnick
                                    last edited by DTEAM

                                    @mechafatnick
                                    In the original open source Supermodel_0.2a_Src, they give a Makefile.SDL.UNIX.GCC and we can see in Supermodel_0.2a_Src\Src\Inputs\Inputs.cpp a split between UI keys and configurables keys for Supermodel.ini

                                    Do you think It's hard to add UI Controls "settable" in Supermodel.ini . So we could use the keyboard shortcuts (hotkeys) on the gamepads and close the emulator from a gamepad.

                                    UI Controls -----> Inputs.cpp only usable with keyboard for now

                                    using namespace std;
                                    
                                    CInputs::CInputs(CInputSystem *system) : m_system(system)
                                    {
                                    	// UI controls are hard coded here, everything else is initialized to NONE so that it can be loaded from
                                    	// the config file.
                                    	
                                    	// UI Controls  
                                    	uiExit             = AddSwitchInput("UIExit",             "Exit UI",               GAME_INPUT_UI, "KEY_ESCAPE");
                                    	uiReset            = AddSwitchInput("UIReset",            "Reset",                 GAME_INPUT_UI, "KEY_ALT+KEY_R");
                                    	uiPause            = AddSwitchInput("UIPause",            "Pause",                 GAME_INPUT_UI, "KEY_ALT+KEY_P");
                                    	uiSaveState        = AddSwitchInput("UISaveState",        "Save State",            GAME_INPUT_UI, "KEY_F5");
                                    	uiChangeSlot       = AddSwitchInput("UIChangeSlot",       "Change Save Slot",      GAME_INPUT_UI, "KEY_F6");
                                    	uiLoadState        = AddSwitchInput("UILoadState",        "Load State",            GAME_INPUT_UI, "KEY_F7");
                                    	uiMusicVolUp	   = AddSwitchInput("UIMusicVolUp",		  "Increase Music Volume", GAME_INPUT_UI, "KEY_F10");
                                    	uiMusicVolDown	   = AddSwitchInput("UIMusicVolDown",	  "Decrease Music Volume", GAME_INPUT_UI, "KEY_F9");
                                    	uiSoundVolUp	   = AddSwitchInput("UISoundVolUp",		  "Increase Sound Volume", GAME_INPUT_UI, "KEY_F12");
                                    	uiSoundVolDown	   = AddSwitchInput("UISoundVolDown",	  "Decrease Sound Volume", GAME_INPUT_UI, "KEY_F11");
                                    	uiDumpInpState     = AddSwitchInput("UIDumpInputState",   "Dump Input State",      GAME_INPUT_UI, "NONE");	// disabled for release
                                    	uiClearNVRAM       = AddSwitchInput("UIClearNVRAM",       "Clear NVRAM",           GAME_INPUT_UI, "KEY_ALT+KEY_N");
                                    	uiSelectCrosshairs = AddSwitchInput("UISelectCrosshairs", "Select Crosshairs",     GAME_INPUT_UI, "KEY_ALT+KEY_I");
                                    	uiToggleFrLimit    = AddSwitchInput("UIToggleFrameLimit", "Toggle Frame Limiting", GAME_INPUT_UI, "KEY_ALT+KEY_T");
                                    #ifdef SUPERMODEL_DEBUGGER
                                    	uiEnterDebugger    = AddSwitchInput("UIEnterDebugger",    "Enter Debugger",        GAME_INPUT_UI, "KEY_ALT+KEY_B");
                                    #endif
                                    

                                    Also in Inputs.cpp and settable in Supermodel.ini (partial view)

                                    	// Common Controls
                                    	start[0]           = AddSwitchInput("Start1",   "P1 Start",  GAME_INPUT_COMMON, "NONE");
                                    	start[1]           = AddSwitchInput("Start2",   "P2 Start",  GAME_INPUT_COMMON, "NONE");
                                    	coin[0]            = AddSwitchInput("Coin1",    "P1 Coin",   GAME_INPUT_COMMON, "NONE");
                                    	coin[1]            = AddSwitchInput("Coin2",    "P2 Coin",   GAME_INPUT_COMMON, "NONE");
                                    	service[0]         = AddSwitchInput("ServiceA", "Service A", GAME_INPUT_COMMON, "NONE");
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • Red_TrevR
                                      Red_Trev @mitu
                                      last edited by Red_Trev

                                      @mitu said in Sega model 3 #segamodel3:

                                      @red_trev said in Sega model 3 #segamodel3:

                                      error says : "Temporary failure resolving 'raspbian.raspberrypi.org'"

                                      This looks like an interrupted network connection. Run sudo apt update before and make sure it completes, then try installing the package(s) again.

                                      thanks , I have tried update / upgrade, then install Xorg / xinit and the same issue arose .... missing files on the 'raspbian.raspberrypi.org' , which i confirmed by navigating via web browser & searching the folder structure.

                                      is there any other way of installing Xorg / xinit, or should I chase up raspbian themselves & ask for the missing files to be re-uploaded ?

                                      i see a similar file name (xterm_344-1+deb10u1_armhf.deb ) in this website: http://archive.raspbian.org/raspbian/pool/main/x/xterm/

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

                                        @red_trev said in Sega model 3 #segamodel3:

                                        thanks , I have tried update / upgrade, then install Xorg / xinit and the same issue arose .... missing files on the 'raspbian.raspberrypi.org' , which i confirmed by navigating via web browser & searching the folder structure.

                                        The problem is on your end - your internet connection is not working correctly (DNS issues ?), the necessary file(s) are there, in the Raspberry Pi's repository.
                                        Is a simple ping to raspbian.raspberrypi.org working ? Do you have any proxy set-up ?

                                        Red_TrevR 1 Reply Last reply Reply Quote 0
                                        • Red_TrevR
                                          Red_Trev @mitu
                                          last edited by

                                          @mitu said in Sega model 3 #segamodel3:

                                          @red_trev said in Sega model 3 #segamodel3:

                                          thanks , I have tried update / upgrade, then install Xorg / xinit and the same issue arose .... missing files on the 'raspbian.raspberrypi.org' , which i confirmed by navigating via web browser & searching the folder structure.

                                          The problem is on your end - your internet connection is not working correctly (DNS issues ?), the necessary file(s) are there, in the Raspberry Pi's repository.
                                          Is a simple ping to raspbian.raspberrypi.org working ? Do you have any proxy set-up ?

                                          fixed it ! .... thought it might be SSH interfering with it, so went to turn it OFF via Raspi-Config, when i clicked that menu option the below happened automatically:

                                          1fbbc27d-87ef-482c-b3a8-371d9f8d96f7-image.png

                                          when done, i turned off SSH, was able to install Xorg no problem via cmd line, rebooted system, Supermodel worked perfect

                                          moral of the story is to update the underlying OS every-so often ! thanks for your help ;)

                                          1 Reply Last reply Reply Quote 0
                                          • Red_TrevR
                                            Red_Trev @DTEAM
                                            last edited by

                                            @dteam what is button 5 & 6 on the keyboard / game pad ?

                                            62e68f97-6e61-4789-aafc-a46303d29db4-image.png

                                            DTEAMD 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.