Difference between revisions of "Demul"

From Sinden Lightgun
Jump to navigation Jump to search
m
 
(46 intermediate revisions by 4 users not shown)
Line 9: Line 9:
 
|note =
 
|note =
 
}}  
 
}}  
DEmul is a closed-source emulator for Sega Dreamcast and arcade boards of Sega NAOMI and follow-up variants, including the NAOMI, Atomiswave, Hikaru, Gaelco, NAOMI 2, System SP (Aurora), and a couple of Cave CV1000 systems.
+
'''DEmul''' is a closed-source emulator for ''Sega Dreamcast'' and multiple arcade-based systems including ''Sega NAOMI'', ''Sega NAOMI 2'', ''Sega Hikaru'', and ''Sammy Atomiswave''. Other system are also supported that include other SuperH or PowerVR 2-based systems.
<br>
 
  
==Downloads==
+
== Downloads ==
===Reshade===
 
Download Reshade from the [https://www.reshade.me/ Reshade website]
 
  
===No Mousy===
+
=== DEmul ===
Download noumousy from [https://drive.google.com/file/d/1NF000s2SaNB-qvDDJOOnZgdzXcybbhaW/view?usp=sharing Google Drive]
+
[http://www.demul.emulation64.com/ Official DEmul website]
  
===Bezels===
+
[http://www.demul.emulation64.com/files/demul07_280418.7z DEmul v0.7 280418]*
Download Bezel Pack from [https://www.mediafire.com/file/p6suz1eg7rmkwa6/Sinden+Demul+Bezel+Pack+v2.6.rar/file Mediafire]
+
 
 +
<nowiki>*</nowiki><small>This is the latest version of DEmul that is supported by DemulShooter.</small>
  
== Setup Guide for Atomiswave Games ==
+
=== [[Demulshooter|DemulShooter]] ===
Download and extract Demul from the official site.
+
[https://github.com/argonlefou/DemulShooter/releases/ DemulShooter] - latest releases for DemulShooter.
  
Copy your Atomiswave game ROMs and Bios files to the ROMs folder within the Demul folder.
+
[https://github.com/argonlefou/DemulShooter/wiki/Demul DemulShooter Wiki] - GitHub wiki detailing how to use DemulShooter with DEmul.
  
Next load the Demul Executable and it should auto start a config wizzard.
+
===[[Nomousy]]===
 +
[https://drive.google.com/file/d/1NF000s2SaNB-qvDDJOOnZgdzXcybbhaW/view?usp=sharing nomousy] - Required to hide the mouse cursor during gameplay.
  
You will need to set the video and sound plugins to suit your system.
+
===[[Reshade|ReShade]]===
 +
[https://reshade.me/#download ReShade] - Required to implement a builtin border or bezel within the emulator or game itself.
  
The GD-Rom plugin should be set to gdrCHD
+
===Bezels===
 +
[https://www.mediafire.com/file/p6suz1eg7rmkwa6/Sinden+Demul+Bezel+Pack+v2.6.rar/file Bezel Pack] - Includes white-bordered bezels for use with DEmul and the Sinden Lightguns.
  
Next point the Plugins, Roms and NVRAM paths to the correct folders on your system (usually in the demul main directory)
+
== Setup Guide  ==
  
 +
=== Initial Setup ===
  
Next you can adjust the video settings, to do this simply go to the top menu and select config then video.
+
* Extract the contents of the DEmul compressed file to an appropriate folder (i.e. "DEmul")
 +
* Run "demul.exe" and it should state "BIOS & Plugins not configured"
 +
* Click "OK" and you'll be taken to the "Plugins, Maple & Paths' dialog box.
 +
* "Roms and Bioses Paths" drop-down menu should contain all the paths to the ROMs and the BIOSes for the games you wish to run.
  
In here you can toggle "start in fullscreen" although its best to leave this off until after you are fully setup.
+
[[File:Demul - Setup - Roms and Bioses Paths.png|Example of paths sorted by machine (i.e. Atomiswave, Hikaru, Naomi, and Naomi 2).|alt=|thumb|none]]
  
Aspect ratio set to 16:9
+
* The "Plugins Path" and "Nvram Path" should both be set by default to the sub folders within your DEmul folder.
 +
* Leave all other settings as default.
 +
* Click "OK" and you should be brought to the main DEmul window.
 +
=== Video Settings ===
 +
From the menubar select "Config" and then "Video".
 +
[[File:Demul - Setup - Video - 1.png|alt=DEmul "Config" menu item with "Video" highlighted|none|thumb]]
 +
Check your settings to match below:
 +
* '''Window resolution:''' 1920x1080
 +
<small>Note: other resolutions will be supported with next update to Sinden Loader AHK script.</small>
 +
* ☑ '''Start in Fullscreen'''
 +
<small>Note: Sinden Loader AHK script automatically unticks this setting for Hikaru games.</small>
 +
* '''Aspect Ratio:''' 4:3
 +
* ☑ '''Linear Filter'''
 +
* '''Max layers:''' 8
 +
* ☑ '''Naomi 2 Thread'''
 +
* ☑ '''Disable Opaque Modifier'''
 +
* ☑ '''Disable Translucent Modifier'''
 +
[[File:Demul - Setup - Video - 2.png|alt=Demul Config Video Window with settings matching written guide.|none|thumb]]
  
Click the tick boxes next to "linear filter" "naomi 2 thread" "disable opaque modifier" and "disable translucent modifier"
+
=== Sound Settings ===
 +
From the top menu, select "Config" then "Sound"
 +
[[File:Demul - Setup - Sound - 1.png|alt=DEmul "Config" menu item with "Sound" highlighted.|none|thumb]]
 +
Check your settings to match below:
  
Set the max layers to 8.
+
* ☑ '''Disable DSP'''
 +
* '''Buffer size:''' 4096
 +
<small>Note: If you're experience issues with sound try adjusting the buffer size.</small>
 +
[[File:Demul - Setup - Sound - 2.png|alt=Demul Config Sound window with settings matching written guide.|none|thumb]]
  
 +
=== Two Players ===
 +
To play with two Sinden lightguns you will need DemulShooter. Please refer to the [[Demulshooter|DemulShooter]] page with instructions on how to set it up.
  
To adjust the sound settings go to the top menu, select "config" then "sound".
+
=== Border ===
 +
When running a Hikaru machine with DEmul it doesn't fullscreen correctly with the right aspect ratio. A script has been provided to overcome this bug and will use both ReShade and the Bezel Pack so you can run all machines with bezels.
  
The recommended setting is to check "disable DSP" and set the buffer to 4096.
+
* Start by following the [[Reshade#Applying%20Bezel%20Art%20Using%20ReShade%20Layer.fx|Layer.fx]] section on the [[Reshade]] page.
  
If you have issues with the sound play with the buffer settings.
+
=== Control Setup ===
  
 +
* Find the "padDemul" file in the DEmul folder, right-click it, and select "Properties".
 +
* Make sure "read-only" is not checked and close the properties box.
 +
* Go back to DEmul and from the menu select "Config" and then "Controls".
 +
* Under the "Arcade" section configure the bindings for both "Joy 1" and "Joy 2" for your arcade stick, controller, etc.
 +
** Tick the "Alternative settings" box while configuring your arcade stick or controllers to configure the alternative bindings for your Sinden lightguns.
 +
** Make sure you bind the "COIN" and "START" buttons for "Joy1" and "Joy2" for the Sinden lightguns.
  
Now If you wish to play 2 player you will need to install demulshooter, See the demulshooter page for instructions on how to do that.
+
=== Sinden Loader (AutoHotkey Script) ===
 +
<small>NOTE: The script also includes all the bezels and the latest Sinden, DemulShooter, and nomousy software.</small>
  
 +
Download [https://1drv.ms/u/c/8c36a43fff642f65/EUcZ6T8fBt1CkbKrDT3wlTkB9jn3T9LdGHj41LnaW25MSw?e=zSpHni Sinden Loader] and extract it to your DEmul folder.
  
Also to apply a border for the gun you will need reshade, Again instructions can be found on the reshade page.
+
There is a script that can be run first to check the configuration of the provided Sinden and DemulShooter software called "Setup Sindens and DemulShooter.ahk". Run this first to check the Sinden lightguns are recognised and configured in the Sinden software and assigned in the DemulShooter software.
  
  
It is also recommended to install no mousy to hide the cursor (download above) just extract these files to a folder on your hard drive.
+
To use the "Sinden Loader.ahk" script you will need to install AHK v2.
  
 +
You can create a shortcut or run it from the command prompt to use the command-line interface. Here are a few examples:
  
Next you will set the controls.
+
<code>"Sinden Loader.ahk" -nomousy -rom=braveff</code>
  
Next find the "padDemul" file in the demul folder, right click it and select properties. Make sure "read only" is not checked.
+
<code>"Sinden Loader.ahk" -rom=crzytaxi</code>
  
Now back in Demul go to the top menu "config" and then "controls"
+
<code>"Sinden Loader.ahk" -rom=braveff -nomousy</code>
  
Select Joy 1 for Player 1 or Joy 2 for player 2 under the "Arcade" options.
+
<code>"Sinden Loader.ahk" -rom=hotd2</code>
  
Bind your Start and Coin buttons as you like by pressing on the relevant button then pressing the button you wish to bind it to.
+
For now, the script only runs on 1920x1080 resolution on the primary monitor. There may be an update in the future to increase compatibility.
  
 +
=== Atomiswave Games ===
  
You will now need to load and calibrate each individual game. To load a game using no mousy you will need to create a batch file, to do that just do the following:
+
==== Load Games ====
 +
Loading a game using nomousy you will need to create a batch file.
  
Within the game folder right click in a blank space to bring up the menu and then highlight "new" then select "text document" this will ceate a new text file you can name as you wish.
+
Within the game folder right-click in a blank space to bring up the menu and then highlight "new" then select "text document" this will create a new text file you can name as you wish.
  
Load the new text document and then type the following command adjusting the drive/file path to suit:
+
Load the new text document  
  
 +
Type the following command adjusting the drive/file path to suit:
  
 +
<syntaxhighlight lang="batch">
 
Start C:\YOUR DEMULSHOOTER DIRECTORY\DemulShooter.exe -target=demul07a -rom=ROM NAME
 
Start C:\YOUR DEMULSHOOTER DIRECTORY\DemulShooter.exe -target=demul07a -rom=ROM NAME
  
Line 88: Line 132:
  
 
Start C:\nomousy directory\nomousy.exe
 
Start C:\nomousy directory\nomousy.exe
 +
</syntaxhighlight>
  
 +
Go to "File" then "Save As"
  
Then simply go to "File" then "Save As", Give the file a name of your choosing but it MUST end with .bat
+
Give the file a name of your choosing, but it MUST end with .bat
 
 
Eg gamename.bat
 
 
 
 
 
Next you will need to calibrate each individual game.
 
 
 
To do this you need to first load a game, Once loaded press "F4" to enter the system menu.
 
 
 
Then press "F2" to enter the test menu.
 
 
 
Now select I/O test using the F4 button and press F2 to enter the menu.
 
 
 
Next with the border up and your gun software running aim the gun at the screen and pull the trigger.
 
 
 
You will then be required to shoot the top left corner then the bottom right corner target then finally one in the centre.
 
 
 
You will then be forced to do the same for player 2's gun, If you are only playing with 1 gun use your normal mouse to do this.
 
 
 
Finally pull the trigger when prompted to exit the calibration screen.
 
  
Cycle down to "EXIT" with the F4 key and press F2 to leave the menu.
+
For example, gamename.bat
  
 +
==== Calibration ====
 +
Load a game; press "F4" to enter the system menu
  
You can if you wish at this point use the F2 and F4 keys to make further adjustments to the games settings, such as the coin requirements attract sequences, difficulty etc.
+
Press "F2" to enter the test menu
  
 +
Select I/O test using the F4 button
  
Once again now you should cycle to "EXIT" and press F2 to go back to the game which should now play perfectly!
+
Press F2 to enter the menu
  
 +
Next, with the border up and with the Sinden lightgun software running
  
 +
Aim the gun at the screen and pull the trigger
  
 +
Shoot the top left corner, the bottom right corner target, and finally, one in the center
  
 +
Do the same for player 2's gun; if you are only playing with 1 gun, use your mouse to do this
  
 +
Pull the trigger when prompted to exit the calibration screenUse the F2 and F4 keys to make further adjustments to the game settings, such as the coin requirements attract sequences, difficulty etc. as requiredCycle down to "EXIT" with the F4 key 
  
 +
Press F2 to leave the menu and return to the game
 +
====Tips====
  
 +
* Some games require both guns to be calibrated; if you only have one gun, assign your gun to player 1 and player 2 in DemulShooter. Once calibrated, remove the gun from P2 in DemulShooter
 +
* Offscreen reloading in games like Sports Shooting USA can have issues in older versions of Demul, make sure you are using the latest Demul version (Demul v0.7 280418)
  
 
+
====Launch Script====
 
 
 
 
 
 
 
 
<br>
 
 
 
===Tips===
 
Some games require both guns to be calibrated; if you only have one gun, assign your gun to player 1 and player 2 in DemulShooter. Once you have calibrated, remove the gun from P2 in DemulShooter.
 
<br />If you have issues with offscreen reloading in games like Sports Shooting USA, make sure you are using the latest Demul version (Demul v0.7 280418). Older versions have broken reload mechanics.
 
 
 
===Launch Script===
 
 
Example Batch file text:
 
Example Batch file text:
  
Line 149: Line 177:
 
Start D:\nomousy\nomousy.exe
 
Start D:\nomousy\nomousy.exe
 
</syntaxhighlight>
 
</syntaxhighlight>
== NAOMI Games ==
+
=== NAOMI Games ===
 +
The process for getting Naomi games to work is exactly the same as mentioned in the video above, but with a few exceptions:
  
The process for getting Naomi games to work is exactly the same as mentioned in the video above, but with a few exceptions:
+
====BIOS====
 +
Place the Naomi BIOS files in your ROM folder.
  
===BIOS===
+
====General Calibration====
You require the Naomi BIOS files in your ROMs folders.
+
Enter the test menu with F4 and press F2 to cycle the selection;
  
===Launch Command===
+
Select "Game Test" menu to access to the second test menu for the game
In the batch file, you need to change "-run=awave" to "-run=naomi"
 
  
===General Calibration===
+
Calibrate the guns in the same way as Atomiswave games.
To calibrate the guns, you have to enter the test menu with F4 and press F2 to cycle the selection; You need to go into the bottom "game test" menu to get access to the second test menu for the game, where you can then calibrate them the same as Atomiswave games.
 
  
===CHD Game Calibration===
+
====CHD Game Calibration====
3 of the Naomi light gun games (Maze of Kings, Confidential Mission, and Lupin The Third: The Shooting) require CHD files, You can use the normal MAME CHDs, and these must be put in folders matching the ROM name inside the ROMS folder.
+
3 of the Naomi light gun games (Maze of Kings, Confidential Mission, and Lupin The Third: The Shooting) require CHD files. The normal MAME CHDs can be used. Put the CHDs in folders matching the ROM name inside the ROMs folder.
  
Also, all 3 of these games have a strange calibration screen that is not immediately obvious what you must do. When you enter the calibration screen, you will see something like this:<br>
+
All 3 of these games have a strange calibration screen that is not immediately obvious what needs to be done. Entering the calibration screen, looks like:<br>
  
 
[[File:Demul Calibration.png|frameless|562x562px]]<br>
 
[[File:Demul Calibration.png|frameless|562x562px]]<br>
  
You will notice it has coordinates for Right, Left, Top, Bottom, and Centre.
+
It has coordinates for Right, Left, Top, Bottom, and Centre
  
Simply what you do when the cursor is pointing at the right, you click/shoot the right-hand orange tab, Then press the start button to go down to the Left and click/shoot the left-hand tab.
+
When the cursor is pointing at the right, click/shoot the right-hand orange tab
  
Repeat for the Top, Bottom, and Centre.
+
Press the Start button to go down to the Left and click/shoot the left-hand tab
  
When you are done, press start to cycle to Check, and you should see a cross hair on your mouse.
+
Repeat for the Top, Bottom, and Centre
  
I have noticed that it seems to move off the mouse a little as you get to the extremes of the screen do not worry about this though, as it does not seem to have any real effect on the games.
+
Press Start to cycle to Check, a cross hair should be visible and matching the mouse cursor
  
Once complete, press F4 to exit and return to the test menu.<br>
+
The mouse moves off a little as you get to the extremes of the screen do not worry about this, though, as it does not seem to have any real effect on the games.
  
=== Games with special instructions===
+
Press F4 to exit and return to the test menu.<br>
* [[Ninja Assault|Ninja Assault]].
 
  
===Launch Script===
+
====Launch Script====
 
Example Batch (.bat) file:
 
Example Batch (.bat) file:
 
<syntaxhighlight lang="batch">
 
<syntaxhighlight lang="batch">
Line 194: Line 221:
  
 
Start D:\nomousy\nomousy.exe
 
Start D:\nomousy\nomousy.exe
 +
</syntaxhighlight>Example [https://www.sindenwiki.org/wiki/AHK AutoHotKey (AHK)] script:<syntaxhighlight lang="ahk">
 +
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
 +
; #Warn  ; Enable warnings to assist with detecting common errors.
 +
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
 +
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
 +
 +
#SingleInstance Force
 +
 +
SetWorkingDir D:\Demul
 +
 +
Run, D:\DemulShooter\DemulShooter.exe  -target=demul07a -rom=hotd2, D:\DemulShooter
 +
 +
sleep, 1000
 +
Run, D:\Demul\nomousy.exe /hide
 +
 +
Run, D:\Demul\demul.exe -run=naomi -rom=hotd2
 +
 +
$Esc::
 +
    Process, Exist, demul.exe
 +
    DemulPid := ErrorLevel
 +
        PostMessage, 0x111, 40085,,, ahk_pid %DemulPid%
 +
        Sleep, 10
 +
        PostMessage, 0x111, 40080,,, ahk_pid %DemulPid%
 +
    sleep, 500
 +
    Run,taskkill /im "DemulShooter.exe" /F
 +
    Run, D:\Demul\nomousy.exe
 +
    sleep, 1000
 +
    ExitApp
 +
return
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== Games With Special Instructions==
 +
* [[Ninja Assault|Ninja Assault]]
  
 
[[Category:Emulators PC]]
 
[[Category:Emulators PC]]

Latest revision as of 09:54, 24 February 2025



Emulator
Emulates: Dreamcast, Arcade
Download: Emulation64 website
License: Freeware
Demul gameplay.png

DEmul is a closed-source emulator for Sega Dreamcast and multiple arcade-based systems including Sega NAOMI, Sega NAOMI 2, Sega Hikaru, and Sammy Atomiswave. Other system are also supported that include other SuperH or PowerVR 2-based systems.

Downloads

DEmul

Official DEmul website

DEmul v0.7 280418*

*This is the latest version of DEmul that is supported by DemulShooter.

DemulShooter

DemulShooter - latest releases for DemulShooter.

DemulShooter Wiki - GitHub wiki detailing how to use DemulShooter with DEmul.

Nomousy

nomousy - Required to hide the mouse cursor during gameplay.

ReShade

ReShade - Required to implement a builtin border or bezel within the emulator or game itself.

Bezels

Bezel Pack - Includes white-bordered bezels for use with DEmul and the Sinden Lightguns.

Setup Guide

Initial Setup

  • Extract the contents of the DEmul compressed file to an appropriate folder (i.e. "DEmul")
  • Run "demul.exe" and it should state "BIOS & Plugins not configured"
  • Click "OK" and you'll be taken to the "Plugins, Maple & Paths' dialog box.
  • "Roms and Bioses Paths" drop-down menu should contain all the paths to the ROMs and the BIOSes for the games you wish to run.
Example of paths sorted by machine (i.e. Atomiswave, Hikaru, Naomi, and Naomi 2).
  • The "Plugins Path" and "Nvram Path" should both be set by default to the sub folders within your DEmul folder.
  • Leave all other settings as default.
  • Click "OK" and you should be brought to the main DEmul window.

Video Settings

From the menubar select "Config" and then "Video".

DEmul "Config" menu item with "Video" highlighted

Check your settings to match below:

  • Window resolution: 1920x1080

Note: other resolutions will be supported with next update to Sinden Loader AHK script.

  • Start in Fullscreen

Note: Sinden Loader AHK script automatically unticks this setting for Hikaru games.

  • Aspect Ratio: 4:3
  • Linear Filter
  • Max layers: 8
  • Naomi 2 Thread
  • Disable Opaque Modifier
  • Disable Translucent Modifier
Demul Config Video Window with settings matching written guide.

Sound Settings

From the top menu, select "Config" then "Sound"

DEmul "Config" menu item with "Sound" highlighted.

Check your settings to match below:

  • Disable DSP
  • Buffer size: 4096

Note: If you're experience issues with sound try adjusting the buffer size.

Demul Config Sound window with settings matching written guide.

Two Players

To play with two Sinden lightguns you will need DemulShooter. Please refer to the DemulShooter page with instructions on how to set it up.

Border

When running a Hikaru machine with DEmul it doesn't fullscreen correctly with the right aspect ratio. A script has been provided to overcome this bug and will use both ReShade and the Bezel Pack so you can run all machines with bezels.

Control Setup

  • Find the "padDemul" file in the DEmul folder, right-click it, and select "Properties".
  • Make sure "read-only" is not checked and close the properties box.
  • Go back to DEmul and from the menu select "Config" and then "Controls".
  • Under the "Arcade" section configure the bindings for both "Joy 1" and "Joy 2" for your arcade stick, controller, etc.
    • Tick the "Alternative settings" box while configuring your arcade stick or controllers to configure the alternative bindings for your Sinden lightguns.
    • Make sure you bind the "COIN" and "START" buttons for "Joy1" and "Joy2" for the Sinden lightguns.

Sinden Loader (AutoHotkey Script)

NOTE: The script also includes all the bezels and the latest Sinden, DemulShooter, and nomousy software.

Download Sinden Loader and extract it to your DEmul folder.

There is a script that can be run first to check the configuration of the provided Sinden and DemulShooter software called "Setup Sindens and DemulShooter.ahk". Run this first to check the Sinden lightguns are recognised and configured in the Sinden software and assigned in the DemulShooter software.


To use the "Sinden Loader.ahk" script you will need to install AHK v2.

You can create a shortcut or run it from the command prompt to use the command-line interface. Here are a few examples:

"Sinden Loader.ahk" -nomousy -rom=braveff

"Sinden Loader.ahk" -rom=crzytaxi

"Sinden Loader.ahk" -rom=braveff -nomousy

"Sinden Loader.ahk" -rom=hotd2

For now, the script only runs on 1920x1080 resolution on the primary monitor. There may be an update in the future to increase compatibility.

Atomiswave Games

Load Games

Loading a game using nomousy you will need to create a batch file.

Within the game folder right-click in a blank space to bring up the menu and then highlight "new" then select "text document" this will create a new text file you can name as you wish.

Load the new text document

Type the following command adjusting the drive/file path to suit:

Start C:\YOUR DEMULSHOOTER DIRECTORY\DemulShooter.exe -target=demul07a -rom=ROM NAME

Start C:\nomousy directory\nomousy.exe /hide

Start /wait C:\YOUR DEMUL DIRECTORY\demul.exe -run=awave -rom=ROM NAME

Start C:\nomousy directory\nomousy.exe

Go to "File" then "Save As"

Give the file a name of your choosing, but it MUST end with .bat

For example, gamename.bat

Calibration

Load a game; press "F4" to enter the system menu

Press "F2" to enter the test menu

Select I/O test using the F4 button

Press F2 to enter the menu

Next, with the border up and with the Sinden lightgun software running

Aim the gun at the screen and pull the trigger

Shoot the top left corner, the bottom right corner target, and finally, one in the center

Do the same for player 2's gun; if you are only playing with 1 gun, use your mouse to do this

Pull the trigger when prompted to exit the calibration screenUse the F2 and F4 keys to make further adjustments to the game settings, such as the coin requirements attract sequences, difficulty etc. as requiredCycle down to "EXIT" with the F4 key

Press F2 to leave the menu and return to the game

Tips

  • Some games require both guns to be calibrated; if you only have one gun, assign your gun to player 1 and player 2 in DemulShooter. Once calibrated, remove the gun from P2 in DemulShooter
  • Offscreen reloading in games like Sports Shooting USA can have issues in older versions of Demul, make sure you are using the latest Demul version (Demul v0.7 280418)

Launch Script

Example Batch file text:

Start D:\YOUR DEMULSHOOTER DIRECTORY\DemulShooter.exe -target=demul07a -rom=ROM NAME

Start D:\nomousy\nomousy.exe /hide

Start /wait D:\YOUR DEMUL DIRECTORY\demul.exe -run=awave -rom=ROM NAME

Start D:\nomousy\nomousy.exe

NAOMI Games

The process for getting Naomi games to work is exactly the same as mentioned in the video above, but with a few exceptions:

BIOS

Place the Naomi BIOS files in your ROM folder.

General Calibration

Enter the test menu with F4 and press F2 to cycle the selection;

Select "Game Test" menu to access to the second test menu for the game

Calibrate the guns in the same way as Atomiswave games.

CHD Game Calibration

3 of the Naomi light gun games (Maze of Kings, Confidential Mission, and Lupin The Third: The Shooting) require CHD files. The normal MAME CHDs can be used. Put the CHDs in folders matching the ROM name inside the ROMs folder.

All 3 of these games have a strange calibration screen that is not immediately obvious what needs to be done. Entering the calibration screen, looks like:

Demul Calibration.png

It has coordinates for Right, Left, Top, Bottom, and Centre

When the cursor is pointing at the right, click/shoot the right-hand orange tab

Press the Start button to go down to the Left and click/shoot the left-hand tab

Repeat for the Top, Bottom, and Centre

Press Start to cycle to Check, a cross hair should be visible and matching the mouse cursor

The mouse moves off a little as you get to the extremes of the screen do not worry about this, though, as it does not seem to have any real effect on the games.

Press F4 to exit and return to the test menu.

Launch Script

Example Batch (.bat) file:

Start D:\YOUR DEMULSHOOTER DIRECTORY\DemulShooter.exe -target=demul07a -rom=ROM NAME

Start D:\nomousy\nomousy.exe /hide

Start /wait D:\YOUR DEMUL DIRECTORY\demul.exe -run=naomi -rom=ROM NAME

Start D:\nomousy\nomousy.exe

Example AutoHotKey (AHK) script:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#SingleInstance Force

SetWorkingDir D:\Demul

Run, D:\DemulShooter\DemulShooter.exe  -target=demul07a -rom=hotd2, D:\DemulShooter

sleep, 1000
Run, D:\Demul\nomousy.exe /hide

Run, D:\Demul\demul.exe -run=naomi -rom=hotd2

$Esc::
    Process, Exist, demul.exe
    DemulPid := ErrorLevel
        PostMessage, 0x111, 40085,,, ahk_pid %DemulPid%
        Sleep, 10
        PostMessage, 0x111, 40080,,, ahk_pid %DemulPid%
    sleep, 500
    Run,taskkill /im "DemulShooter.exe" /F
    Run, D:\Demul\nomousy.exe
    sleep, 1000
    ExitApp
return

Games With Special Instructions