Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)  (Read 1232358 times)

0 Members and 3 Guests are viewing this topic.

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:March 30, 2025, 03:25:09 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3520 on: February 11, 2025, 02:11:06 pm »
Anyone with alien mounted guns try demulshooter yet with wild west shootout? Start and coin keys work but the cursors stay stuck in the corner. Just curious. Thanks

Update: Nevermind. Had a bad dump. All good now
« Last Edit: February 11, 2025, 04:56:59 pm by dgrace »

midd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:April 02, 2025, 06:46:26 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3521 on: February 20, 2025, 05:34:00 pm »
I’m trying to get player 2 gun (both gun4ir)to work in Dolphin. Have the wiimote config file setup and have the buttons configured in dolphin. However player 2 gun only move player 1 cursor. And it shoots for player 1 AND it activates the recoil for my player 1 gun. I’m attaching some pics of the settings:

https://imgur.com/gallery/WoCM99q

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:March 30, 2025, 03:25:09 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3522 on: February 27, 2025, 10:14:19 am »
Argon, thanks a bunch for adding support for the new nerf game. Question, do you know if there is a way to adjust the resolution settings? It appears the game was emulated in 1920x1080 so if you use a monitor like i have 1360x768, the cursor and sight line are off. But I couldn't find anywhere in the settings to adjust the resolution. Thanks in advance

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3523 on: February 27, 2025, 12:52:02 pm »
Sadly no
As far as I can tell, the game is hardcoded somewhere in Unity engine to display/work 1920p

You can change game resolution in Registry editor like all unity games (something like HK_CurrentUser/software/rawthrill/nerf/) but this will only shrink down the visible part of the game.

Game content will not resize according to the window size

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:March 30, 2025, 03:25:09 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3524 on: February 27, 2025, 01:15:30 pm »
Sadly no
As far as I can tell, the game is hardcoded somewhere in Unity engine to display/work 1920p

You can change game resolution in Registry editor like all unity games (something like HK_CurrentUser/software/rawthrill/nerf/) but this will only shrink down the visible part of the game.

Game content will not resize according to the window size

No worries. Thanks for the response. I guess it's time to upgrade then ;D

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
Hi, first of all many thanks for your work! The game "Plant vs Zombies" runs ok and demulshooter also works because the icon is green and  I can remove crosshair, but pressing "5" for credits does nothing....also "y" and "t" do nothing: can someone explain me why? Thanks!
« Last Edit: March 04, 2025, 06:13:52 pm by Rhyader »

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
I found now that I can access test menu by pressing "tab" on keyboard but once in the test menu, I can't move the cursor and so I can't select any voice of the menu itself

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
If you did download the game packed from someone else, he may have done it's own key configuration for the game standalone patch.
Look at the dk2win32.ini file in the shell folder, this is the patch config to set keys

DemulShooter is using the [5] keyboard key to change coin directly into the exe.
If it does nothing, you either have a modified/unknown exe version or something else blocking DemulShooter from writing into the process

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
Thanks for answer; I have this in my "dk2win32.ini" :

 "[Options]
;Set to 1 to enable debug log
WriteDebugLog=0

