• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

How do I find out MESS commandline options?

Scheduled Pinned Locked Moved Help and Support
apple2mess
11 Posts 2 Posters 890 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.
  • J
    JimmyFromTheBay
    last edited by JimmyFromTheBay 16 Jun 2024, 11:15

    I'm trying to play a game on the Apple 2 which has non-standard controls, which means that in lr-mess-apple2 I can't map the controls to the necessary keys without wrecking them for every other game.

    So I installed the "game-specific" version of the emulator via @Folly's brilliant script, and it works, except every time I load the game it boots to a monitor screen, so I have to go into the Tab menu, then go to BIOS Selection, then set System to Autostart Monitor and reboot.

    (Normally MESS remembers these settings if you change them, but for some reason it doesn't with this one.)

    I presume that can be fixed with a commandline option in EMULATORS.CFG, but how do I find out what the option is? It's an absolute nightmare trying to locate meaningful docs for MESS and it'd be great if there was some way to find this stuff out automatically without having to ask here every time I install a new system.

    (I tried comparing with the commandline for lr-mess-apple2, but the only difference was -gameio and when I tried adding that for lr-mess-apple2-game-specific-flop1 it crashed.)

    Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

    F 1 Reply Last reply 16 Jun 2024, 14:56 Reply Quote 0
    • F
      Folly @JimmyFromTheBay
      last edited by Folly 16 Jun 2024, 14:56

      @JimmyFromTheBay

      I am missing some info here but I expect you add a joystick every time from the mame UI, right?

      You found something about adding -gameio.
      Though this slot needs an extra option thats why it will crash if not added.
      When you list the apple2 slots from standalone mame with :

      pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listslots apple2
      SYSTEM           SLOT NAME        SLOT OPTIONS     SLOT DEVICE NAME
      ---------------- ---------------- ---------------- ----------------------------
      apple2           gameio           compeyes         Digital Vision ComputerEyes
                                        gizmo            HAL Labs Gizmo
                                        joy              Apple II analog joysticks
                                        joyport          Sirius JoyPort
                                        paddles          Apple II paddles
      

      You see what can be added.
      Try to add something like this :

      -gameio joy
      

      If it is something that should be loaded by default then let me know.
      Then I can add it to the script,most likely.

      J 1 Reply Last reply 16 Jun 2024, 15:56 Reply Quote 1
      • J
        JimmyFromTheBay @Folly
        last edited by JimmyFromTheBay 16 Jun 2024, 15:56

        @Folly Aha! That stopped it crashing, but it still boots into the monitor screen rather than loading the disk.

        Is there no command that lists all the available commandline options for a specific machine?

        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

        F 1 Reply Last reply 16 Jun 2024, 16:04 Reply Quote 0
        • F
          Folly @JimmyFromTheBay
          last edited by Folly 16 Jun 2024, 16:04

          @JimmyFromTheBay

          You talked about changing the bios, right.
          What kind of bios do you select in the mame UI ?

          Is it autostart ? :

          pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listbios apple2
          BIOS options for system Apple ][ (apple2):
              default          Original Monitor
              autostart        Autostart Monitor
          
          J 1 Reply Last reply 16 Jun 2024, 16:10 Reply Quote 0
          • J
            JimmyFromTheBay @Folly
            last edited by 16 Jun 2024, 16:10

            @Folly So this is the menu option:

            appl1.jpg

            This is what it defaults to:

            appl0.jpg

            And this is what I want:

            appl2.jpg

            Those are the only two choices.

            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

            F 2 Replies Last reply 16 Jun 2024, 16:11 Reply Quote 0
            • F
              Folly @JimmyFromTheBay
              last edited by Folly 16 Jun 2024, 16:11

              @JimmyFromTheBay

              Ok will check how to load autostart from the commandline.

              Just tried to add :

              -bios autostart
              

              That worked.

              Edit :
              So if you want to boot with autostart and add the joystick by default you need to add :

              -bios autostart -gameio joy
              
              1 Reply Last reply Reply Quote 1
              • F
                Folly @JimmyFromTheBay
                last edited by 16 Jun 2024, 16:23

                @JimmyFromTheBay

                You should read this section if you want to learn more about mame :
                https://docs.mamedev.org/commandline/commandline-all.html

                J 1 Reply Last reply 16 Jun 2024, 17:32 Reply Quote 1
                • J
                  JimmyFromTheBay @Folly
                  last edited by 16 Jun 2024, 17:32

                  @Folly Yeah, I got those from /opt/retropie/emulators/mame/mame -showusage, but they're all generic, nothing for specific cores, even if I added "apple2" before or after "-showusage".

                  Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                  F 1 Reply Last reply 16 Jun 2024, 17:46 Reply Quote 0
                  • F
                    Folly @JimmyFromTheBay
                    last edited by 16 Jun 2024, 17:46

                    @JimmyFromTheBay

                    You can also use this :
                    https://arcade.vastheman.com/minimaws/machine/apple2

                    You can use it for others too, just change apple2 into a good other driver.

                    J 1 Reply Last reply 16 Jun 2024, 18:16 Reply Quote 1
                    • J
                      JimmyFromTheBay @Folly
                      last edited by 16 Jun 2024, 18:16

                      @Folly Ooh, that's exactly what I wanted, cheers 🙂

                      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                      F 1 Reply Last reply 17 Jun 2024, 00:44 Reply Quote 0
                      • F
                        Folly @JimmyFromTheBay
                        last edited by 17 Jun 2024, 00:44

                        @JimmyFromTheBay

                        I added this to the script :
                        https://github.com/FollyMaddy/RetroPie-Share/commit/a01c5b7bec657fa1eacb86452a58d7c68e38c43c

                        1 Reply Last reply Reply Quote 1
                        11 out of 11
                        • First post
                          11/11
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received