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 107.4k 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 @Red_Trev
      last edited by

      @red_trev what happens when you ditch xinit and lower the emulator Res to 496 *384?

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

        @mechafatnick said in Sega model 3 #segamodel3:

        @red_trev what happens when you ditch xinit and lower the emulator Res to 496 *384?

        via command line it opens in a small window, should I try that via emulators.cfg ?

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

          @red_trev yeah lower the resolution in emulators.cfg, keep it for run command :)

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

            @mechafatnick said in Sega model 3 #segamodel3:

            @red_trev yeah lower the resolution in emulators.cfg, keep it for run command :)

            but the whole point is not playing in a box a quarter of the screen size... is there any method to remove this limitation? I can see the video is increased but it's focused on bottom left corner, why is it doing this? is it XINIT causing it ?

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

              @mechafatnick

              Hi ,

              I'm able to save games but doesn't able to load them with this symlink:

              ln -s /opt/retropie/emulators/supermodel/bin/Saves Saves
              

              I don't know why for now.

              For screen view, in Supermodel.log you can see more options

              XResolution=496
              YResolution=384
              FullScreen=0
              WideScreen=0
              Stretch=0
              WideBackground=0
              

              I'll try those later

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

                @Red_Trev @mechafatnick

                For full screen ... I did It !!!!!

                1- you have to delete -res=496,384 and replace that by nothing. All the video settings must be done in Supermodel.ini

                Supermodel-normal = "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%"
                

                2 - Go in Supermodel.ini and add :

                XResolution=496
                YResolution=384
                FullScreen=0
                WideScreen=0
                Stretch=0
                WideBackground=0
                

                3- Set you screen resolution like you want but never use FullScreen. You can use WideScreen, Strech or WideBackGround. With Full Screen, hotkeys stop working.

                Mine (5 inch screen)

                ;setup for 5 inch lcd touchscreen 
                ;XResolution=496
                ;YResolution=384
                XResolution=800  
                YResolution=480
                FullScreen=0
                WideScreen=1
                Stretch=0
                WideBackground=0
                

                It slowdown the emulator a little bit, but not that bad.

                The only missing thing is loadstate. After that It's complete for me!! Nice emulator

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

                  @red_trev said in Sega model 3 #segamodel3:

                  @mechafatnick thanks , ill give that a go later ....

                  i have tried modifying the arcade 'emulators.cfg' to

                  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=80 -no-vsync -no-throttle -no-dsb -res=1024,768 -fullscreen %ROM%"

                  when i launched a game, it had the same small video box in the center of the screen, the actual game picture seemed to be bigger but it was zoomed into the bottom left corner (and my controls stopped working)

                  is there anyway of preventing the output from being displayed like this ?

                  a953fcc6-7646-41bb-8d34-c06791d69c3a-image.png

                  also there is a method of setting resolution on a per game or global level via the Supermodel.ini file (https://www.supermodel3.com/AdvancedUsage.html#ConfigFile)

                  as this file appears in 3 places (config, bin, pi/home/config), i assume the same modified file must be placed in each place ?

                  and even then, how would the values in 'emulators.cfg' affect it ? which set of instructions take precedence ?

                  thanks again !

                  @DTEAM well done !! so I was thinking correctly with this ;) again , Supermodel.ini file appears in 3 places, do I have to update all of them ?

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

                    @red_trev

                    If you have done your symlink before:

                    
                    ln -s /opt/retropie/emulators/supermodel/bin/Config Config
                    
                    

                    It’s in
                    /opt/retropie/emulators/supermodel/bin/Config/Supermodel.ini

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

                      @dteam

                      update Supermodel.ini located in /opt/retropie/emulators/supermodel/bin/Config

                      then copy that updated file to /home/pi/Config

                      i assume all controller changes must be saved to that file also?

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

                        @red_trev
                        You can do it like that too. With this method, you need to update both files. If you want use a symbolic link (press F4 or just close Emulation Station and write the proposed above command) with that, you only need to update opt/retropie/emulators/supermodel/bin/Config/supermodel.ini

                        Both options work

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

                          @Folly
                          @mechafatnick

                          The only missing puzzle part is to be able to load save states. We can save, but not load. Any idea of what to do?

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

                            @dteam there's a hard-wired save state selection key that may need to be rebound. Try using it and then see if it will load (would be an easy update if it solves the issue. Not sure there are any games that really need save states though)

                            Also do:

                            ln -s /opt/retropie/emulators/supermodel/bin/NVRAM NVRAM

                            That way you'll keep any settings you change on the board (useful for only having to set Daytona/Scud race to single machines the once)

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

                              @mechafatnick said in Sega model 3 #segamodel3:

                              Not sure there are any games that really need save states though)

                              I'm on a handheld build and sometime I'm playing 5 minutes and I stop. It's interesting for me to be able to save games even if It's a short game to play.

                              Also do:

                              ln -s /opt/retropie/emulators/supermodel/bin/NVRAM NVRAM

                              That way you'll keep any settings you change on the board (useful for only having to set Daytona/Scud race to single machines the once)

                              Already done, I'm following your webpage and I saw that change. I did the same thing for Saves

                              ln -s /opt/retropie/emulators/supermodel/bin/Saves Saves
                              
                              1 Reply Last reply Reply Quote 0
                              • Red_TrevR
                                Red_Trev @DTEAM
                                last edited by

                                @dteam said in Sega model 3 #segamodel3:

                                @red_trev
                                You can do it like that too. With this method, you need to update both files. If you want use a symbolic link (press F4 or just close Emulation Station and write the proposed above command) with that, you only need to update opt/retropie/emulators/supermodel/bin/Config/supermodel.ini

                                Both options work

                                no change i am afraid, still displays in a small box in center of screen that is focused on bottom left ...

                                i have changed all 3 Supermodel.ini files to the following & given rwx permissions to them:

                                [ Global ] ; Input settings can only be read from the global section!

                                XResolution=1024
                                YResolution=768
                                FullScreen=0
                                WideScreen=1
                                Stretch=1
                                WideBackground=1

                                is there any other setting i am missing ?

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

                                  @red_trev

                                  Did you get the updated version from @mechafatnick

                                  Normally, It should work.

                                  Try this first:
                                  XResolution=1024
                                  YResolution=768
                                  FullScreen=0
                                  WideScreen=1
                                  Stretch=0
                                  WideBackground=0

                                  Have you deleted -res=496,384 in emulators.cfg ?

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

                                    @dteam said in Sega model 3 #segamodel3:

                                    @red_trev

                                    Did you get the updated version from @mechafatnick

                                    Normally, It should work.

                                    Try this first:
                                    XResolution=1024
                                    YResolution=768
                                    FullScreen=0
                                    WideScreen=1
                                    Stretch=0
                                    WideBackground=0

                                    Have you deleted -res=496,384 in emulators.cfg ?

                                    yes I have deleted in emulators.cfg

                                    sorry, didnt know there was a new version of supermodel, i will install ....

                                    so i must modify the Supermodel.ini file that is in the new supermodel\bin\Config (pic below) and add those values ?

                                    3cda7d9b-3d0a-4b6a-ab79-0f7f21ab3f61-image.png

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

                                      @red_trev

                                      Yes, under [Global]
                                      You should use Notepad ++ (it's free) instead of notepad.

                                      Better for program files

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

                                        @dteam when i try running a game it fails, looking at the error log says :

                                        opt/retropie/emulators/supermodel/bin/supermodel:
                                        error while loading shared libraries libsdl2-2.0.so.0:
                                        cannot open shared object for file:
                                        no such file or directory

                                        when i try to sudo apt install libsdl2-dev it says the latest version is already installed

                                        @mechafatnick can you please confirm the zip available for download off your original webpage is the correct emulator version to install ?

                                        it has only one folder called bin , here is the contents

                                        85884b77-f2ec-44ee-8593-7cdd2d6e3272-image.png

                                        here is whats inside Config

                                        288e331d-1bc9-4f6f-95f5-0ca724cfab46-image.png

                                        the only changes to Supermodel.ini was the first few lines, it has full rwx permissions & i uploaded the same file to the home/pi/Config folder

                                        2ad13cf8-fd00-40ab-8502-cd7acf7a0b4b-image.png

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

                                          @red_trev

                                          Yeah that's all correct. If you set up the symbolic links those are the only files you need. I think you need this one too:

                                          sudo apt-get install libsdl2-net-dev

                                          Also the emulator is setup with mappable save states/quit/screenshot controls so make sure they're mapped how you want them!

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

                                            @mechafatnick said in Sega model 3 #segamodel3:

                                            @dteam there's a hard-wired save state selection key that may need to be rebound. Try using it and then see if it will load (would be an easy update if it solves the issue. Not sure there are any games that really need save states though)

                                            I've set those lines but I'm not able to load savestates:

                                            ;my personnal setup
                                            InputUISaveState = JOY1_BUTTON1+JOY1_BUTTON13
                                            InputUILoadState = JOY1_BUTTON1+JOY1_BUTTON11
                                            InputUIChangeSlot = JOY1_BUTTON1+JOY1_BUTTON12
                                            InputUIDumpInputState = JOY1_BUTTON1+JOY1_BUTTON5
                                            

                                            When you talk about "hard-wired save state selection key" , is it one of those InputUI option

                                            NEW EDIT:

                                            in Supermodel.log we can see InitStateFile= <-----(NOTHING, maybe missing value)

                                            See below

                                            [Info]  Supermodel Version 0.3a-WIP
                                            [Info]  Started as:
                                            [Info]    argv[0] = ./supermodel
                                            [Info]    argv[1] = -config-inputs
                                            [Info]  Runtime configuration:
                                            [Info]    GameXMLFile=Config/Games.xml
                                            [Info]    InitStateFile=
                                            [Info]    MultiThreaded=1
                                            [Info]    GPUMultiThreaded=1
                                            [Info]    PowerPCFrequency=50
                                            [Info]    MultiTexture=0
                                            [Info]    VertexShader=
                                            [Info]    FragmentShader=
                                            [Info]    VertexShaderFog=
                                            

                                            @folly @mechafatnick Could it be the loadstate problem?

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