[Controls]
;Valid keyboard entries: A to Z, Left, Right, Up, Down, F1 to F12, Num0 to Num9, NumLock, NumEnter, NumMinus, NumPeriod, NumPlus, NumSlash, NumStar
;   Esc, Grave, Minus, Equals, Backspace, Tab, Left Bracket, Right Bracket, CapsLock, Semicolon, Apostrophe, Backslash, Return, Left Shift, Right Shift
;   Comma, Period, Slash, Left Control, Right Control, Left Alt, Right Alt, Insert, Delete, Home, End, PgUp, PgDn, Space, SysRq, Scroll Lock, Pause
;Valid xinput entries for pad #1: XINPUT1_A, XINPUT1_B, XINPUT1_X, XINPUT1_Y, XINPUT1_LEFT_SHOULDER, XINPUT1_RIGHT_SHOULDER, XINPUT1_BACK, XINPUT1_START
;   XINPUT1_LEFT_THUMB, XINPUT1_RIGHT_THUMB, XINPUT1_DPAD_UP, XINPUT1_DPAD_DOWN, XINPUT1_DPAD_LEFT, XINPUT1_DPAD_RIGHT
;   XINPUT1_LEFT_ANALOG_UP, XINPUT1_LEFT_ANALOG_DOWN, XINPUT1_LEFT_ANALOG_RIGHT, XINPUT1_LEFT_ANALOG_LEFT
;   XINPUT1_RIGHT_ANALOG_UP, XINPUT1_RIGHT_ANALOG_DOWN, XINPUT1_RIGHT_ANALOG_RIGHT, XINPUT1_RIGHT_ANALOG_LEFT, XINPUT1_LEFT_TRIGGER, XINPUT1_RIGHT_TRIGGER
;Valid xinput entries for pad #2, #3 and 4: Same as #1, just replace 1 by the right number. Example XINPUT3_B for PAD 3 BUTTON B instead of XINPUT1_B
;Valid mouse entries: MOUSE_UP, MOUSE_DOWN, MOUSE_LEFT, MOUSE_RIGHT, MOUSE_WHEEL_UP, MOUSE_WHEEL_DOWN, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, MOUSE_BUTTON_MIDDLE
Quit=Esc
ClosePVZ=Tab"


Can you please tell me where to find the "correct" .ini for your Demulshooter? Or how to correct this one I have? Thanks!
« Last Edit: March 07, 2025, 04:11:30 am by Rhyader »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
There is no "correct" ini for DemulShooter: as stated in the last reply, DemulShooter is not using that ini file (which is only used to set Keys for the patcher dll to allow the game to run and bypass protections) but is directly writing into the process memory to add credit

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
Ok, so this .ini only sets the key "esc" to quit and the key "tab" to close the game, correct? I'll try to delete it to see if demulshooter controls will work

soozgs500

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:March 28, 2025, 10:50:33 pm
  • I want to build my own arcade controls!
Well I was having problems with JConfig too, but I fixed it. it's a little less accurate, but at least I can shoot on the right side of the screen so I will stick with it unless I can figure out my problem with Demulshooter.

I am having the same problem and cannot aim all the way to the right. Can you please let me know how you fixed it? it took me so long to get Fright fearland up and running and now Im having this problem.

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:Today at 03:57:09 pm
Is there any instructions on how to get Demulshooter to work in tandem with Hyperspin/RocketLauncher, specifically with the model2 emulator? 

I have only ever used MAME in there and am now trying to get model2 stuff hooked up as well and didn't see any place obvious to allow for running a process before the emulator launches.

EDIT:

Nevermind, I found the solution at this thread from googling - https://www.rlauncher.com/forum/index.php?threads/demulshooter-setup.6559/#post-45855
« Last Edit: March 10, 2025, 12:02:55 am by purbeast »

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:April 02, 2025, 07:12:51 am
Hoping someone in here can help, I've searched the net, and posted in the Teknoparrot Discord. All of the sudden any Linux based games in Teknoparrot have no sound, Aliens Armageddon, Big Buck Hunter World, Terminator Salvation, Walking dead, Crossfire Maximum Paintball etc. I set the volume keys in the controller setup but they do nothing, and neither does adjusting in the test menu.  I noticed that when I load these games they do not show up in the windows sound mixer, thus no game sound.  I've downloaded clean dumps and reinstalled the games, but the problem still persists. I'm on Win 10 21H2, AMD Ryzen 5, NVIDIA RTX 3070 ti all drivers up to date . Very frustrating, Anyone know how to fix this?
« Last Edit: March 23, 2025, 10:32:28 am by DMB77 »
Fate flies in fear of the moment

