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 976520 times)

0 Members and 1 Guest are viewing this topic.

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:Today at 01:49:26 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1520 on: January 01, 2019, 05:18:52 pm »
Hey Argon, Hope you have a good new year. Any progress on either 2 player support for HOTD4 or Vcop3 working in fullscreen (cxbx)? Thanks

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1521 on: January 01, 2019, 06:22:24 pm »
Dgrace, do you know if there's any solution for the shoot sound not working in hod4? Pretty Annoying.
For vcop3 I make a false fullscreen with ahk, I dont know now the code, but worked nice, something like:
WinMove, 0, -20,
WinSet, Style, -0xc40000,  A,

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1522 on: January 01, 2019, 06:41:31 pm »
Argon, I think someone commented something similar time ago:
I'm having focus problems with pc games like artisdead or hod3. If I launch them with demulshooter they minimizes or go to background. dont know if they are common problems for other people

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1523 on: January 02, 2019, 03:14:14 am »
Hey Argon, Hope you have a good new year. Any progress on either 2 player support for HOTD4 or Vcop3 working in fullscreen (cxbx)? Thanks
Actually, I had a few hours yesterday with my Win10 computer and found why Player2 is blocked in HOTD4, even if controls are working fine on the TEST mode : the emulator's hack to force FREE PLAY seems to be buggy as P2 is always denied the right to play (not enough coins)
So once patched, P2 is working good :D
I Just need now to put that properly in DemulShooter, so it should be a matter of days

Argon, I think someone commented something similar time ago:
I'm having focus problems with pc games like artisdead or hod3. If I launch them with demulshooter they minimizes or go to background. dont know if they are common problems for other people
I don't know...I just know that I'm not acting on any window or display parameter. Except for the icon in the notify tray
And whatever happens with background and frontends is not something I can handle, unfortunatelly

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:Today at 01:49:26 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1524 on: January 02, 2019, 09:38:00 pm »
Thanks Argon! Can't wait

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1525 on: January 03, 2019, 01:27:54 am »
I can't get the demulshooter controls working in operation ghost using -parrotloader

I've tried a few different scenarios. I have used the resolution patch on my gs2.exe. I am seeing demulshooter in the task bar and it shows (ringwide) (og). TIA.

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd R:\Arcade\Emulators\TeknoParrot
start TeknoParrotUi.exe --profile=og.xml
exit

        [OR]

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd "R:\Arcade\Teknoparrot\Operation G.H.O.S.T"
START gs2.exe

exit



argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1526 on: January 03, 2019, 05:55:00 am »
I can't get the demulshooter controls working in operation ghost using -parrotloader

I've tried a few different scenarios. I have used the resolution patch on my gs2.exe. I am seeing demulshooter in the task bar and it shows (ringwide) (og). TIA.

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd R:\Arcade\Emulators\TeknoParrot
start TeknoParrotUi.exe --profile=og.xml
exit

        [OR]

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd "R:\Arcade\Teknoparrot\Operation G.H.O.S.T"
START gs2.exe

exit
First point : Operation GHOST doesn't need TeknoParrot at all to run. So, for this one, -parrotloader will have no effect
Then, regarding your issue....it's impossible to tell if it is a BAT issue, an admin issue or anything else....

Where is the BAT located ? it's great to CD to the game's folder before starting it, but if your BAT is not in DemulShooter's folder you'll have to CD to it's folder too before
If you run the game simply by double -clicking gs2.exe and then manually run demulshooter, does this work ? This could tell if the issue is the BAT or the overall config

-----

DemulShooter v8.5.2 :
- Added Player2 to HOTD4 with TeknoPArrot
- You can now start demulshooter after the game without crashing it

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1527 on: January 03, 2019, 12:46:17 pm »
I can't get the demulshooter controls working in operation ghost using -parrotloader

I've tried a few different scenarios. I have used the resolution patch on my gs2.exe. I am seeing demulshooter in the task bar and it shows (ringwide) (og). TIA.

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd R:\Arcade\Emulators\TeknoParrot
start TeknoParrotUi.exe --profile=og.xml
exit

        [OR]

@echo on
START DemulShooter.exe -target=ringwide -rom=og -parrotloader

