Skip to content

A simple console utility program for finding lightgun mouse/keyboard id and updating Supermodel.ini for Sega Model 3 Emulator

Notifications You must be signed in to change notification settings

Patrix9999/SindenM3Remap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

NOTE! this utility only works if emulator uses RawInput API.

This project is a simple console program that aims to automate the updating of lightgun ids in Sega Model 3 emulator. It does this by updating the Supermodel.ini file with new configuration.

You can pass two parameters to the program: --gun1 is required, while --gun2 is optional. The program requires from the user to pass vendor id and product id of the lightgun, you can retrieve those by using Arcade Guns Pro Utility.

The best recommended use case for this utiltiy is to run each time when you start a game via LaunchBox and Bulk Add/Remove Additional Applications addon.

Limitations

Currently, the lightgun configuration is hardcoded inside the source code, if you want to personalize it, you need edit the source code and recompile the program.
I know that this isn't ideal, especially when you want to include your own configuration, but for now it is what it is.

Installation

Simply copy the SindenM3Remap.exe into root folder of the SegaM3 emulator, example path: Your/Path/To/SegaM3/SindenM3Remap.exe.
You can download the precompiled version of this program from releases page.

Usage example

cmd.exe

SindenM3Remap.exe --gun1 "VID:16C0 PID:0F38" --gun2 "VID:16C0 PID:0F39"

powershell

./SindenM3Remap --gun1 "VID:16C0 PID:0F38" --gun2 "VID:16C0 PID:0F39"

Building

To build this utility, you only need this software:

  • Visual Studio (at least 2019, make sure to install C++ Workload and CMake Tools for Visual Studio)

After having IDE installed, simply open up the folder cloned repository folder and build the project.
The executable file can be located in out/build/CONFIGURATION/ subdirectory.

About

A simple console utility program for finding lightgun mouse/keyboard id and updating Supermodel.ini for Sega Model 3 Emulator

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published