2

Using Internet Arcade, The Internet Archive's online MAME emulator, how can I access the device mapping menu so that I can enable alternate controls? In particular, I am looking to enable mouse input.

In other MAME platforms, this is done prior to opening a game. Is this possible in browser/Javascript versions of MAME?

1
  • According to the Internet Arcade link, it uses JSMAME, part of the JSMESS software package. Commented Oct 11, 2023 at 14:54

1 Answer 1

2

From Alexander Pruss's blog post, edited to only provide mouse support:

To add mouse support, first, go to a game, but don't click the start button.

Then put the following into the URL bar and press enter:

javascript:MAMELoader.extraArgs=(z)=>({extra_mame_args:['-mouse']});AJS.emulate()

(Note that Chrome will not let you past the "javascript:" prefix into the URL bar. You can copy and paste the rest, but you have to type "javascript:" manually.) The game will start, and the mouse will be enabled. You can add other MAME options if you like.

You can also turn this into a bookmarklet by pasting the same line into the URL field of a bookmark.

2
  • 1
    Drag the link to the bookmark bar doesn't work for me, very likely because the link includes https://. Rel. Add a bookmarklet in Google Chrome. I don't think that the Stacks Editor allows adding links having other protocols than http:// and https://. If you want to confirm this, I suggest you ask on Meta Stack Exchange. Commented Oct 11, 2023 at 14:49
  • I just edited the answer to direct people to instead create their own bookmarklet. Commented Oct 12, 2023 at 15:03

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.