TapeWormInYourGut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 145
  • Last login:April 16, 2025, 08:22:49 pm
  • I want to build my own arcade controls!
They had an update a little bit ago that broke some games. I don't know if they've fixed them or not because I haven't really payed attention to them. One issue required you to copy a Window's dll into the game's folder to get audio working.

Other games like HOTD4 had input issues, like shaking the gun had stopped working and the 2-player input was also broken. I know they fixed the shaking issue with the last update.

Edit: I've tested and have no issues with those games. If you're running the latest then I don't think a fix will come from them.
« Last Edit: March 23, 2025, 09:31:39 pm by TapeWormInYourGut »

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
Hi, I have a 3-pedal usb device without any software, simple plug and .....press. In notepad I see that pedal left is keyboard "a", pedal right is "c" and center pedal is "b" so in my .ahk for "Heavy fire Afghanistan" , to change bindings and use pedals, I wrote: "a::A" (hide left), "c::d(uppercase)" (hide right) and "b::S" (hide down) but now my Sinden does not work! Sinden software is on, demulshooter is green but Sinden does not respond. If in my .ahk I write "A::A", "C::d(uppercase)" and B::S" Sinden works but pedals does not respond, because they send "a" and not "A" . None of these letters are used as keys in my sinden software.... so it's very strange: any ideas?
« Last Edit: March 24, 2025, 09:46:10 am by Rhyader »

lllll44

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 171
  • Last login:April 11, 2025, 01:41:53 pm
  • I want to build my own arcade controls!
Is there a way to add demul support for xemu? as silent scope now works a lot better on the emu with vulkan support.

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:April 02, 2025, 07:12:51 am
Hoping someone in here can help, I've searched the net, and posted in the Teknoparrot Discord. All of the sudden any Linux based games in Teknoparrot have no sound, Aliens Armageddon, Big Buck Hunter World, Terminator Salvation, Walking dead, Crossfire Maximum Paintball etc. I set the volume keys in the controller setup but they do nothing, and neither does adjusting in the test menu.  I noticed that when I load these games they do not show up in the windows sound mixer, thus no game sound.  I've downloaded clean dumps and reinstalled the games, but the problem still persists. I'm on Win 10 21H2, AMD Ryzen 5, NVIDIA RTX 3070 ti all drivers up to date . Very frustrating, Anyone know how to fix this?
It's definitely one of the Last updates that broke the games, I installed an old version form my other PC and it' worked flawlessly.. Just wondering s there a way to remove the crosshairs from Aliens Armageddon?
Fate flies in fear of the moment

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
Just wondering s there a way to remove the crosshairs from Aliens Armageddon?
Yes : https://github.com/argonlefou/DemulShooter/wiki/Raw-Thrill#misc-notes-

Is there a way to add demul support for xemu? as silent scope now works a lot better on the emu with vulkan support.
I'm not planning to do it

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:Today at 03:57:09 pm
Just curious - is there any plans to get the Atomiswave gun games working with Demulshooter in the Flycast emulator?

I have been messing around with those games and they run much better in Flycast than Demul.  In Demul they actually run really poorly especially Ranger Mission.  They are basically flawless in Flycast though.

Right now I got it working by using a jostick2mouse thing but I am noticing some accuracy issues sometimes and I believe it's due to the joystick2mouse software I'm using.


n/m
« Last Edit: March 30, 2025, 10:27:24 pm by purbeast »

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:Today at 03:57:09 pm
Also, does anyone have any recommended control settings in Flycast to get it working accurately with Demulshooter?

I have it recognizing my shots for P1 however the accuracy is really bad and unplayable.  I've only tried it in Ninja Assault.  I also went into calibration and it doesn't do anything, and actually fires it's own shot when I go to hit the target in the top left.

My guns are recognized by Windows as analog sticks.  The accuracy in model2 and arcade games (Friction and Silent Hill) through demulshooter is perfect too so I'm pretty sure it's just something with my control config.