cd "R:\Arcade\Teknoparrot\Operation G.H.O.S.T"
START gs2.exe

exit
First point : Operation GHOST doesn't need TeknoParrot at all to run. So, for this one, -parrotloader will have no effect
Then, regarding your issue....it's impossible to tell if it is a BAT issue, an admin issue or anything else....

Where is the BAT located ? it's great to CD to the game's folder before starting it, but if your BAT is not in DemulShooter's folder you'll have to CD to it's folder too before
If you run the game simply by double -clicking gs2.exe and then manually run demulshooter, does this work ? This could tell if the issue is the BAT or the overall config

-----

DemulShooter v8.5.2 :
- Added Player2 to HOTD4 with TeknoPArrot
- You can now start demulshooter after the game without crashing it

Thanks for the quick response Argon. I always have UAC and AV off. I have added the contents of the demulshooter to the teknoparrot folder, so I don't have to CD for both exe files. I'm seeing that demulshoother launches properly as it shows in the task manager and on the task bar. Manually running gs2.exe and demulshooter still doesn't work. I'm only able to use the default hard coded OG controls, and not those you set up in demulshooter. Not sure if this helps, but when closing out OG it also closes out demulshooter properly. Since I'm not using teknoparrotui when launching via gs2.exe, how are the default controls coming from teknoparrot. I'm not sure I understand the point of blocking teknoparrot controls with the -parrotloader command if they're in the actual game.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1528 on: January 03, 2019, 02:21:58 pm »
Since I'm not using teknoparrotui when launching via gs2.exe, how are the default controls coming from teknoparrot. I'm not sure I understand the point of blocking teknoparrot controls with the -parrotloader command if they're in the actual game.
That's why I said in my last reply that for this game the -parrotloader option is useless and is doing absolutely nothing, because there is no teknoparrot controls to block

Try to run demulshooter with the -v option, and move around/shoot a couple of time before quiting the game
This should create a "debug.txt" file in demulshooter's folder, you can share it here so that we can (maybe) have a little more information

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1529 on: January 03, 2019, 02:52:47 pm »
Since I'm not using teknoparrotui when launching via gs2.exe, how are the default controls coming from teknoparrot. I'm not sure I understand the point of blocking teknoparrot controls with the -parrotloader command if they're in the actual game.
That's why I said in my last reply that for this game the -parrotloader option is useless and is doing absolutely nothing, because there is no teknoparrot controls to block

Try to run demulshooter with the -v option, and move around/shoot a couple of time before quiting the game
This should create a "debug.txt" file in demulshooter's folder, you can share it here so that we can (maybe) have a little more information


Here is the debug text

13:49:26.677062 :
13:49:26.678062 : -------------------- Program Start ----------------------
13:49:26.678062 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:49:26.678062 : P1 Device Handle = 65597
13:49:26.678062 : P2 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:49:26.678062 : P2 Device Handle = 65599
13:49:26.678062 : P3 device = \\?\HID#VID_1241&PID_1111#7&3a1185e7&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:49:26.679062 : P3 Device Handle = 720953
13:49:26.679062 : P4 device =
13:49:26.679062 : P4 Device Handle = 0
13:49:26.679062 : Cmdline arg 1 : -target=ringwide
13:49:26.679062 : Cmdline arg 2 : -rom=og
13:49:26.679062 : Cmdline arg 3 : -v
13:49:26.696063 : Enabling virtual Middle Mouse button: P1=[H]
13:49:26.697063 : Enabling virtual Middle Mouse button: P2=[Y]
13:49:26.697063 : Enabling virtual Middle Mouse button: P3=[Enter]
13:49:26.701064 : Waiting for RingWide og game to hook.....
13:49:32.811413 : Attached to Process gs2.exe, ProcessHandle = 712
13:49:32.812413 : gs2.exe = 0x00400000
13:49:32.812413 : P2_X adddress =  0x051ABBB0
13:49:32.812413 : P2_Y adddress =  0x051ABBB4
13:49:32.813413 : Custom Axis data will be stored at : 0x05450000
13:49:32.815413 : Adding Trigger CodeCave at : 0x05C70000
13:49:32.817413 : Adding Axis CodeCave at : 0x05C80000
13:49:32.818413 : Memory Hack complete !
13:49:32.818413 : -
13:50:25.556430 : gs2.exe closed

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1530 on: January 03, 2019, 06:03:22 pm »
Unfortunatelly, all seems good....The only weird thing is that there is no sign of activity at all from the guns after the hack. But maybe you closed the game without moving/and shooting your aimtraks before ?

