Supermodel M3

This page uses content or is imported from the M3 abandoned Miraheze counterpart of this page. You can view the original authors of this page M3?action=history here.

== The Sinden Lightgun Wiki Has Moved ==

#### Please visit the new site: https://www.sindenwiki.org/wiki/Supermodel\_M3

Supermodel Emulates the Sega Model 3 arcade systems and is a free and open-source Sega Model 3 emulator written in C++.

## Downloads

### M3 Bezel pack

HERE

* If you have graphical issues with the bezel pack try changing QuadRendering to 0 in the ini file
* If the image is incorrectly centred on the screen make sure you have your scaling set to 100% in the Windows Display options.

## Launch Script

Batch file example text:

```
start "C:\<supermodel folder>\supermodel.exe" <rom name> -fullscreen

```

## 2 Player mode

As mentioned in the video this Emulator relies on raw input ID's for setting 2 player,

To set up 2 guns you will need to know the guns Windows IDs, and add them manually to the supermodel ni file.

### Use SindenRemap app to get gun ID's

This tool can help you do this process **automatically**: Sinden Remap

Extract to your Supermodel folder, Run **SindenRemap.exe** and follow the on-screen instructions (Plug the guns in order).

You can re-run this tool every time you disconnect/re-connect your guns to update the ID values in Supermodel, if necessary.

### Manually configure gun ID's

If you want to do the changes **manually**, finding these ID's can be awkward but a good way to do so is use the arcade guns utility.

You can download it HERE

Once downloaded if you click on the utilities tab you can see the order of your mouse input devices like bellow: (thanks to tvsurfer for this tip)

 File:Arcade Guns Pro Utility Utilities Controllers Micem.jpg

Once you have the ID for your Sinden Guns (for example **3** and **4**) modify your **Supermodel.ini** accordingly:

```
; Light guns (Lost World)
InputGunX = "MOUSE3\_XAXIS,JOY1\_XAXIS"
InputGunY = "MOUSE3\_YAXIS,JOY1\_YAXIS"
InputTrigger = "KEY\_A,JOY1\_BUTTON1,MOUSE3\_LEFT\_BUTTON"
InputOffscreen = "KEY\_S,JOY1\_BUTTON2,MOUSE3\_RIGHT\_BUTTON"

InputGunX2 = "MOUSE4\_XAXIS,JOY2\_XAXIS"
InputGunY2 = "MOUSE4\_YAXIS,JOY2\_YAXIS"
InputTrigger2 = "KEY\_A,JOY1\_BUTTON1,MOUSE4\_LEFT\_BUTTON"
InputOffscreen2 = "KEY\_S,JOY1\_BUTTON2,MOUSE4\_RIGHT\_BUTTON"

; Analog guns (Ocean Hunter, LA Machineguns)
InputAnalogGunX = "MOUSE3\_XAXIS,JOY1\_XAXIS"
InputAnalogGunY = "MOUSE3\_YAXIS,JOY1\_YAXIS"
InputAnalogTriggerLeft = "KEY\_A,JOY1\_BUTTON1,MOUSE3\_LEFT\_BUTTON"
InputAnalogTriggerRight = "KEY\_S,JOY1\_BUTTON2,MOUSE3\_RIGHT\_BUTTON"

InputAnalogGunX2 = "MOUSE4\_XAXIS,JOY2\_XAXIS"
InputAnalogGunY2 = "MOUSE4\_YAXIS,JOY2\_YAXIS"
InputAnalogTriggerLeft2 = "KEY\_C,JOY1\_BUTTON1,MOUSE4\_LEFT\_BUTTON"
InputAnalogTriggerRight2 = "KEY\_D,JOY1\_BUTTON2,MOUSE4\_RIGHT\_BUTTON"

```

### Correct Games.xml file

Also for 2 player you need to **correct a error in the Games.xml** that gets generated when you install. Find **lostwsga** & **lostwsgo** & change:

```
<input type="analog\_gun1" />

<input type="analog\_gun2" />

```
to

```
<input type ="gun1" />

<input type="gun2" />

```

### Additional CMD line parameter

For 2 players you also need to add a parameter to the supermodel.exe CMD line:

**-input-system=rawinput**

* For example:
```
"C:\<supermodel dir>\supermodel.exe" <romname> -fullscreen -input-system=rawinput

```

## Using Reshade for borders

Some people have issues getting the Sinden border up for this emulator, If you are one of those people don't worry there is a work around!

You can use reshade (available for download HERE).

Its very easy to use but if you are unsure how to get it to work you can watch Titch's tutorial video on it Here

When launching reshade, chose supermodel.exe as the game, and set the rendering API to OpenGL. Then select SWEETFX and border.fx.

You then launch the M3 emulator and press the home button to configure the reshade border.

## Game Specific Notes

### Country Menu Code (Each game is different)

(Start is Player 1 start button)
Enter **GAME ASSIGNMENTS**
**P1, P2, P1, P2, P1, P2, P2**
Select country
**SHORT, SHORT, SHORT, LONG, LONG, SHORT, SHORT, LONG.**

### Star Wars Trilogy : How to make lightgun (joystick) orientation the right way in all stages (shooting and lightsaber)

*Credit : DarylWise -Supermodel3.com forums*

**I suggest you use a separate Supermodel folder for this as LA Machineguns use the same controls** *(to be verified)*

Star Wars Trilogy uses the InputAnalogJoyX and InputAnalogJoyY controls in Supermodel.ini

* After setting up your controls, open Supermodel.ini (located in Config folder) with notepad.

* Look for *InputAnalogJoyX = "MOUSE#\_XAXIS"* and *InputAnalogJoyY = "MOUSE#\_YAXIS"* (where # is the number of your mouse input, keep as is)
	+ Edit the lines to :
	+ InputAnalogJoyX = "MOUSE#\_XAXIS\_INV"
	+ InputAnalogJoyY = "MOUSE#\_YAXIS\_INV"

* Start the game
	+ Enter *Test mode*
	+ Choose *Calibration test*
	+ Change *Lever setting* from *up ->up, down->down* to *up->down, down->up*
	+ Back out of *Calibration test*
	+ Go to *Game Assignements*
	+ Change *Cabinet type* to *"U/R"*

* Test it and have fun!