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
      mechafatnick @Folly
      last edited by

      @folly I can't do it right now but absolutely - anything you can put in the command line you can out in the ini file!

      Name: XResolution
      YResolution

      Argument:       Integer.
      
      Description:    Resolution of the display in pixels.  The default is
                      496x384, the Model 3's native resolution.  Equivalent to
                      the '-res' command line option.
      

      In fact, check out section 13 here to see if there's anything else you think we should add:

      https://github.com/mirror/model3emu

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

        @mechafatnick

        I will have a look and do some experiments, when I can.

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

          @folly We can trim the list in emulators.cfg as well i think! Excitedly i've just found that the MPEG board emulation works well with an underclocked CPU, so we can have music in Scud race!

          So far the only game that performs to the point of being unplayable is Harley Davidson, which is a shame as it feels like an interesting precursor to the open worl do Crazy Taxi.

          F DTEAMD 2 Replies Last reply Reply Quote 1
          • F
            Folly @mechafatnick
            last edited by Folly

            @mechafatnick said in Sega model 3 #segamodel3:

            @folly We can trim the list in emulators.cfg as well i think! Excitedly i've just found that the MPEG board emulation works well with an underclocked CPU, so we can have music in Scud race!

            So far the only game that performs to the point of being unplayable is Harley Davidson, which is a shame as it feels like an interesting precursor to the open worl do Crazy Taxi.

            Nice that MPEG board stuff !

            Let me know what lines can be removed, from the module-script , and I will remove them.

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

              @mechafatnick said in Sega model 3 #segamodel3:

              Excitedly i've just found that the MPEG board emulation works well with an underclocked CPU, so we can have music in Scud race!

              Could it work also for Spikeout. We don't have the soundtrack with Spikeout. We only have the punch sound (action sounds)

              For game like Daytona USA 2, is there a way to preset game assigments like LINK ID to SINGLE and for some other games the country? Is It in Games.xml?

              @Folly, is It something to cover in the Script or it's on @mechafatnick side.

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

                @dteam I think it's actually coming from the ROM itself. WIthout redumping the simplest thing to do would be:

                -Work out all of the games affected
                -load the ROMs and set them to single machines
                -Have the install script copy the files created into the nvram folder at install.

                Then the emulator should find the nvram file to begin with and set it up correctly. Easy!

                I think Spikeout is another game that streams from the Mpeg board. This was frustrating as a lot of it is perfectly fine but it has some quite wicked slowdown in places. Definitely worth trying is with the DSB on and the CPU underclocked to a couple of different values

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

                  @Folly
                  When I used your script. From the menu I had to select "help" (only option) and after that the install option appears with the help option below. Is this normal?
                  BTW, at the end, it works. It's just a question about the menu itself.

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

                    @dteam said in Sega model 3 #segamodel3:

                    @Folly
                    When I used your script. From the menu I had to select "help" (only option) and after that the install option appears with the help option below. Is this normal?
                    BTW, at the end, it works. It's just a question about the menu itself.

                    The module-script doesn't have a menu by itself.
                    The menu is build up by the RetroPie-Setup.

                    If you have a bad internet connection then you don't see install or update, for that matter.
                    Could also be something different, will have a look at that.

                    It tested it a couple of times. (btw I have RP-Setup 4.7.11)
                    I could not find any problems at the moment.

                    Would like to see a picture of the problem, can you post one ?

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

                      @mechafatnick said in Sega model 3 #segamodel3:

                      @dteam I think it's actually coming from the ROM itself. WIthout redumping the simplest thing to do would be:

                      -Work out all of the games affected
                      -load the ROMs and set them to single machines
                      -Have the install script copy the files created into the nvram folder at install.

                      Then the emulator should find the nvram file to begin with and set it up correctly. Easy!

                      I think Spikeout is another game that streams from the Mpeg board. This was frustrating as a lot of it is perfectly fine but it has some quite wicked slowdown in places. Definitely worth trying is with the DSB on and the CPU underclocked to a couple of different values

                      I read your post a couple of times.
                      I think you mean :

                      • collect all the NVRAMs of the games with the "correct" settings
                      • add them into the NVRAM directory in the source code
                      • when installing the emulator, you already have "good" NVRAM files from the source so no need of creating them in the first place

                      Am I right ?
                      Or do you mean something different ?

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

                        Sorry that was round about way of saying it wasn't it?

                        Yes that's exactly right. If we can gather the 'correct' nvram settings together in the source code we can just copy them into the emulators nvram folder at build time

                        I've already erm tweaked a lot of mine :D

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

                          @mechafatnick said in Sega model 3 #segamodel3:

                          Sorry that was round about way of saying it wasn't it?

                          Yes that's exactly right. If we can gather the 'correct' nvram settings together in the source code we can just copy them into the emulators nvram folder at build time

                          I've already erm tweaked a lot of mine :D

                          Perfect !

                          Good idea !
                          (but I have to accommodate the module-script for that)

                          We can do the same with the initial save-states idea from my post 104
                          Gather them too and add them in the Saves directory as an initial starter too speed things up.
                          (I have to change the module-script a bit, because it now searches in the root supermodel rom directory)

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

                            @folly :D

                            alt text

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

                              @mechafatnick @DTEAM

                              I have made all the changes to the module-script.
                              I will have to do some tests tomorrow, when I think it ready I will push it to github.
                              Changes :

                              • moved the emulator binary to /opt/retropie/emulators/supermodel-mechafatnick
                              • reduced the run-lines, removing the path to the emulator binary, now ./supermodel
                              • removed the -no-dsb in the underclock run-lines
                              • it will preserve the changes made in Supermodel.ini when emulator is reinstalled
                              • it will move the NVRAM and Saves directories from the source code to /opt/retropie/emulators/supermodel-mechafatnick
                              • the initial save state uses now the %BASENAME%.st in /opt/retropie/emulators/supermodel-mechafatnick/Saves

                              An example of the initial save state is:

                              • you make a savestate from, for example, scud.zip, it will become scudau.st0
                              • then rename it to scud.st
                              • on next game boot scud.st will be loaded as initial state

                              So basically if all NVRAM.nv and all Saves.st files come in the source-code.
                              No settings will have to be made and we can skip the initial boot sequence, for the roms with a slow startup.

                              How does this sound ?

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

                                @folly WIll people want to skip the initial boot sequence? That might be part of the fun. Hmm.

                                I've been thinking about your approach of putting everything into the ini and i think this is the right approach. Going forward I think we should:

                                -have two ( or three?) options in emulator.cfg:

                                supermodel (which will be at native res)
                                supermodel high-res (800 x 600)
                                supermodel very high-res (1024 x 768)

                                Then, we can handle the settings for the individual games in supermodel.ini (so whether to enable the DSB, how far to underclock CPU.) That way we'll have optimal settings for each game without the user having to alter anything. Sound good? I've made sections for each game in the ini file. I think i might be developing carpel tunnel...

                                EDIT: Ok! We can all chip in!

                                Add these lines to the global section of supermodel.ini (under your controls:)

                                ;Our non input settings...
                                EmulateDSB = 0
                                MusicVolume = 60
                                SoundVolume = 60
                                Stretch=1
                                VSync=0
                                Throttle=0
                                GameXMLFile= /opt/retropie/emulators/supermodel/bin/Config/Games.xml
                                New3DEngine=0
                                

                                now, in emulators.cfg we only need to set the res in the command line (if you want to have different options)

                                Supermodel = "XINIT:/opt/retropie/emulators/supermodel/bin/supermodel %ROM%"
                                

                                Now all we need to do, as a group, is come up with the optimal settings for each game as a group. I've made a start below (copy this into supermodel.ini - below the global section)

                                ;daytona 2 power edition
                                    [ dayto2pe ]
                                ;daytona 2: battle to the edge
                                    [ daytona2 ]
                                  ;Dirt Devils (Export, Revision A)  
                                	[dirtdvls]
                                ;Dirt Devils (Australia, Revision A)
                                    [ dirtdvlsa ]
                                ;Dirt Devils (German)
                                    [ dirtdvlsg ]       
                                ;Dirt Devils (Japan, Revision A)  
                                	[ dirtdvlsj ]
                                ;Emergency Call Ambulance (Export)
                                    [ eca       ]
                                ;Emergency Call Ambulance (Japan)	
                                    [ ecaj      ]
                                ;Emergency Call Ambulance (US location test?)	
                                    [ ecap      ]
                                ;Emergency Call Ambulance (USA)	
                                    [ ecau      ]
                                ;Fighting Vipers 2 (Japan, Revision A)	
                                    [ fvipers2 ]  
                                ;Fighting Vipers 2 (?)    
                                    [ fvipers2o ]
                                ;Get Bass (?)    
                                    [ getbass ]
                                ;Harley-Davidson and L.A. Riders (Revision B)	
                                    [ harley ] 
                                ;Harley-Davidson and L.A. Riders (Revision A)   
                                    [ harleya ]
                                ;L.A. Machineguns: Rage of the Machines (Japan)    
                                    [ lamachin ] 
                                ;Le Mans 24 (Revision B)	
                                    [ lemans24 ]
                                 ;The Lost World (Japan, Revision A)   
                                    [ lostwsga ]
                                ;The Lost World (Original Revision)	
                                    [ lostwsgo ]
                                PowerPCFrequency = 30
                                ;Magical Truck Adventure (Japan)    
                                    [ magtruck ]
                                ;The Ocean Hunter (?)   
                                    [ oceanhun ]
                                ;Scud Race (Australia, Twin)	
                                    [ scud ]
                                PowerPCFrequency = 35
                                MusicVolume = 200
                                EmulateDSB = 1
                                ;Scud Race (Export, Twin)	
                                    [ scuda ]
                                PowerPCFrequency = 35
                                MusicVolume = 200
                                EmulateDSB = 1
                                ;Scud Race (Japan, Deluxe)	
                                    [ scudj ]
                                PowerPCFrequency = 35
                                MusicVolume = 200
                                EmulateDSB = 1
                                ;Scud Race Plus (Revision A)	
                                    [ scudplus ]
                                PowerPCFrequency = 35
                                MusicVolume = 200
                                EmulateDSB = 1
                                ;Scud Race Plus (?)  
                                    [ scudplusa ]
                                PowerPCFrequency = 35
                                MusicVolume = 200
                                EmulateDSB = 1
                                ;Ski Champ (Japan)	
                                    [ skichamp  ]
                                ;Spikeout Final Edition (?) - too slow on pi	
                                    [ spikeofe  ]
                                PowerPCFrequency = 45
                                EmulateDSB = 1
                                ;Spikeout (Revision C)	
                                    [ spikeout  ]
                                PowerPCFrequency = 35
                                EmulateDSB = 1
                                ;Sega Rally 2 (?)	
                                    [ srally2   ] 
                                ;Sega Rally 2 (Prototype)	
                                    [ srally2p  ]
                                ;Sega Rally 2 (Prototype Version A)
                                    [ srally2pa ]
                                ;Sega Rally 2 (Deluxe)	
                                    [ srally2x  ]
                                ;Star Wars Trilogy Arcade (Revision A)
                                    [ swtrilgy  ]
                                ;Star Wars Trilogy Arcade (?)	-not working on pi
                                    [ swtrilgya ]
                                ;Star Wars Trilogy Arcade (?)   -not working on pi
                                    [ swtrilgyp ]
                                ;Virtua Fighter 3 (Revision D)
                                    [ vf3       ]
                                PowerPCFrequency = 40
                                ;Virtua Fighter 3 (Revision A)	
                                    [ vf3a      ]
                                PowerPCFrequency = 40
                                ;Virtua Fighter 3 (Revision C)
                                    [ vf3c      ]
                                PowerPCFrequency = 40	
                                ;Virtua Fighter 3 Team Battle (?)	
                                    [ vf3tb     ]
                                PowerPCFrequency = 40
                                ;Virtual On 2: Oratorio Tangram (Revision B)
                                    [ von2      ]
                                PowerPCFrequency = 30
                                ;Virtual On 2: Oratorio Tangram (Ver 5.4g)	
                                    [ von254g   ]
                                PowerPCFrequency = 30
                                ;Virtual On 2: Oratorio Tangram (Revision A)	
                                    [ von2a     ]
                                PowerPCFrequency = 30
                                ;Virtual On 2: Oratorio Tangram (?)	
                                    [ von2o     ]
                                PowerPCFrequency = 35
                                ;Virtua Striker 2 (Step 2.0) - no special settings    
                                    [ vs2       ]
                                ;Virtua Striker 2 (Step 1.5) -  no special settings 
                                    [ vs215     ]
                                ;Virtua Striker 2 (Step 1.5, older) -  no special settings 	
                                    [ vs215o    ]
                                ;Virtua Striker 2 '98 (Step 2.0) -  no special settings 	
                                    [ vs298     ]
                                ;Virtua Striker 2 '98 (Step 1.5) - no special settings 
                                    [ vs29815   ]     
                                ;Virtua Striker 2 '99 (?)	
                                    [ vs299     ]
                                ;Virtua Striker 2 '99 (Step 1.5)	
                                    [ vs29915   ] 
                                ;Virtua Striker 2 '99 (Revision A)    
                                    [ vs299a    ]
                                ;Virtua Striker 2 '99 (Revision B)	
                                    [ vs299b    ]
                                ;Virtua Striker 2 '99.1 (Revision B)	
                                    [ vs2v991   ]      
                                

                                I'm gathering initialised nv ram too :D

                                F Red_TrevR 5 Replies Last reply Reply Quote 0
                                • F
                                  Folly @mechafatnick
                                  last edited by Folly

                                  @mechafatnick said in Sega model 3 #segamodel3:

                                  I will have to take some time to process this information.

                                  @folly WIll people want to skip the initial boot sequence?

                                  Not for fun.
                                  I think they do want it, especially for lemans24, because it will take 1 minute to get the first good screen and be playable.
                                  I think there will be more.
                                  We don't have to put all save states in there, only the ones with slow startup :D

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

                                    @mechafatnick

                                    We should take it step by step.

                                    Can you put your collected NVRAMs into the source code and add an empty Saves directory ?
                                    Then I can test the module-script.
                                    From there we can take more steps.
                                    Agreed ?

                                    Btw. adding the optimal game options into the Supermodel.ini sounds very good ;-)

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

                                      @folly said in Sega model 3 #segamodel3:

                                      @mechafatnick said in Sega model 3 #segamodel3:
                                      I will have to take some time to process this information.

                                      @folly WIll people want to skip the initial boot sequence?

                                      Not for fun.
                                      I think they do want it, especially for lemans24, because it will take 1 minute to get the first good screen and be playable.

                                      for the purist it can be frustrating to cut the scene at the beginning..

                                      I don’t know. If you save after that scene and load your savestate the next time. It could be ok?

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

                                        @dteam said in Sega model 3 #segamodel3:

                                        @folly said in Sega model 3 #segamodel3:

                                        @mechafatnick said in Sega model 3 #segamodel3:
                                        

                                        I will have to take some time to process this information.

                                        @folly WIll people want to skip the initial boot sequence?

                                        Not for fun.
                                        I think they do want it, especially for lemans24, because it will take 1 minute to get the first good screen and be playable.

                                        for the purist it can be frustrating to cut the scene at the beginning..

                                        I don’t know. If you save after that scene and load your savestate the next time. It could be ok?

                                        Perhaps I am not clear, no scenes are cut.
                                        Only the menu saying it is "single" etc. and booting the rom that produces strange screens etc.

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

                                          @folly
                                          Ok, now i understand. Good idea!
                                          If you do that, can you set the good country to switch japanese to english when it’s available.

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

                                            @dteam said in Sega model 3 #segamodel3:

                                            @folly
                                            Ok, now i understand. Good idea!
                                            If you do that, can you set the good country to switch japanese to english when it’s available.

                                            👍

                                            We have to test, don't know.
                                            But I think that can work.

                                            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.