Some ideas crossing my mind for you to debug :
1) If the gs2.ini file is correctly set, without demulshooter you should be able to control P2 with NumPad (start=[ +], shoot = [5], reload = [ 0], action = [-], change weapon = [.], move cursor with [4][6][8][2])
2) If step 1) isOK, demulshooter should work with P2 as I just send corresponding keyboard strokes
3) If Demulshooter correctly works, you should not be able to control P1 with a simple mouse

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:Today at 01:49:26 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1531 on: January 03, 2019, 08:41:45 pm »
Just played 2 player HOTD4.  Very awesome! Thanks Argon for making this happen.  You rock. Hopefully Reaver can fix the vsync, sound and remaining graphical issues in the near future.  Still very playable though and fun.

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1532 on: January 03, 2019, 10:51:06 pm »
Unfortunatelly, all seems good....The only weird thing is that there is no sign of activity at all from the guns after the hack. But maybe you closed the game without moving/and shooting your aimtraks before ? [your assumption is correct]

Some ideas crossing my mind for you to debug :
1) If the gs2.ini file is correctly set, without demulshooter you should be able to control P2 with NumPad (start=[ +], shoot = [5], reload = [ 0], action = [-], change weapon = [.], move cursor with [4][6][8][2])
[with or without demulshooter i am required to use P1 and P2 default controls in Operation GHOST, however I can confirm that when using demulshooter that the crosshairs are correctly aligned]

2) If step 1) isOK, demulshooter should work with P2 as I just send corresponding keyboard strokes [step 1 is OK but still requires the use of default controls]

3) If Demulshooter correctly works, you should not be able to control P1 with a simple mouse
 [I can confirm that demulshooter is disabling the mouse]


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1533 on: January 04, 2019, 01:27:17 am »
[I can confirm that demulshooter is disabling the mouse]
Ok this tells me that everything is good on the DemulShooter's side. The hack is OK

[with or without demulshooter i am required to use P1 and P2 default controls in Operation GHOST, however I can confirm that when using demulshooter that the crosshairs are correctly aligned]
[step 1 is OK but still requires the use of default controls]
This is where you're confusing me...What are those default controls you're talking about from the beginning ?
BEcause if I get it right, DemulShooter is working fine as far as axis are concerned (i.e : Your 2 Aimtraks are moving 1P and 2P crosshairs in game with a correct aiming), but you just can't shoot ?

I don't think it's possible but .....did you try the Ds_Diag.exe app ? Can you check that every buttons are detected with your aimtraks ?
« Last Edit: January 04, 2019, 01:30:49 am by argonlefou »

Ginsonic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:October 09, 2023, 12:56:04 pm
  • Arcade enthusiast !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1534 on: January 04, 2019, 04:12:01 am »
Quote from: argonlefou

DemulShooter v8.5.2 :
- Added Player2 to HOTD4 with TeknoPArrot
- You can now start demulshooter after the game without crashing it

Thanks ArgonLeFou, you are marvellous  :notworthy: :cheers:

fire10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:December 19, 2020, 01:06:33 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1535 on: January 04, 2019, 07:38:16 am »
Yes amazing work ArgonLeFou as always and very very much appreciated. Hopefully Denny will have luck with Jurassic Park Raw thrills this year, fingers crossed. He really needs help regarding the linux side of things. If anyone out there is a Linux guru please get in contact

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1536 on: January 05, 2019, 02:51:47 am »
[I can confirm that demulshooter is disabling the mouse]
Ok this tells me that everything is good on the DemulShooter's side. The hack is OK

[with or without demulshooter i am required to use P1 and P2 default controls in Operation GHOST, however I can confirm that when using demulshooter that the crosshairs are correctly aligned]
[step 1 is OK but still requires the use of default controls]
This is where you're confusing me...What are those default controls you're talking about from the beginning ?
BEcause if I get it right, DemulShooter is working fine as far as axis are concerned (i.e : Your 2 Aimtraks are moving 1P and 2P crosshairs in game with a correct aiming), but you just can't shoot ?

