Skip to content

Patch the Neo Geo releases by Dotemu to allow for controller button remapping

License

Notifications You must be signed in to change notification settings

matthewjustice/neomap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neomap

Neomap allows you to remap your controller buttons on Dotemu's ports of Neo Geo games for Windows.

Getting Started

Here we'll cover what you need to use neomap.

Introduction

Neomap applies to various Dotemu releases of Neo Geo games for Windows. The problem it addresses: these games don't include a way to remap your controller buttons; the mapping are hard-coded. The fix: neomap works by modifying the button mapping within the game's executable code. Neomap doesn't change the original exe file on disk; it creates a new exe with updated code.

Identifying a Game to Update

First, you need one of the games in question, one of the Dotemu-released PC ports of classic Neo Geo titles. These have been included with the Humble NEOGEO 25th Anniversary Bundle (in 2015), as separate titles on GOG (since 2017), and most recently as a free giveaway to Amazon Twitch Prime members (in 2020).

These patches do not apply to (nor are they needed for) the Steam releases of Neo Geo games, such as the Code Mystics port of Garou: Mark of the Wolves.

To update your game, you need to find the executable file (*.exe file). By default, on 64-bit Windows, these games install to one of the following locations:

  • C:\Program Files (x86)\NeoGeo 25th Anniversery (Humble Bundle releases)
  • C:\GOG Games (GOG releases)
  • C:\Amazon Games\Library (Amazon Twitch releases)

For example, if you have King of Fighters 2002, the exe file you need to update will probably be in one of these locations, depending on the version of the game (Humble, GOG, or Amazon):

  • C:\Program Files (x86)\NeoGeo 25th Anniversery\KingOfFighters2002\KingOfFighters2002.exe
  • C:\GOG Games\The King of Fighters 2002\KingOfFighters2002.exe
  • C:\Amazon Games\Library\The King of Fighters 2002\KingOfFighters2002.exe

Determine Your Desired Button Mapping

Assuming you are using an Xbox controller, let's say you want to map your Xbox buttons to the virtual Neo Geo buttons like so:

  • Xbox X button is mapped to Neo Geo A button
  • Xbox A button is mapped to Neo Geo B button
  • Xbox Y button is mapped to Neo Geo C button
  • Xbox B button is mapped to Neo Geo D button

Your button mapping configuration, for the above example, will be X A Y B. This reflects the Xbox buttons you want to use for Neo Geo buttons A, B, C, and D, in that order.

How to Update a Game

Once you know the location of the executable file for your game and your desired button mapping, you can update the game.

  1. Download the latest version of neomap, packaged as a zip file.
  2. Extract the zip file contents, for example to c:\temp\neomap.exe.
  3. Open a command prompt window. NOTE: You may need to run as administrator to update games under Program Files.
  4. Change directories to the folder from step 2. For example:
    C:\>cd \temp
    
  5. Run neomap.exe, specifying your preferred button layout and the path to the game's exe file. The path to the exe file should be in quotes if there are spaces in the path. For example:
    C:\temp\>neomap.exe X A Y B "C:\GOG Games\The King of Fighters 2002\KingOfFighters2002.exe"
    
  6. Expect to see output like the following:
    Writing patched file to "C:\GOG Games\The King of Fighters 2002\KingOfFighters2002-remap-1591274072.exe"
    File written successfully.
    
  7. The original game exe file will be unmodified. To play the patched version with remapped buttons, run the exe file mentioned in the previous step (KingOfFighters2002-remap-1591274072.exe in the example given).
  8. Once you are satisfied that the updated version works, you can back up your original, unmodified exe file, and replace it with the modified version. This is optional.
  9. If running neomap.exe gave you access denied errors, try again from an elevated command prompt (run as administrator).
  10. Neomap hasn't been tested against every version of every Dotemu Neo Geo game, so there may be some games that it can't update. In those case, please file an issue.

Disclaimer

Neomap hasn't been extensively tested. It was written as a fun side-project and made available in hopes of helping others who want to remap their buttons. By running it on your system, you assume any associated risk!

Developer Information

neomap is currently intended for Windows only.

To build neomap:

  1. Download Go and install.
  2. Run with: go run neomap.go
  3. Build 32-bit:
    set GOARCH=386
    go build neomap.go
    

Built With

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Patch the Neo Geo releases by Dotemu to allow for controller button remapping

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages