violentsingalong Posted August 8, 2017 Posted August 8, 2017 Hello, All. I've created an AutoHotKey script that creates an arcade-like overlay for PC games. Some fighting games on PC (e.g. Ultimate Marvel Vs. Capcom 3, Mortal Kombat X) do not have an arcade version available to us. Everything is explained on the GitHub page I started for the script: https://github.com/violentsingalong/InsertCoins InsertCoins The purpose of this script is to emulate arcade coin-op functionality in PC games. It's accomplished using an AHK script and some .wav files, which I'll explain below. Introduction: First, you'll need AHK installed to run this script. The latest stable version can be downloaded from here: https://autohotkey.com/download/1.1/ A few things before I explain the functionality: Before piecing together this script, I'd only ever used AHK for remapping keys I did get some of the code from the internet. I didn't write the entire thing from scratch, but did write the credit and start functions myself I'm sure there is a lot of room for improvement in the code. I welcome feedback and advice. I realize there is potential for abuse here, but not really more than the coin-op emulation in place in other emulators (i.e. MAME) Information about the script: This script supports 2 players. Sounds are played upon pressing "credit" and "start". Input is blocked and "Insert Coin(s)" is displayed when 0 credits are present for either player. [continued on GitHub] Other thoughts: Some PC games require Joystick input. This can be remapped/configured through editing the script if you read up on AHK. Most fighting games on PC support pressing another key to "select a fighter" or "continue". I haven't put much thought into addressing this behavior, but it could be addressed game-by-game through the remapping and key assignment in the AHK script. I'm happy to assist anyone customize the script if they can explain the game's behavior, key mappings, and desired end result. Wish list (what I need YOUR help with): Script optimizations (how can we make this script DRY-er?, more features, etc.) Replace "Insert Coin(s)", "Credits:", and 0-9 characters with stylized PNG files rather than using a font. Game-specific sounds (perhaps based on AHK window titles?) insertcoins v0.6.zip
griffin518 Posted August 9, 2017 Posted August 9, 2017 Wow... sounds interesting. Do you have a screenshot? I'll try and check it out tonight. Download my RocketLauncher bezels: http://hyperspin-fe.com/files/file/14367-griffin518s-bezel-depot/ Best of MAME HyperSpin XML: http://www.hyperspin-fe.com/files/file/11710-griffin518s-best-of-mame-xml-database/ Best of MAME bezel pack: http://www.hyperspin-fe.com/files/file/11711-griffin518s-best-of-mame-bezel-pack/ Custom MAME ini files w/HLSL settings: http://www.hyperspin-fe.com/files/file/11712-griffin518s-best-of-mame-mameuifx-ini-files/
violentsingalong Posted August 9, 2017 Author Posted August 9, 2017 That probably would have been useful. Unfortunately I'm at work and don't have access to take a screenshot. Let me know what you think after testing.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.