I don't think it's possible but .....did you try the Ds_Diag.exe app ? Can you check that every buttons are detected with your aimtraks ?


By default buttons I mean those "original keys" for Operation Ghost as you mention in your guide. I can successfully use the following keys to launch operation ghost for both players:
CTRL+F1=Coin
ENTER=Start P1
NumPad
  • =Start P2

Y=Service


Everything seems to be working on my end except for the hardcoded demulshooter keys
1      Start P1
2   Start P2
8   Service
9   Test

Maybe I'm misunderstanding what demulshooter is doing for operation ghost. Does demulshooter use hardcoded keys to operate the operation ghost original keys?
Example:
1=Enter
2=NumPad+
5=Ctrl F1
8=Y

Much appreciate your help Argon.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1537 on: January 05, 2019, 03:15:08 am »
Everything seems to be working on my end except for the hardcoded demulshooter keys
1      Start P1
2   Start P2
8   Service
9   Test

Maybe I'm misunderstanding what demulshooter is doing for operation ghost. Does demulshooter use hardcoded keys to operate the operation ghost original keys?
Example:
1=Enter
2=NumPad+
5=Ctrl F1
8=Y

Much appreciate your help Argon.
Okay ! Now I understand your question  :)
As I said twice, -parrotloader option is not used for Operation Ghost because I'm considering this game as a stand alone ( it does not need TeknoParrot to run). This means that those harcoded keys will not work with this game

You still can get them to work with some Keyboard mapping program (like AutoHotkey) and transform a [5] keypres in [CTRL+F1] for example

What DemulShooter is doing is allowing 1P or 2P play with Aimtraks mainly, so usually it just means handling Axis and fire/reload buttons. Things natively working are left untouched, so for Operation GHOST I didn't need to change any of STAR, SERVICE, etc key because they all work very well

I'll change the wiki to add a note about this, I do agree it's not clearly stated
« Last Edit: January 05, 2019, 03:17:00 am by argonlefou »

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1538 on: January 05, 2019, 04:08:28 am »
Everything seems to be working on my end except for the hardcoded demulshooter keys
1      Start P1
2   Start P2
8   Service
9   Test

Maybe I'm misunderstanding what demulshooter is doing for operation ghost. Does demulshooter use hardcoded keys to operate the operation ghost original keys?
Example:
1=Enter
2=NumPad+
5=Ctrl F1
8=Y

Much appreciate your help Argon.
Okay ! Now I understand your question  :)
As I said twice, -parrotloader option is not used for Operation Ghost because I'm considering this game as a stand alone ( it does not need TeknoParrot to run). This means that those harcoded keys will not work with this game

You still can get them to work with some Keyboard mapping program (like AutoHotkey) and transform a [5] keypres in [CTRL+F1] for example

What DemulShooter is doing is allowing 1P or 2P play with Aimtraks mainly, so usually it just means handling Axis and fire/reload buttons. Things natively working are left untouched, so for Operation GHOST I didn't need to change any of STAR, SERVICE, etc key because they all work very well

I'll change the wiki to add a note about this, I do agree it's not clearly stated

After comparing the LGI to the OG source code, I'm wondering if it would be difficult to use your memory hack to inject the more commonly used 1, 2, 5 keys to add coins and start P1 and P2? This could be optionally enabled as an argument when launching demulshooter.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1539 on: January 05, 2019, 04:58:36 am »
After comparing the LGI to the OG source code, I'm wondering if it would be difficult to use your memory hack to inject the more commonly used 1, 2, 5 keys to add coins and start P1 and P2? This could be optionally enabled as an argument when launching demulshooter.
It's not about difficulty, it's about versatility : There's already a lot of small/opensource programs to use to do this (autohotkey beeing one of them) and people have the choice to it, not to do it, or do it differenlty with other keys

Harcoded keys is bad philosophy, but I'm too lazy right now to add a TeknoParrot option page in the GUI to choose Keys (moreover because the whole -parrotloader things is supposed to be temporary......)
And I should take some time to recheck TeknoParrot state to see if all of this has been settled since. I know that with the 1.81 update all choosen keys are working fine with HOTD4 if you uncheck "use mouse for gun games"
If this is the case for every other shooting games, -parrotloader would become useless as anyone would be able to choose it's own

