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

    mame2003-plus: hundreds of new games, improved input, features, new bugs - now with runahead support

    Scheduled Pinned Locked Moved Ideas and Development
    mame
    1.5k Posts 70 Posters 1.9m 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.
    • arcadez2003A
      arcadez2003
      last edited by arcadez2003

      Alright im not coming outta retirement just had some unfinished business namely some code sitting around which adds the proper M68705 MCU for both
      Renegade and Nekketsu Kouha Kunio-kun, problem was i could not suss out a way to workaround some incompatible code which sends a signal between
      the main CPU and the MCU so the games did not boot, so i drafted in dink of FBN dev fame since he wasn't too busy just now to take a look at the code
      and he sorted it all out in under two mins.

      So thanks to him you can now play both of these games in MAME2003+ safe in the knowledge they are no longer using buggy MCU simulation code
      and as such they can now be considered 100% faithfully emulated.....

      renegade.png

      kuniokun.png

      Funny enough although i dabble with this core i dont actually use it, but just incase someday i do decide to pick it up i added support for this wee game which i like,
      and since like the above games we now have a proper M68705 MCU dump for it, it's finally 100% emulated so no better time to add support for this quirky little number
      from the golden age of Taito....

      Rumba Lumber

      rumba.png

      Arcade Addict

      1 Reply Last reply Reply Quote 8
      • REK607R
        REK607
        last edited by

        Hello! I've been adding more and more sound/music to the games. Does Batsugun have full sound? I can only have it partially working, don't know why.

        B 1 Reply Last reply Reply Quote 0
        • B
          barbudreadmon @REK607
          last edited by barbudreadmon

          @REK607 iirc toaplan games got proper sound support only 2-3 years ago in MAME & FBNeo/FBAlpha, not sure @arcadez2003 backported this to mame2003+

          FBNeo developer - github - forum

          arcadez2003A 1 Reply Last reply Reply Quote 0
          • arcadez2003A
            arcadez2003
            last edited by

            The MAME2003 cores do not support the V25 varient of the NEC CPU which would be required along with a massive update of the Toaplan2 driver
            to have full sound and music for Batsugan, Dogyunn, FixEight, Knuckle Bash and V-Five, the workload and doubts around the compatibility of the code
            should we have attempted to backport it are the reasons why it was never attempted.

            As you noticed Batsugan and Knuckle Bash have some sound, this due to me adding support for simulated MSM6295 sound commands to the driver so at least you
            get the Sfx in those games where as they were totally silent previously, so that and adding working bootlegs of FixEight and Knuckle Bash both of which have full sound and
            music is at least making the best of a bad situation.

            Arcade Addict

            REK607R 1 Reply Last reply Reply Quote 0
            • REK607R
              REK607 @arcadez2003
              last edited by

              @arcadez2003 that's an excellent answer, now I understand. By the way, I'm really happy with the way all metal slugs are working on the emulator too, so pleased!

              arcadez2003A 1 Reply Last reply Reply Quote 0
              • arcadez2003A
                arcadez2003 @barbudreadmon
                last edited by arcadez2003

                @barbudreadmon said in mame2003-plus: hundreds of new games, improved input, features, new bugs - now with runahead support:

                @REK607 iirc toaplan games got proper sound support only 2-3 years ago in MAME & FBNeo/FBAlpha, not sure @arcadez2003 backported this to mame2003+

                Your thinking of the recent HD647180 sound MCU dumps, we did backport the ones for Fire Shark and Vimana adding full sound and music for those games to this core
                however we ran into some problems with Ghox and Teki Paki as they would not boot with the new MCU code, so we just ported across the ThunderMAME samples for
                both of those ones, so at least they would have sound and music should users have the samples in their set.

                Batsugun is a different matter entirely the sound was finally emulated in 2011 but we're missing the required CPU for this in the MAME2003 core..........

                16th January 2011: David Haywood - Alex Jackson added support for the extended V25/V35 features to the NEC V20/V30 core in MAME. These features (timers, memory-mapped register banking, custom interrupt controller) are used by the sound programs of several Toaplan titles. He then hooked things up properly in the driver, giving full sound to Batsugun. Batsugun has unencrypted sound code, so was the easiest one to get running. V-Five / Grindstormer, Fix Eight, Knuckle Bash and Dogyuun will also benefit from this once their sound code has been fully decrypted. This is just a matter of time and a bit of effort in figuring out the programs. For the remaining Toaplan games (Teki Paki, Vimana, Fire Shark, Ghox, Whoopee JPN version) the sound MCUs need decapping, which will require funding / donations for this purpose.

                Arcade Addict

                1 Reply Last reply Reply Quote 0
                • arcadez2003A
                  arcadez2003 @REK607
                  last edited by

                  @REK607 said in mame2003-plus: hundreds of new games, improved input, features, new bugs - now with runahead support:

                  @arcadez2003 that's an excellent answer, now I understand. By the way, I'm really happy with the way all metal slugs are working on the emulator too, so pleased!

                  Aye i like to fully explain the reasons why something cant be done :)

                  Sound for all the Toaplan games was on the target list, we managed to do most of em unfortunately due to code limitations we were unable to do them all.
                  Metal Slug's 4 and 5 were on the target list as well luckily we were able to get both of those to work Metal Slug 5 put up quite a fight though :)

                  Arcade Addict

                  1 Reply Last reply Reply Quote 3
                  • arcadez2003A
                    arcadez2003
                    last edited by arcadez2003

                    The protection schemes Toaplan adopted for some of their system 1 and 2 games was pretty secure, a v25 encrypted CPU using opcodes to hide the sound commands
                    or a fully protected HD647180 which securely stored not only the sound tracks but also the sound commands certainly kept the bootleggers at bay, as a result they only
                    managed to crack FixEight and Knuckle Bash ripping out the protection and using a Z80 to drive the sound instead.

                    I did keep an eye on the toaplan2 driver in MAME as new games are dumped everyday, maybe a bootleg or an unprotected version which similar to the above games
                    doesn't use the V25 might turn up for one of the games that currently doesn't have full sound in this core Batsugun for example, if that was the case it would be worth adding it down the road.

                    Arcade Addict

                    1 Reply Last reply Reply Quote 2
                    • G
                      GDEHON
                      last edited by

                      Hello,
                      I hope to be in the good place to expose my problem ...
                      I am French and I use the google translator given my "school English"
                      I have a arcade cabinet with rotating joysticks:
                      https://www.retroblast.com/reviews/joysticks/happrotary.html
                      I can only configure them on the keyboard
                      It worked on an older Recalbox version with mame078 / mame2003.
                      Currently on Batocera 5.25, impossible under mame2003 + to configure the rotate, impossible in the mame menu via retroarch to use the keyboard to configure the rotate !?
                      I added the mame078 emulator and my backups work ...
                      Is there a solution

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        barbudreadmon @GDEHON
                        last edited by

                        @GDEHON said in mame2003-plus: hundreds of new games, improved input, features, new bugs - now with runahead support:

                        I hope to be in the good place to expose my problem ...
                        ...
                        Currently on Batocera 5.25

                        No, obviously you aren't, ask support to the batocera guys.

                        FBNeo developer - github - forum

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

                          @GDEHON I dont know if the defaults for plus changed or are still the same from what im reading from your post your finding it imposible to map a key in the mame tab menu.

                          fist thing you need to do is make sure you enable mame tab menu
                          goto quick menu and select legacy mapping to on

                          next you need to accept input from the keyboard and joystick by default its joystick only
                          goto quick menu and set input interface to simultaneous (this selects keyboard and joystick)

                          please not mames default key set as z and x for rotary conflicts with retropad default mapping change it to something else in the tab menu and you should be good to go.

                          1 Reply Last reply Reply Quote 0
                          • G
                            GDEHON
                            last edited by

                            @grant2258
                            Thank's for your help

                            Yes i can't use keyboard in then mame menu in mame2003+
                            I open retroarch and i put "Display MAME menu" on enable and "Legacy Remapping (restart) on enable
                            When
                            When I get out of the retroarch menu, the Mame menu opens on the screen

                            I m not find where to accept keyboard and joystick input !? Where is it ? Retroarch menu ?

                            I can move in this menu with my joystick and keyboard arrows but i'cant use "keyboard enter" to select dial, (where there are z and x), i must push "X button" (via GPIO's RPi3b+) on arcade cabinet, after I can't select "[" & "]" (for rotate joystick), i can chose only a button 's arcade cabinet
                            I'm not undestand !

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

                              no the option for keyboard and joystick input is the same place where lecgacy remapping is.

                              The option your looking for is called input interface its just above legacy remapping in the options set it to simultaneous

                              1 Reply Last reply Reply Quote 0
                              • G
                                GDEHON
                                last edited by

                                @grant2258
                                Excellent
                                it works

                                thank you very much ... enormously much

                                1 Reply Last reply Reply Quote 1
                                • G
                                  GDEHON
                                  last edited by

                                  excuse me ... it's me again
                                  The games work but they are very fast !?
                                  Indeed if I compare the games via emulator mame2003 and mame2003+
                                  with mame2003+ they are very fast!
                                  Is there an adjustment to be made ?

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @GDEHON
                                    last edited by

                                    @GDEHON Did you press the fast forward button by mistake ?

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      GDEHON
                                      last edited by

                                      I do not think so
                                      where is this fast forward button

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @GDEHON
                                        last edited by

                                        @GDEHON It's bound to Spacebar by default in RetroArch - https://libretro.readthedocs.io/en/latest/guides/input-and-controls/#default-retroarch-keyboard-bindings

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          GDEHON
                                          last edited by GDEHON

                                          No, it is not that... but thank you
                                          I think I found it, it's the Frameskip option in Retroarch
                                          It is "0" in mame2003 and "5" in mame2003+ ... I set it to "0" in mame2003 + and it looks good
                                          Is that possible ? I don't know what "Frameskip" means

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

                                            you usually set that when games run slow it should be zero by default anyway!

                                            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.