It took me a while to find a solution, but finally I managed to inject options into the underlying MAME emulator and thereby fix both problems:
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','-keepaspect']});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. Indeed, you can just drag this to your bookmark bar: Emularity Mouse .
There is still a minor aspect ratio problem. If you go to fullscreen and go back to windowed view, the aspect ratio will be bad in windowed mode.
I also made an unreleased Chrome extension that automatically applies this and other controller tweaks to Internet Arcade games: https://github.com/arpruss/arcade-tweaks
ReplyDeleteYou'll want to edit tweaks.js to make it do what you want.
Dr. Pruss, could I make a (somewhat random) request? Given that you're both extremely computer-literate and interested in philosophy of mind, would you consider sharing your thoughts about the implications of AI-generated art and text for philosophy of mind? I know I'm starved for a non-functionalist perspective on the issue that takes the weird times we're living through seriously.
ReplyDelete