DemulShooter is not meant to be some universal Lightgun launcher, but a tool to enable missing/broken functionnality, while original working functions beeing left untouched. So that users can have the choice of what they wan to do.

So back to Operation Ghost (and that's just me giving my opinion, not absolute truth) : it doesn't need DemulShooter to have working START, SERVICE, CREDITs keys, so DemulShooter doesn't need to mess with them. That way anyone can do what they want to do to map the keys.

getnbizzy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • Last login:April 15, 2022, 06:47:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1540 on: January 06, 2019, 12:22:37 am »
After comparing the LGI to the OG source code, I'm wondering if it would be difficult to use your memory hack to inject the more commonly used 1, 2, 5 keys to add coins and start P1 and P2? This could be optionally enabled as an argument when launching demulshooter.
It's not about difficulty, it's about versatility : There's already a lot of small/opensource programs to use to do this (autohotkey beeing one of them) and people have the choice to it, not to do it, or do it differenlty with other keys

Harcoded keys is bad philosophy, but I'm too lazy right now to add a TeknoParrot option page in the GUI to choose Keys (moreover because the whole -parrotloader things is supposed to be temporary......)
And I should take some time to recheck TeknoParrot state to see if all of this has been settled since. I know that with the 1.81 update all choosen keys are working fine with HOTD4 if you uncheck "use mouse for gun games"
If this is the case for every other shooting games, -parrotloader would become useless as anyone would be able to choose it's own

DemulShooter is not meant to be some universal Lightgun launcher, but a tool to enable missing/broken functionnality, while original working functions beeing left untouched. So that users can have the choice of what they wan to do.

So back to Operation Ghost (and that's just me giving my opinion, not absolute truth) : it doesn't need DemulShooter to have working START, SERVICE, CREDITs keys, so DemulShooter doesn't need to mess with them. That way anyone can do what they want to do to map the keys.

Ok I did some more testing. It seems that your operation ghost gs2.exe resolution patch exe is stripping my custom controls(1,2,5,6) and putting them back to the old OG controls(ctrl+F1,Ent,Numpad+, etc.)
I have a working gs2.exe file that has the controls how I need them working, but it only runs in a small window. Do you know if there's a way to keep the resolution patch from messing with the controls?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1541 on: January 06, 2019, 02:30:48 am »

Ok I did some more testing. It seems that your operation ghost gs2.exe resolution patch exe is stripping my custom controls(1,2,5,6) and putting them back to the old OG controls(ctrl+F1,Ent,Numpad+, etc.)
I have a working gs2.exe file that has the controls how I need them working, but it only runs in a small window. Do you know if there's a way to keep the resolution patch from messing with the controls?

That's weird, the resolution patch is just changing some values for the Window creation APIs, and that's all ... ???
Could you PM me a link to your modified exe with custom controls ?

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1542 on: January 08, 2019, 02:39:47 am »
Hi, Im in the last 8.52 version and atomiswave games seems to have the aiming missaligned. This was corrected not very long ago, I think I tested with previous version and worked perfect. Maybe Im missing something?
« Last Edit: January 08, 2019, 01:21:57 pm by phasermaniac »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1543 on: January 08, 2019, 01:34:38 pm »
Hi, Im in the last 8.52 version and atomiswave games seems to have the aiming missaligned. This was corrected not very long ago, I think I tested with previous version and worked perfect. Maybe Im missing something?
Yes it was corrected in 8.4 release and has not changed since
Can you paste a debug file for an atomiswave game ?

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1544 on: January 08, 2019, 05:15:34 pm »
Thanks Argon, but was my fault.
As described in documentation, when I updated demul to last version, I lost the old configurations. Now resolved.
A curious think is Im exiting killing demul window with ahk, and vram data doesnt seem to be lost. But I didnt found another way to exit demul.

As a final note, I also resolved the focus problem I was having with m2, demul and some pc games in a very simple way: I launch demulshooter, WAIT 1S and launch the emu/game.
Now Im having demulshooter with retrofe working perfect, very nice. Thanks for your amazing work!

iandsm1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 09, 2019, 02:04:54 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1545 on: January 09, 2019, 12:34:33 pm »
Hi I'm having trouble with DemulShooter and house of the dead 4, I would like to use the mouse if possible but also have the accuracy correct and in full screen, is this possible?

I have a 1920x1080 patch which is fullscreen and in teknoparrot (1.82) I have selected free mode, selected the correct path to the hotd4 exe and also selected use mouse in gun games option, I then ran Ds_Diag.exe, and my mouse is showing up, I then closed this and ran DemulShooter.exe and selected my mouse from the p1 config and closed, I then went to the CMD selected the directory demulshooter is in and ran the command DemulShooter.exe -target=Lindbergh -rom=hotd4, then I ran house of the dead 4 through teknoparrot, the buttons for shoot and reload work but unfortunately it doesn't seem to be reading the actual mouse movements, and is stuck in the top left corner am I doing something wrong and is it possible to get up a crosshair? I

'd love to get the working right so any assistance would be greatly appreciated thank you in advance
« Last Edit: January 09, 2019, 01:15:01 pm by iandsm1 »

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:Today at 01:49:26 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1546 on: January 09, 2019, 01:39:14 pm »
Hi I'm having trouble with DemulShooter and house of the dead 4, I would like to use the mouse if possible but also have the accuracy correct and in full screen, is this possible?

I have a 1920x1080 patch which is fullscreen and in teknoparrot (1.82) I have selected free mode, selected the correct path to the hotd4 exe and also selected use mouse in gun games option, I then ran Ds_Diag.exe, and my mouse is showing up, I then closed this and ran DemulShooter.exe and selected my mouse from the p1 config and closed, I then went to the CMD selected the directory demulshooter is in and ran the command DemulShooter.exe -target=Lindbergh -rom=hotd4, then I ran house of the dead 4 through teknoparrot, the buttons for shoot and reload work but unfortunately it doesn't seem to be reading the actual mouse movements, and is stuck in the top left corner am I doing something wrong and is it possible to get up a crosshair? I

'd love to get the working right so any assistance would be greatly appreciated thank you in advance

I'm not sure if it works with a mouse yet. I use 2 aimtraks and HOTD4 with TP 1.82 works perfectly for me. But I haven't tested with a mouse. Sorry if I wasn't much help. 

Side question. When you say "1920x1080 patch" is that just for fullscreen or does that improve resolution? If so, is that something you'd be willing to share?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1547 on: January 09, 2019, 04:19:06 pm »
Hi I'm having trouble with DemulShooter and house of the dead 4, I would like to use the mouse if possible but also have the accuracy correct and in full screen, is this possible?

I have a 1920x1080 patch which is fullscreen and in teknoparrot (1.82) I have selected free mode, selected the correct path to the hotd4 exe and also selected use mouse in gun games option, I then ran Ds_Diag.exe, and my mouse is showing up, I then closed this and ran DemulShooter.exe and selected my mouse from the p1 config and closed, I then went to the CMD selected the directory demulshooter is in and ran the command DemulShooter.exe -target=Lindbergh -rom=hotd4, then I ran house of the dead 4 through teknoparrot, the buttons for shoot and reload work but unfortunately it doesn't seem to be reading the actual mouse movements, and is stuck in the top left corner am I doing something wrong and is it possible to get up a crosshair? I

'd love to get the working right so any assistance would be greatly appreciated thank you in advance
Demulshooter won't work with a simple mouse
For House of the Dead 4, I made another small program to be used with a mouse, you'll find it below as attachment

As for resolution changing, GameLoader is just modifying the screen size, not quality
If you want better 3D rendering (it's working with all screen sizes) just open any elf with some Hex editor and change :
0x17708B : 90 90 90 90 90
0x480DBC : 80 07

This gives you 1920p rendering


From what I've tested, changing screen size like GameLoader is messing with 2D element on the screen and I could not change it to be good
The best full screen I got (In My Opinion) is simply enhancing quality as I said above, using normal (1280*600) resolution and then with your ATI or NVIDIA driver, making lower resolution to strecth to fit all your screen.
That way you can have a 1200x600 game filling all of your HD monitor. Don't know for lower rez (VGA, 15KZz monitor) as I don't have them

@iandsm1 : Be carrefulll, posting copyrighted files is against this forum rules

« Last Edit: January 09, 2019, 04:27:13 pm by argonlefou »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1548 on: January 09, 2019, 06:22:08 pm »
I tried to display hod4 to 640*240 in 15hz monitor but no luck.
changing all 000500000003 (the original 1280x768 resolution) by 80020000e001 (640x480). Works nice, but it vitrates as ot is an interlaced resolution.
But with 80020000f000 (640x240), the 3d rendering keeps displaying at 640x480, so the top half os not visible. You can simulate this in any monitor, in windowed mode

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1549 on: January 09, 2019, 06:30:22 pm »
I tried to display hod4 to 640*240 in 15hz monitor but no luck.
changing all 000500000003 (the original 1280x768 resolution) by 80020000e001 (640x480). Works nice, but it vitrates as ot is an interlaced resolution.
But with 80020000f000 (640x240), the 3d rendering keeps displaying at 640x480, so the top half os not visible. You can simulate this in any monitor, in windowed mode
You don't need to change all values, only 1 is enough. It's what did GAmeLoader with all those elf files
Anyway, the game is not meant to be played on all these resolution and it's not like changing values always work. There are a lot of things going under, window size, 3D engine resolution, 2D sprites calculation and stretching, etc...sometimes it's working, sometimes no (just like Aliens, with X-ray weak points disapearing or SilentHill with movies being completely zoomed in when you play them with 1920p rez)
« Last Edit: January 09, 2019, 06:32:34 pm by argonlefou »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1550 on: January 11, 2019, 01:33:17 pm »
Thanls for the info, so it works at 640x480 at least

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1551 on: January 11, 2019, 07:33:48 pm »
Yesterday I was playing msx games and messing with video options, 256x192 i think, looks perfect in my 15 hz screen... there are lots of good lightgun games, (maybe I'm getting old), and some of them are 2p.
Maybe I commented this before, I don't remember,sorry if being stubborn, I know making this work is not easy.
I use bluemsx 2.61 as from version 2.7, gun support is bugged and wont work. And for one player works nice.
The emulator lets you select guns in both players, but it doesnt seem to use rawinput.
I'm the only interested to play this with someone?
.
« Last Edit: January 17, 2019, 01:50:58 am by phasermaniac »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1552 on: January 18, 2019, 06:13:52 am »
I'm the only interested to play this with someone?
Unfortunatelly, I think you are  :-\

MulletLife

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 23, 2019, 11:44:34 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1553 on: January 19, 2019, 12:49:42 pm »
Hi everyone, with 39 pages perhaps I've missed something. M2 exmulator is working with 2x aimtraks. I'm not on to Atomiswave. Running demul .7 and demulshooter 8.5.2  Running Sport Shooter and then calibrating the guns, it seems that both players are controlled by the same input. IE my mouse, gun1 and gun2 are all moving the same crosshairs. Anyone have an idea as to where I should start? Thanks

Hudbrook

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 02, 2023, 01:11:15 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1554 on: January 19, 2019, 06:43:08 pm »
 I can get Demulshooter with teknoparrot to work fine,but when I try it with loader all rh  I can't get to work.I can't find anyone else having this problem,so it must an easy fix.

yid4lyf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:March 20, 2024, 10:13:36 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1555 on: January 19, 2019, 11:29:14 pm »
Hey Argon,  Please help. I have been working on this for over a week and I still cant get it to work right. I have DemulShooter working perfectly with model 2 but I cant get it to work with Demul. Both Guns are firing from the same input. I have checked the settings a million times and they are definitely right. How can I make the guns fire separately I.E P1 gun only uses P1 bullets as at the moment the guns are sharing bullets. I have no hair otherwise I would have pulled it all out by now. Please help hopefully its an easy fix and ive just overlooked something. I am running Demul in hyperspin and setting everything up in RocketLauncher. Demulshooter launches as normal in the background so I know ive got that right but I just cant get the guns to work separately.

Thankyou.
« Last Edit: January 20, 2019, 03:22:04 am by yid4lyf »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1556 on: January 20, 2019, 05:27:31 pm »
Hi everyone, with 39 pages perhaps I've missed something. M2 exmulator is working with 2x aimtraks. I'm not on to Atomiswave. Running demul .7 and demulshooter 8.5.2  Running Sport Shooter and then calibrating the guns, it seems that both players are controlled by the same input. IE my mouse, gun1 and gun2 are all moving the same crosshairs. Anyone have an idea as to where I should start? Thanks
It looks like the hook isn't properly done and both crosshairs are moved by window's mouse (and not the lightgun as I handle it)
Are you sure you are using the good release of Demul ? (demul07_180428.7z)

Hey Argon,  Please help. I have been working on this for over a week and I still cant get it to work right. I have DemulShooter working perfectly with model 2 but I cant get it to work with Demul. Both Guns are firing from the same input. I have checked the settings a million times and they are definitely right. How can I make the guns fire separately I.E P1 gun only uses P1 bullets as at the moment the guns are sharing bullets. I have no hair otherwise I would have pulled it all out by now. Please help hopefully its an easy fix and ive just overlooked something. I am running Demul in hyperspin and setting everything up in RocketLauncher. Demulshooter launches as normal in the background so I know ive got that right but I just cant get the guns to work separately.

Thankyou.
1) Same answer as above
2) Try to make DemulShooter work with the emulator without any frontend first. Then, only once you know it's working as you wish, you can try to find a way to run it with your frontend


I can get Demulshooter with teknoparrot to work fine,but when I try it with loader all rh  I can't get to work.I can't find anyone else having this problem,so it must an easy fix.
I don't know what GameLoader is doing/blocking so I won't be of any help here
I just know I never had any issue with older version of GameLoader I'm using for a couple of games

Hudbrook

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 02, 2023, 01:11:15 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1557 on: January 20, 2019, 07:29:10 pm »
I need it for Operation Ghost to get full screen and Sega Golden Gun to change the language to English.I use rocketlauncher to to open Operation Ghost with Game Loader All RH.exe to hide the mouse cursor and I use the Launchbox frontend for a batch file to start before launching Operation Ghost with Game Loader All RH.exe.My batch file looks like this D:\DemulShooter\DemulShooter.exe -target=ringwide -rom=og.Demulshooter works when launching Sega Golden Gun using a batch file first D:\DemulShooter\DemulShooter.exe -target=ringwide -rom=sgg and then tecknoparrot UI,but when using the same method except launching tecknoparrot UI using Game Loader All RH.exe it doesn't recognize Demulshooter.I am not sure if this information helps but would appreciate any help.  Thanks! for replying argonlefou   :)

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1558 on: January 21, 2019, 04:06:55 am »
I need it for Operation Ghost to get full screen and Sega Golden Gun to change the language to English.I use rocketlauncher to to open Operation Ghost with Game Loader All RH.exe to hide the mouse cursor and I use the Launchbox frontend for a batch file to start before launching Operation Ghost with Game Loader All RH.exe.My batch file looks like this D:\DemulShooter\DemulShooter.exe -target=ringwide -rom=og.Demulshooter works when launching Sega Golden Gun using a batch file first D:\DemulShooter\DemulShooter.exe -target=ringwide -rom=sgg and then tecknoparrot UI,but when using the same method except launching tecknoparrot UI using Game Loader All RH.exe it doesn't recognize Demulshooter.I am not sure if this information helps but would appreciate any help.  Thanks! for replying argonlefou   :)
As I said, if you can make it work alone you already have 50% of the solution
Unfortunatelly, I'm not using Rocket Launcher, Launchbox, GameLoader or BAT scripts so I won't be able to give you any answers

gstav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 212
  • Last login:March 22, 2024, 10:59:19 am
    • forum.arcadecontrols.com/index.php/topic,157861.0.html
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1559 on: January 21, 2019, 06:38:45 am »
I might not be able to help you as you're using Launchbox and I'm on HyperSpin but I do have RocketLauncher + HS working. I remeber that I sometimes needed to write a ah-script as demul shooter and some games lost focus upon start. I can check how the batch commands look like ln my rig if you want to.

Golden Gun I like to think was a setting made in the ini or if I copied files over.

Can check that too if needed.  ;D
"One coin to rule em' all"