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 100.1k 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.
    • 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
              • Red_TrevR
                Red_Trev @mechafatnick
                last edited by Red_Trev

                @mechafatnick said in Sega model 3 #segamodel3:

                @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!

                that update did the trick, now I can play in full screen

                thanks for all your help :)

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

                  @dteam no - init save state loads a save state on load.

                  Turns out i'd mucked up when i was setting the load state to be remappable. It works now.

                  I haven't updated the zips yet, but i'vejust pushed out the small source code change. I also made the cross hair toggle remappable to so you can see what you're shooting in The Lost World.

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

                    @mechafatnick said in Sega model 3 #segamodel3:

                    no - init save state loads a save state on load.
                    Turns out i'd mucked up when i was setting the load state to be remappable. It works now.
                    I haven't updated the zips yet, but i'vejust pushed out the small source code change. I also made the cross hair toggle remappable to so you can see what you're shooting in The Lost World.

                    Thank you, the puzzle is over !!! Thanks also for optimizing the games, it's really appreciated.
                    The next step for you, is it a conversion to libretro cores: lr-supermodel 😉

                    When you make any updates or if you update your zip, could you let us know in this thread. I want to be aware of your changes and I can test it for you if you want. Thanks again.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Folly
                      last edited by

                      @mechafatnick @DTEAM

                      Does it now mean that save-states and load-states is now possible/working ?

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

                        @folly yep! Save and load work. As does the shortcut for showing lightgun cross hairs on screen.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Folly @mechafatnick
                          last edited by

                          @mechafatnick

                          Yesterday I made a module-script for the supermodel :
                          https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/supermodel-mechafatnick.sh
                          Not yet perfect, but I think it's a nice base.
                          Perhaps it's something you could improve with your knowledge.

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

                            @folly
                            It's nice, because we don't need the zipped file anymore. Your script make the file with MakeFile !!

                            F 1 Reply Last reply Reply Quote 1
                            • F
                              Folly @DTEAM
                              last edited by Folly

                              @dteam

                              Indeed it does.

                              I structured it a bit differently.
                              So the emulator binary, configs, Saves map and NVRAM map don't mix up with other installs (if not using the same names btw.)

                              I did not add extra settings Supermodel.ini in the script and I only implemented one emulators.cfg line.

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

                                @folly
                                Is It better to uninstall my old files before using your script or that's okay.

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

                                  @dteam said in Sega model 3 #segamodel3:

                                  @folly
                                  Is It better to uninstall my old files before using your script or that's okay.

                                  This is the reason I created it in such a way that it should be a complete install on it's own and you should be able to keep using your old install for comparison.
                                  This will make it easier to compare and improve or copy and paste configs or files.

                                  So only for this module-script the emulator files come in :
                                  /opt/retropie/emulators/supermodel-mechafatnick

                                  It will create symlinks in above directory of NVRAM, Saves, Supermodel.ini and Supermodel.log.
                                  These real directories and files, with normal user permissions, come in :
                                  /home/pi/RetroPie/roms/supermodel/model3emu/mechafatnick

                                  These directories are shared with other installs :
                                  /home/pi/RetroPie/roms/supermodel
                                  /opt/retropie/configs/supermodel

                                  So it uses the same emulators.cfg file for adding the lines.
                                  (but I gave the lines a specific name btw.)

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

                                    @dteam is there for global input to toggle Crosshairs (for light gun games) that i can put in supermodel.ini ? the keyboard command for it is Alt-I

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

                                      @folly oh wow good job! I've never actually messed around with Retropue modules so thanks for creating that. We have the make files for Windows and Mac in there too. Would it be difficult to make them compatible with those platforms? I've never seen Retropie installed in Windows.

                                      I would say it's worth including the variants with under locked PPC settings. So far 40hz, 48hz and 45hz seem to get the best results in certain games.

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

                                        @red_trev yep - latest build gas the option in. Folly's script should capture it

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @mechafatnick
                                          last edited by Folly

                                          @mechafatnick said in Sega model 3 #segamodel3:

                                          @folly oh wow good job!

                                          Thanks.

                                          I've never actually messed around with Retropue modules so thanks for creating that.

                                          I had to learn too, but once you know it, it can be quite simple.

                                          We have the make files for Windows and Mac in there too. Would it be difficult to make them compatible with those platforms? I've never seen Retropie installed in Windows.

                                          Not sure what you ask here.
                                          Btw. I never compiled stuff on mac and windows.
                                          So I can't help with this one, I think.

                                          I would say it's worth including the variants with under locked PPC settings. So far 40hz, 48hz and 45hz seem to get the best results in certain games.

                                          Underclock lines are added in the module-script !

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

                                            @folly @mechafatnick
                                            I confirm, load state works!!! Thanks @mechafatnick . Folly, with your script, I had to change my rom folder and config folder and my es_systems.cfg by replacing model3 by supermodel. It's not a problem for me, but people must know.

                                            General information, if you go to the Test menu (InputTestA) and then to Game Assignments, you can select your country and more. With the country option you can change the language.

                                            Other suggestion, this

                                            Supermodel-mechafatnick-normal = "XINIT:pushd /opt/retropie/emulators/supermodel-mechafatnick;/opt/retropie/emulators/supermodel-mechafatnick/bin/supermodel -wide-screen -stretch -legacy3d -sound-volume=50 -music-volume=60 -no-vsync -no-throttle -no-dsb -res=800,600 %ROM%"
                                            

                                            Should be replace by

                                            Supermodel-mechafatnick-normal = "XINIT:pushd /opt/retropie/emulators/supermodel-mechafatnick;/opt/retropie/emulators/supermodel-mechafatnick/bin/supermodel -legacy3d -sound-volume=50 -music-volume=60 -no-vsync -no-throttle -no-dsb %ROM%"
                                            

                                            In my opinion, all videos settings should be in Supermodel.ini and not in the command line. It will be more universal. It should be like below.

                                            XResolution=800  ;    <------------the user must define according to the size of his screen. Default value 496
                                            YResolution=480 ;   <------------the user must define according to the size of his screen. Default value 384
                                            FullScreen=0
                                            WideScreen=1
                                            Stretch=0
                                            WideBackground=0
                                            
                                            F 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.