EDIT:

Okay I actually figured it out I think, and reading through this thread, I see Demulshooter isn't even needed for it anymore.  I had to manually configure some of the stuff in the cfg file to get my accuracy working properly but the 2 games i played it appeared to be good.

I did notice an issue with Ninja Assault though where sometimes when I'd press the trigger it would track the previous position.  I noticed thisa lot when reloading.  Sometimes I'd just mash reload off screen and I'd see the previous shot I hit, register all of the shots even though I'm aiming off screen.  I don't know if this is a Ninja Assault specific issue or a Flycast issue.  Sports Shooting USA seemed to track pretty fine, although you don't really mash buttons quickly in that game.
« Last Edit: March 30, 2025, 10:27:07 pm by purbeast »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
DemulShooter never had any input support for Flycast.
Flycast has been offering raw input support for multiple devices for a long time

Only reason  you can use DemulShooter with Flycast is for outputs

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:April 02, 2025, 07:12:51 am
I just upgraded my Aimtraks for Retro Shooter Reaper Pro's and now my AHK scrips for Dolphin (2P) don't work anymore. I changed the device name from ATRAK Device #2 to DInput/0/3A-3H Retro Shooter 2 in the ini and changed my -ddinumber to 3 in the ahk script but player 2 won't work.  Any ideas on how to fix this?
Fate flies in fear of the moment

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
What I did for Dolphin looooong ago was very specific to Aimtrak.
I never touched the code since it has been made, you can consider it mostly deprecated

I know some people made dolphin work with Gun4Ir (and Sinden too ? Maybe), but I didn't pay attention to the method as I'm not using Dolphin at all.
I don't even know if it's using DemulShooter with Dolphin
Maybe that lead can be helpfull to try transposing the method to your guns

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:April 02, 2025, 07:12:51 am
That's a major bummer as some of my favorite games are on Dolphin.  I have searched the net a bit , f anyone has a good guide please let me know.
Fate flies in fear of the moment

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
Can you set your new guns to joystick mode ?
If yes, you may check that fork of Dolphin : https://github.com/nixxou/dolphin

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 78
  • Last login:April 02, 2025, 07:12:51 am
Yes, I can.  Thank you!  I will have to figure out how to configure them properly, as it's a little more involved than your method.
Fate flies in fear of the moment

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 173
  • Last login:April 16, 2025, 05:39:27 pm
Hi everyone. I'm having a problem with Elevator Action Invasion...
I patched the executable with Demulshooter and configured the keys. Everything works fine except for player 2 credits.
The button doesn't work. I've tried mapping it to other keys, but it doesn't work. Does anyone know what could be causing this?
Thanks.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
Hi everyone. I'm having a problem with Elevator Action Invasion...
I patched the executable with Demulshooter and configured the keys. Everything works fine except for player 2 credits.
The button doesn't work. I've tried mapping it to other keys, but it doesn't work. Does anyone know what could be causing this?
Thanks.
Indeed, there a copy/paste typo in the code and the P2 credits key is doing the P1 credits action
I'll fix it in the next update

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 173
  • Last login:April 16, 2025, 05:39:27 pm
Great. Thanks a lot  :cheers:

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1053
  • Last login:Today at 01:16:01 pm
I just uploaded v15.0 update, should fix Elevator Action keys

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 173
  • Last login:April 16, 2025, 05:39:27 pm
Wow, that was fast! You're great!  :applaud:

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 335
  • Last login:Today at 05:43:21 am
  • I want to build my own arcade controls!
Hi Argon.
Can you take a look to Big Buck Hunter Ultimate Trophy? its a unity game, it seems a port of BBH Reloaded. Folders and files are similar to 2016 BBH Arcade, but not exactly. This one works out the box with one lightgun, but it doesn't support multiple guns
Thanks!

Rhyader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:Today at 04:13:15 pm
Hi, also, if possible, can you remove gun and crosshair? Thanks!