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.2k 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
      myzar
      last edited by myzar

      we know that we are out of luck with model2 without sources, but model 3 has sources and this compile and runs okish somegames fullspeed some not

      https://sourceforge.net/p/model3emu/code/790/tree/

      i wonder if any dev can optimize it on the pi4, atm only the legacy renderer works

      1 Reply Last reply Reply Quote 1
      • quicksilverQ
        quicksilver
        last edited by quicksilver

        Supermodel requires desktop OpenGL, which could be achieved by running in an x session on a pi4. I am not a dev by any means but I do like to tinker. Do you have a link to any instructions on how to build the source? Even if we do get it running, I suspect the performance won't be very good...

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

          @quicksilver well we have xinit on runcommand that will run a xserver session, that's not a problem and performance needs improvement but is not related to xserver, that's the reason of my post :)

          to compile you only need to edit line 209 on Makefile.inc and add normal rpi4 flags -march=armv8-a+crc -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard

          this is my compiled bin

          https://mega.nz/file/zsFEVCpL#3ptKlQfEwQivjpsRJsDxDi86M_HhekuU1oXjG7D5Gjk

          supermodel = "XINIT:/opt/retropie/emulators/supermodel/bin/supermodel -legacy3d  -sound-volume=50 -music-volume=60 -no-vsync -fullscreen -no-throttle -no-dsb %ROM%"
          default = "supermodel"
          
          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @myzar
            last edited by

            @myzar it sounds like you already have it running then. What kind of framerate are you getting? Any further optimization would have to be on the end of the supermodel devs I would think.

            1 Reply Last reply Reply Quote 0
            • M
              myzar
              last edited by

              @quicksilver depends on the game the virtua fighter saga is playable , games like daytona 2 se lags badly , in the 20/40 fps range , but i don't know for sure the show-fps options doesn't seem to work

              N 1 Reply Last reply Reply Quote 0
              • N
                notthesame @myzar
                last edited by

                @myzar this code above will run on retropie then? If so let me take a look at the code and see if I can add some tweaks that might work, can't promise anything but atleast I can try to do something, if not then the dev will have to give us his magic, btw thanks and good job.

                1 Reply Last reply Reply Quote 0
                • M
                  myzar
                  last edited by

                  @notthesame yes it does work on retropie as i said the emu depending on the game ranges from okish playable fps to too slow like the daytona games , only the legacy renders works , the new will give you broken triangles like in your old screeen shot, the emu needs X that's why is started with xinit

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    notthesame @myzar
                    last edited by

                    @myzar ok , let's see what we can do, but add tweaks to see if it speeds up, but that's all I can do for now, not sure how to modify stuff like using x, etc ... I'm running under opengl so I don't think I can run it. But I'll try my other retropie image that is using legacy.

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

                      @notthesame it needs openGL, that's why you have to run it using an x session or desktop.

                      1 Reply Last reply Reply Quote 0
                      • M
                        myzar
                        last edited by

                        @notthesame sorry i meant the legacy 3d engine in the emu itself , it has two engines you need to force -legacy3d in the command line, about the rpi4 video driver is the normal vc4-fkms-v3d over X

                        1 Reply Last reply Reply Quote 0
                        • B
                          bronze
                          last edited by

                          Guys any updated compiled file, the previous link has been removed?

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RussellB @bronze
                            last edited by

                            https://www.dropbox.com/s/imtj1f0c1ao5nf6/supermodel?dl=0

                            This was compiled on an RPi4 given the instructions in this thread. Get Bass was able to come up and play but there's major graphics issues with it.

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

                              Edit:

                              Solved my own issues!

                              For me this was showing in a tiny window and wasn't registering any of the controls. To solve it I set the resolution to 640 x 480 in runcommand and have this in the emulators file:

                              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 -res=496,384 %ROM%"
                              default = "supermodel"
                              

                              Though by default it looks in <bin folder>/Config, for me it was looking in <my user folder>/Config for its ini file. I moved the ini into a folder there and it was good to go (guess a sym link would have solved this too?)

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

                                @mechafatnick hi there could you please do a step by step tutorial of how to get Supermodel installed & running on an existing copy of Retropie running on a Pi4 ? I have the 8GB version & want to see what its like, thanks !

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

                                  @red_trev said in Sega model 3 #segamodel3:

                                  @mechafatnick hi there could you please do a step by step tutorial of how to get Supermodel installed & running on an existing copy of Retropie running on a Pi4 ? I have the 8GB version & want to see what its like, thanks !

                                  I know this is going back a bit, but i've written one here: https://mechafatnick.co.uk/2021/06/13/becoming-a-super-model-adding-model-3-games-to-your-pi4/

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

                                    @mechafatnick awesome, thank you so much !

                                    btw .... "Emulation Station configuration folder" download link is not working in the section for 'Adding Model3 as its own System in Emulation Station', could you please re-upload ?

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

                                      @mechafatnick hi there, have followed your instructions but games do not work, please confirm I have correct folder structure for .ini

                                      a0112d19-77e6-48c2-8c73-836dc0eef891-image.png

                                      here is new line added to arcade emulator text file:

                                      1f097bd2-3da2-440b-ab8f-3da4b3a33091-image.png

                                      here is emulator itself:

                                      ab056f77-697d-4949-9615-d5e65386b082-image.png

                                      maybe its the ROMs ? should i check their contents with the Games XML file ?

                                      DTEAMD 1 Reply Last reply Reply Quote 0
                                      • 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
                                            • 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.