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

    lr-mame2003 driver improvement and backport

    Scheduled Pinned Locked Moved Ideas and Development
    mame2003mame-libretrodriverbackport
    507 Posts 30 Posters 276.8k 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.
    • G
      grant2258 Banned @Riverstorm
      last edited by

      @riverstorm said in lr-mame2003 driver improvement and backport:

      @grant2258 said in lr-mame2003 driver improvement and backport:

      @riverstorm the changes to the timing are in mame2003 are the issues with the games present in mame2003 and mame2003-plus or just one

      Sorry you mean the games listed above are they having the same issues in both lr-mame2003 and mame2003_plus?

      sorry should have specified

      Arkanoid (US) (arkanoiu) - Player 2 flipped upside down (vertically)
      Dragon Spirit (dspirit) - Player 2 filled upside down (vertically)
      Kick (kick) - Player 1 and 2 only flip horizontally (lays on left and right side)
      D.D. Crew (ddcrew) - Crashes black screen
      Pig Newton (pignewt) - Crashes black screen

      RiverstormR 1 Reply Last reply Reply Quote 0
      • RiverstormR
        Riverstorm @grant2258
        last edited by

        @grant2258 said in lr-mame2003 driver improvement and backport:

        sorry should have specified

        You want me to test these in lr-mame2003 and see if they do the same in both emulators?

        1 Reply Last reply Reply Quote 0
        • G
          grant2258 Banned
          last edited by

          just want to see if its somethign we broke am going to work in a few minutes. Ill look into them two games that arent working at all as well an see why there not loading

          RiverstormR 1 Reply Last reply Reply Quote 0
          • markwkiddM
            markwkidd
            last edited by

            (mame2003-plus should start building again now once folks update RetroPie-Setup)

            1 Reply Last reply Reply Quote 0
            • RiverstormR
              Riverstorm @grant2258
              last edited by

              @grant2258 said in lr-mame2003 driver improvement and backport:

              just want to see if its somethign we broke am going to work in a few minutes. Ill look into them two games that arent working at all as well an see why there not loading

              Ok will test both emulators here in a bit and let you know.

              G 1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned @Riverstorm
                last edited by

                @riverstorm said in lr-mame2003 driver improvement and backport:

                @grant2258 said in lr-mame2003 driver improvement and backport:

                just want to see if its somethign we broke am going to work in a few minutes. Ill look into them two games that arent working at all as well an see why there not loading

                Ok will test both emulators here in a bit and let you know.

                i went into service mode in dragon spirit an activated the flip it cocktail mode being active on that game might be the same for the rest but am leaving for work now. Its just doing a cocktail flip for p2

                RiverstormR 2 Replies Last reply Reply Quote 0
                • RiverstormR
                  Riverstorm @grant2258
                  last edited by

                  @grant2258 said in lr-mame2003 driver improvement and backport:

                  i went into service mode in dragon spirit an activated the flip it cocktail mode being active on that game might be the same for the rest but am leaving for work now. Its just doing a cocktail flip for p2

                  Shoot, ok I never tried service mode. Will check Dragon Spirit tonight.

                  Arkanoid (US) (arkanoiu) - Player 2 flipped upside down (vertically)

                  Dragon Spirit (dspirit) - Player 2 filled upside down (vertically)

                  Kick (kick) - Player 1 and 2 only flip horizontally (lays on left and right side)

                  D.D. Crew (ddcrew) - Crashes black screen

                  Pig Newton (pignewt) - Crashes black screen of them do the sa

                  All these games are the same in both emulators.

                  Arkanoid (World) (arkanoid) does work correctly with defaults for player 2. Arkanoid (US) (arkanoiu) does not work with defaults. Maybe a code paste or something simple.

                  Kick (Upright) (kick) seems like it expects the monitor to be rotated 90 degrees but also the writing is written backwards on screen.

                  D.D. Crew is a great 4 player fighter side scrolling game. There's not enough 3 and 4 player games.

                  Pig Newton is a cheesy little game but still kind of fun.

                  1 Reply Last reply Reply Quote 0
                  • RiverstormR
                    Riverstorm
                    last edited by

                    @grant2258 - It might be irrelevant being a different emulator altogether but all these seem to work correctly in AdvMAME.

                    1 Reply Last reply Reply Quote 0
                    • RiverstormR
                      Riverstorm
                      last edited by Riverstorm

                      Something seems off or the settings are not taking effect. They are located in /opt/retropie/configs/all/retroarch-core-options.cfg. The settings I used for each emulator are listed below with screenshots. Quite different. I tried matching the settings where possible. Also I see no flicker with mame2003_plus.

                      mame2003_plus settings I used:

                      mame2003-plus-vector-resolution-multiplier = "1"
                      mame2003-plus-vector-antialias = "enabled"
                      mame2003-plus-vector-translucency = "enabled"
                      mame2003-plus-vector-beam-width = "1"
                      mame2003-plus-vector-flicker = "10"
                      mame2003-plus-vector-intensity = "2.5"
                      

                      0_1523911617416_tempest.jpg

                      AdvMAME settings I used:

                      vector/display_resizeeffect filter
                      vector/display_rgbeffect triad3dot
                      vector/display_scanlines no
                      vector/display_antialias yes
                      vector/display_beam 1.2
                      vector/display_flicker 10
                      vector/display_translucency yes
                      vector/display_intensity 2.5
                      

                      0_1523911652328_tempesta.jpg

                      1 Reply Last reply Reply Quote 0
                      • RiverstormR
                        Riverstorm @grant2258
                        last edited by

                        @grant2258 said in lr-mame2003 driver improvement and backport:

                        i went into service mode in dragon spirit an activated the flip it cocktail mode being active on that game might be the same for the rest but am leaving for work now. Its just doing a cocktail flip for p2

                        This worked for you? When I went into service mode by default 'Flip' is set to off. When I turned it on Player 1 was flipped upside down and Player 2 was correct. This options seems to compensate for if you mounted the monitor in the cab incorrectly or something.

                        Arkanoid (US) (arkanoiu) the same thing it just flips the monitor for P1 and P2.

                        Kick has options but I couldn't get access them once at the service menu.

                        G 2 Replies Last reply Reply Quote 0
                        • G
                          grant2258 Banned @Riverstorm
                          last edited by

                          @riverstorm said in lr-mame2003 driver improvement and backport:

                          @grant2258 said in lr-mame2003 driver improvement and backport:

                          i went into service mode in dragon spirit an activated the flip it cocktail mode being active on that game might be the same for the rest but am leaving for work now. Its just doing a cocktail flip for p2

                          This worked for you? When I went into service mode by default 'Flip' is set to off. When I turned it on Player 1 was flipped upside down and Player 2 was correct. This options seems to compensate for if you mounted the monitor in the cab incorrectly or something.

                          Arkanoid (US) (arkanoiu) the same thing it just flips the monitor for P1 and P2.

                          Kick has options but I couldn't get access them once at the service menu.

                          This tells me its cocktail mode kicking in i dont see any dip switch settings for it. Ill need to check the driver .I did have the cocktail flip not working added to the xml dat must have been removed its not really needed anyway can check manually. WIll do this after i catch some zzzs. Then ill check them two games that arent loading and try see whats going on

                          1 Reply Last reply Reply Quote 0
                          • G
                            grant2258 Banned @Riverstorm
                            last edited by grant2258

                            @riverstorm said in lr-mame2003 driver improvement and backport:

                            @grant2258 said in lr-mame2003 driver improvement and backport:

                            i went into service mode in dragon spirit an activated the flip it cocktail mode being active on that game might be the same for the rest but am leaving for work now. Its just doing a cocktail flip for p2

                            This worked for you? When I went into service mode by default 'Flip' is set to off. When I turned it on Player 1 was flipped upside down and Player 2 was correct. This options seems to compensate for if you mounted the monitor in the cab incorrectly or something.

                            Arkanoid (US) (arkanoiu) the same thing it just flips the monitor for P1 and P2.

                            Kick has options but I couldn't get access them once at the service menu.

                            Sorry im never very clear when i explain things sorry about that i was just saying its set to cocktail mode

                            goto the service menu dip switch put it on
                            reset the game
                            change type to b
                            turn service mode off (make sure you dont change the setting when in the menu on the dipswitch to put service mode off). I personally just use the service button and press reset instead of the dipwitch

                            the point where you turn service mode off is when it saves the nvram so dont reset to get out of the service menu

                            you should be good to go. This is

                            going to have to be set per user people with cocktail cabs wont be happy is this is set wrong by default.

                            again for kick you need to turn service mode on -> reset turn off it will be good.

                            ddcrew driver does need fix its broke in mame078 as well and marked as not working

                            pignewt
                            cpu.u25 NOT FOUND (NO GOOD DUMP KNOWN)
                            WARNING: the game might not run correctly.

                            need to see if there is a good dump for this rom this fix will only apply plus as we cant mess with the 078 set in mame2003

                            had a look at the source I can fix this for both newronpig sets but i dont wanna dance the baddump nodump issues again with you. Its the way the latest mame is doing it too. The fix is to use the bad dumps available and see if it works.

                            @markwkidd will the disable rotation in retroarch fix these issues

                            1 Reply Last reply Reply Quote 0
                            • RiverstormR
                              Riverstorm
                              last edited by

                              @grant2258 - Thanks for the instructions I will test this out. I am not sure I would have figured that out how to flip them.

                              Do the same instructions work for both Arkanoid and Dragon Spirit?

                              Do you want me to create an issue on Github for each game that doesn't work properly so you may document on a per game basis or do you prefer them in small lists or something else? I figured if they are documented even if they don't get fixed or it takes a while it's alright. I am ok creating a ticket for each if it's preferred.

                              I agree I know they substitute 'Bad Dumps' for 'No Dumps' to get games up and running. Sometimes they substitute so many ROMs it's a different game...it's like is it man or machine! To merge or not to merge that is the question! As John Lennon said...let it be! ;)

                              1 Reply Last reply Reply Quote 0
                              • RiverstormR
                                Riverstorm
                                last edited by

                                Ok Dragon Spirit that worked perfect but Kick I can't figure out still. Here's a pic of what Kick looks in Service Mode (the screen is flipped as in the writing is backwards and also it's on it's side) and I can't get any response from any keys once in Service Mode. It's easier to read if you tilt your head sideways. :)

                                0_1523980690395_kick.jpg

                                1 Reply Last reply Reply Quote 0
                                • RiverstormR
                                  Riverstorm
                                  last edited by

                                  Also Arkanoid I can't seem to figure out either. Dip Switches are either Low or High but none seem related to the screen.

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned @Riverstorm
                                    last edited by grant2258

                                    @riverstorm said in lr-mame2003 driver improvement and backport:

                                    Also Arkanoid I can't seem to figure out either. Dip Switches are either Low or High but none seem related to the screen.

                                    both cores are going through some updates in the retroarch side. I will look into this more when the code base stabalises. What system are you using for your test. Retroach/ rertopie x64 x86 or the pie. I get a feeling something does need fixed on kick to be honest.

                                    use kicka is working

                                    GAME( 1981, kick, 0, mcr1, kick, kick, ORIENTATION_SWAP_XY, "Midway", "Kick (upright)" )
                                    i think that is causing it

                                    RiverstormR 1 Reply Last reply Reply Quote 0
                                    • RiverstormR
                                      Riverstorm @grant2258
                                      last edited by

                                      @grant2258 said in lr-mame2003 driver improvement and backport:

                                      both cores are going through some updates in the retroarch side. I will look into this more when the code base stabalises. What system are you using for your test. Retroach/ rertopie x64 x86 or the pie. I get a feeling something does need fixed on kick to be honest

                                      It's a Raspberry Pi 3 (ARMv7 64-bit) running RetroPie 4.3 (Raspbian 32-bit). It's the "Raspberry Pi 2/3" image from the download section. Well the old one not Stretch.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        grant2258 Banned
                                        last edited by grant2258

                                        @Riverstorm i will look into these games some info for you is here

                                        http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Board=mamechat&Number=145413&page=0&view=expanded&sb=5&o=&vc=1

                                        the ones that flip for player two is just cocktail flips though

                                        RiverstormR 1 Reply Last reply Reply Quote 0
                                        • G
                                          grant2258 Banned
                                          last edited by grant2258

                                          @markwkidd I think this bug is related to the vector problems as well

                                          please look at

                                          window/config.c in the original mame078 source

                                          int cli_frontend_init (int argc, char **argv) line 397

                                          1 Reply Last reply Reply Quote 0
                                          • RiverstormR
                                            Riverstorm @grant2258
                                            last edited by

                                            @grant2258 said in lr-mame2003 driver improvement and backport:

                                            the ones that flip for player two is just cocktail flips though

                                            That was interesting I guess I never thought about flipping the y axis with a mirror, you can't. In this area cocktail setups were popular in bars and bowling alleys. :)

                                            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.