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

0 Members and 3 Guests are viewing this topic.

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 #1120 on: January 22, 2018, 11:59:23 am »
Sorry, returning to Operation GOST, I cant get it to launch yet in my 640x480 screen. I get some "EXCEPTION_UNKNOW...raiseException...RtlDosApplyFileIsolationRedirection_Ustr" error.
Changing to a normal screen it works. So I think the problem is the resolution of the game, It launches at 1024x600 (WSVGA) If I'm not wrong.
Do anybody know which offset of the exe have I to change in a hex editor? Can I do that with that game? If I know that 1024->0004, 600->5802 (original res to hex) and 640->8002, 480->E001 (my res to hex)? If I replace all it crashes...
« Last Edit: January 22, 2018, 12:01:35 pm by phasermaniac »

Tomkun

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:March 12, 2024, 09:42:52 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1121 on: January 22, 2018, 11:37:24 pm »
I am having real trouble getting this to work with Aliens (dehasped). I know that Demulshooter is finding the guns (they buzz), and that it's finding the executable (it closes when it's supposed to), but my log is full of errors:

Code: [Select]
13:26:30.298744 :
13:26:30.299745 : -------------------- Program Start ----------------------
13:26:30.299745 : P1 device = XInput Gamepad #1
13:26:30.299745 : P1 Gamepad ID = 0
13:26:30.299745 : P2 device  = XInput Gamepad #2
13:26:30.299745 : P2 Gamepad ID = 1
13:26:30.299745 : Cmdline arg 1 : -target=globalvr
13:26:30.300745 : Cmdline arg 2 : -rom=aliens
13:26:30.300745 : Cmdline arg 3 : -v
13:26:30.318759 : Waiting for Global VR aliens game to hook.....
13:26:30.363323 : Error converting screen location to client location
*Snip* about a million lines
13:26:48.614399 : Error converting screen location to client location
13:26:48.626407 : Attached to Process aliens dehasped.exe, ProcessHandle = 1336
13:26:48.627407 : aliens dehasped.exe = 0x00400000
13:26:48.629409 : Memory Hack complete !
13:26:48.629409 : -
13:26:48.634411 : Gamepad #0 data (Hex) = [ 8000, 8000 ]
13:26:48.635412 : PrimaryScreen Size (Px) = [ 800, 600 ]
13:26:48.635412 : OnScreen Cursor Position (Px) = [ 400, 300 ]
13:26:48.728470 : Error converting screen location to client location
*Snip* About a million more lines
13:27:40.478255 : Gamepad #0 data (Hex) = [ 8000, 8000 ]
13:27:40.478756 : PrimaryScreen Size (Px) = [ 1280, 720 ]
13:27:40.478756 : OnScreen Cursor Position (Px) = [ 640, 360 ]
*Snip*
13:27:41.281338 : aliens dehasped.exe closed1
I had to trim the log down quite a bit to upload it, but it was just repeating lines.
All other games work, just not this one. Any advice?

Edit:
I just checked the debug log for some other games and they also get the same error, even before the game executable is loaded, however they still seem to work... Very confusing.
« Last Edit: January 22, 2018, 11:49:51 pm by Tomkun »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1122 on: January 23, 2018, 06:45:44 am »
Sorry, returning to Operation GOST, I cant get it to launch yet in my 640x480 screen. I get some "EXCEPTION_UNKNOW...raiseException...RtlDosApplyFileIsolationRedirection_Ustr" error.
Changing to a normal screen it works. So I think the problem is the resolution of the game, It launches at 1024x600 (WSVGA) If I'm not wrong.
Do anybody know which offset of the exe have I to change in a hex editor? Can I do that with that game? If I know that 1024->0004, 600->5802 (original res to hex) and 640->8002, 480->E001 (my res to hex)? If I replace all it crashes...
Sorry I can't help you, I can't even run the game fullscreen without Game Loader with my NVIDIA setup....the game has so many hardcoded things, it's a real mess

I am having real trouble getting this to work with Aliens (dehasped). I know that Demulshooter is finding the guns (they buzz), and that it's finding the executable (it closes when it's supposed to), but my log is full of errors:
[...]
I had to trim the log down quite a bit to upload it, but it was just repeating lines.
All other games work, just not this one. Any advice?

Edit:
I just checked the debug log for some other games and they also get the same error, even before the game executable is loaded, however they still seem to work... Very confusing.
The  "Error converting screen location to client location" will often happen at the start untill the game's main window has been created and hooked to. This is not a problem unless it keeps happening
I know some people had issues with this new aliens (regarding the main window). I'll soon send you too some testing exe and you'll tell me if it's better or not
then I'll put it in the next release for good

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 #1123 on: January 24, 2018, 12:17:22 pm »
Ok I realized wich offsets to change in gs2.exe (operation ghost) to change resolution (In my 15hz crt 640x480 GameLoaderAll didn't help):

Horizontal Res:
Change 0004
001119d0, 001119e0
00111a40

Vertical Res:
Change 5802
001119e0
00111a60

AnX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:February 21, 2019, 05:02:48 am
  • Drop. Your. Sword.
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1124 on: January 24, 2018, 10:58:58 pm »
I am having real trouble getting this to work with Aliens (dehasped). I know that Demulshooter is finding the guns (they buzz), and that it's finding the executable (it closes when it's supposed to), but my log is full of errors:

I had to trim the log down quite a bit to upload it, but it was just repeating lines.
All other games work, just not this one. Any advice?

Edit:
I just checked the debug log for some other games and they also get the same error, even before the game executable is loaded, however they still seem to work... Very confusing.

Hey Tomkun

Not wanting to be patronising but did you calibrate your guns from the "test menu".
I had to calibrate again using the new executable and everything is very stable.  You've not mentioned anything about that so I had to ask.
Best of luck

Tomkun

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:March 12, 2024, 09:42:52 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1125 on: January 24, 2018, 11:02:11 pm »
I am having real trouble getting this to work with Aliens (dehasped). I know that Demulshooter is finding the guns (they buzz), and that it's finding the executable (it closes when it's supposed to), but my log is full of errors:

I had to trim the log down quite a bit to upload it, but it was just repeating lines.
All other games work, just not this one. Any advice?

Edit:
I just checked the debug log for some other games and they also get the same error, even before the game executable is loaded, however they still seem to work... Very confusing.

Hey Tomkun

Not wanting to be patronising but did you calibrate your guns from the "test menu".
I had to calibrate again using the new executable and everything is very stable.  You've not mentioned anything about that so I had to ask.
Best of luck

Lol, that's OK. Sometimes it's easy to miss the obvious stuff. Anyway, yes I did attempt recalibrating, but there was no input from the guns at all. I just upgraded the SDD in my gaming rig, but when that's settled in I have something new to try getting it to work.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1126 on: January 25, 2018, 04:32:27 am »
Thanks anyways for pointing out some addresses
I guess that's all you'll need.  :cheers:
Confirmed  ;)

DemulShooter v7.2 :
- Added support for "House Of The Dead II" PC port
- Corrected another copy/paste typo in model2 scripts for custom crosshair
- Changed the Aliens dehasped hooking process, some users had issue with the game's window not beeing detected
- Updated User Guide for Hot 2 (PC) and Aliens (dehasped)
« Last Edit: January 25, 2018, 08:35:59 am by argonlefou »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1127 on: January 25, 2018, 08:35:37 am »
Oooops I forgot something :

DemulShooter v7.2a:
- Added a keyboard key to insert coin in House Of The Dead II (Pc Version)
- Updated User Guide

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:March 30, 2024, 08:37:46 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1128 on: January 25, 2018, 02:08:14 pm »
Tried the PC port of HOD2 just for the heck of it,  it's not horrible, thanks for the support Argon.  Any chance we can get a no cross hairs patch for House Of the Dead 2?
Fate flies in fear of the moment

ThielHater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:March 27, 2023, 02:22:16 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1129 on: January 25, 2018, 04:15:08 pm »
Thank you very much for HOTD2 support! The insert coin feature is great, I like that you play the .wav file.  ;D

I have some suggestions regarding the manual:
- put hod2pc on page 5 as supported game
- the second table on page 17 contains hod3pc instead of hod2pc
- page 19 is blank, maybe unintentionally

It would be cool to be able to insert a coin in HOTD3 also, the adress is known (0x7B7DD0) and the sound is "[hod3pc]\media\coin002.aif". I have to admit that it's an unusual format, you could convert it to .wav or use NAudio instead of SoundPlayer. However, great job!
« Last Edit: January 25, 2018, 04:19:57 pm by ThielHater »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1130 on: January 25, 2018, 06:15:52 pm »
Tried the PC port of HOD2 just for the heck of it,  it's not horrible, thanks for the support Argon.  Any chance we can get a no cross hairs patch for House Of the Dead 2?
Unfortunatelly, not for now. Out of the box I don't have a clue on how are compressed/encoded the texture files for this game....it's nothing like I'm used to see
Maybe one day if I'm lucky...

Thank you very much for HOTD2 support! The insert coin feature is great, I like that you play the .wav file.  ;D

I have some suggestions regarding the manual:
- put hod2pc on page 5 as supported game
- the second table on page 17 contains hod3pc instead of hod2pc
- page 19 is blank, maybe unintentionally

It would be cool to be able to insert a coin in HOTD3 also, the adress is known (0x7B7DD0) and the sound is "[hod3pc]\media\coin002.aif". I have to admit that it's an unusual format, you could convert it to .wav or use NAudio instead of SoundPlayer. However, great job!
Thanks for the detailed review of the User Guide  ;D

As for Hotd3, I'm just waiting to be back at home this week end to do it ;)
AIF is not a problem, worse case I can add a 2Ko Wavefile as resource in the Exe  ;)
« Last Edit: January 25, 2018, 06:20:48 pm by argonlefou »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1131 on: January 27, 2018, 06:57:03 am »
DemulShooter v7.2b:
- Added a keyboard key to insert coin in House Of The Dead III (Pc Version)
- Updated User Guide

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1132 on: January 27, 2018, 02:41:37 pm »
Sorry if this is the wrong place to be posting this, but I'm trying to get gundam spirits of zeon working in dual screen mode. I managed a full play through with  the full screen patch using compatibility for xp service pack 3. im on windows 7 pro service pack 1, i copied the dummy files into the correct folder and am using game loader mode 4. i can play a level or two and than it freezes/hangs. ive tried running it with compatibility mode for xp sp3 with game loader but it was having major issues, also tried game loader in xpsp3 and also had errors. is there a setting im missing in game loader to get this working? and thanks a ton for all the work argon, aliens is working great and helping phaser maniac helped me figure out what i needed for op ghost XP You sir are over powered. thanks for creating this tool. absolute must have if you want to play some light gun games with aimtraks.

ThielHater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:March 27, 2023, 02:22:16 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1133 on: January 27, 2018, 05:33:15 pm »
@argonlefou: Awesome!  :)

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:January 24, 2019, 02:22:40 pm
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1134 on: January 27, 2018, 09:18:01 pm »
I couldn't find the source code, is it on any public repository? Anyway, I would like to point out a copy and paste error in "[DemulShooter]\m2emulator\scripts\hotd.lua" and "[DemulShooter]\m2emulator\scripts\vcop2.lua" on line 8, the name of the .cfg file has to be changed to the respective game.

Besides that I would like to know if there is an option to use proper crosshairs for dual AimTrak guns in House of the Dead 2 arcade version with demul 0.7 111117.

Keep up the good work!  ;)
Thanks for pointing out the typo !
There is no Github repository or anything else like this for DemulShooter, but you can see the code clearly with any C# disassembler (JetBrain dotPeek  for example), nothing is hidden or obfuscated
I know everyone is using repositories nowadays, but my Visual Studio is way older than all of this and I don't really want to spend time by handling it manually  :P

I read about that and it seems this is obsolete DLLs that will no longer be distributed.  Maybe I am wrong but in any case, I do not find it on my PC. 
OK, I got further and I think I have found the issue.  I found the Microsoft.DirectX.Dll out of an sdk.  This fixed the issue regarding the DLL loading, BUT the trigger still did not work!
I finally had the time to correct my old laziness, and I rewrote the Keyboard handling so that this DLL is no longer needed. So new Windows should not be a problem for this anymore ;)

DemulShooter 7.1 :
- Corrected the typo in Model2 LUA scripts
- Completely rewrote the keyboard handling so that we don't need the directx directinput dll (you can remove it from your folder)

perfect! thanks! :)

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • Last login:January 24, 2019, 02:22:40 pm
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1135 on: January 27, 2018, 09:24:12 pm »
DemulShooter v7.2b:
- Added a keyboard key to insert coin in House Of The Dead III (Pc Version)
- Updated User Guide

can't wait to try that! thanks!

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1136 on: January 28, 2018, 02:20:02 am »
Sorry if this is the wrong place to be posting this, but I'm trying to get gundam spirits of zeon working in dual screen mode. I managed a full play through with  the full screen patch using compatibility for xp service pack 3. im on windows 7 pro service pack 1, i copied the dummy files into the correct folder and am using game loader mode 4. i can play a level or two and than it freezes/hangs. ive tried running it with compatibility mode for xp sp3 with game loader but it was having major issues, also tried game loader in xpsp3 and also had errors. is there a setting im missing in game loader to get this working? and thanks a ton for all the work argon, aliens is working great and helping phaser maniac helped me figure out what i needed for op ghost XP You sir are over powered. thanks for creating this tool. absolute must have if you want to play some light gun games with aimtraks.
Hi, I don't think it has anything to do with the loader.....a lot of people (including myself) have the game freezing sometimes (for me, mostly at the start of a mission, the screen stays black and the music continues....)
It seems to me that not skipping cinematics makes things better bu tI don't know if it's on my mind or not  :D

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1137 on: January 28, 2018, 03:06:22 am »
Sorry if this is the wrong place to be posting this, but I'm trying to get gundam spirits of zeon working in dual screen mode. I managed a full play through with  the full screen patch using compatibility for xp service pack 3. im on windows 7 pro service pack 1, i copied the dummy files into the correct folder and am using game loader mode 4. i can play a level or two and than it freezes/hangs. ive tried running it with compatibility mode for xp sp3 with game loader but it was having major issues, also tried game loader in xpsp3 and also had errors. is there a setting im missing in game loader to get this working? and thanks a ton for all the work argon, aliens is working great and helping phaser maniac helped me figure out what i needed for op ghost XP You sir are over powered. thanks for creating this tool. absolute must have if you want to play some light gun games with aimtraks.
Hi, I don't think it has anything to do with the loader.....a lot of people (including myself) have the game freezing sometimes (for me, mostly at the start of a mission, the screen stays black and the music continues....)
It seems to me that not skipping cinematics makes things better bu tI don't know if it's on my mind or not  :D
Thanks for the info, I appreciate it. I'll give it another go and if it works it works, if it doesnt, i know im not alone lol.

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1138 on: January 28, 2018, 05:57:50 am »
I seem to be having some issues getting operation ghost and lets go island to hook. sgg worked fine. thats just using parrot, but for ghost and island im using game loader, and cant seem to get them to hook. I know there not because it doesnt close when app is and in operation ghost both guns are firing from the same ammo pool. also im using a wireless keyboard i tried with numlock on and off for ghost.

Edit: debug file, the final line keeps repeating itself. I didnt make a debug for lgi but i assume its the same, i also tried m2 and couldnt get it to hook either. it may have but i was trying bel which i had issues with without demulshooter and the aimtraks. (test make sure everythings working before adding 2p). I did try aliens again and golden gun and both hooked just fine.

16:44:54.894308 :
16:44:54.894308 : -------------------- Program Start ----------------------
16:44:54.894308 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&24d009cd&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
16:44:54.894308 : P1 device handle = 131225
16:44:54.894308 : P2 device  = \\?\HID#VID_D209&PID_1602&MI_02#8&625394f&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
16:44:54.894308 : P2 device handle = 131231
16:44:54.894308 : Cmdline arg 1 : -target=ringwide
16:44:54.894308 : Cmdline arg 2 : -rom=og
16:44:54.894308 : Cmdline arg 3 : -parrotloader
16:44:54.894308 : Cmdline arg 4 : -v
16:44:54.894308 : Waiting for RingWide og game to hook.....
16:44:59.509519 : Error trying to hook gs2.exe
« Last Edit: January 28, 2018, 04:51:20 pm by adreus »

jking3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:April 22, 2023, 03:43:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1139 on: January 28, 2018, 06:49:28 pm »
Hi,

I'm having a strange problem with model2m. When loaded, I see both guns, but they only work up to the 1st 3/4 of the screen. From left to right. They won't go to the last 1/4 of the screen on the right. It is so strange. TroubleShooter 2 works fine.

Ds_Diag shows they work all over the screen, Aimtrak Utility shows they work all over the screen, so does windows. (works fine in mame)

When I change UseRawInput=1 to 0, player 1 gun works fine all over the screen.

Any thoughts on what to look for?

Thanks.

J

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1140 on: January 30, 2018, 05:05:32 am »
I seem to be having some issues getting operation ghost and lets go island to hook. sgg worked fine. thats just using parrot, but for ghost and island im using game loader, and cant seem to get them to hook. I know there not because it doesnt close when app is and in operation ghost both guns are firing from the same ammo pool. also im using a wireless keyboard i tried with numlock on and off for ghost.

Edit: debug file, the final line keeps repeating itself. I didnt make a debug for lgi but i assume its the same, i also tried m2 and couldnt get it to hook either. it may have but i was trying bel which i had issues with without demulshooter and the aimtraks. (test make sure everythings working before adding 2p). I did try aliens again and golden gun and both hooked just fine.
Which version of the Game Loader are you using ? I know some older versions were blocking hooking from demulshooter. The latest one should not have this problem anymore
You can try to run Operation ghost standalone (or  with Teknoparrot) in windowed mode, you won't need the loader and you will be able to test the hooking precedure
Same thing for LGI, you can run it in windowed mode (or use some tool like Dxwnd to run it in a window) and try to hook it without Game Loader


Hi,

I'm having a strange problem with model2m. When loaded, I see both guns, but they only work up to the 1st 3/4 of the screen. From left to right. They won't go to the last 1/4 of the screen on the right. It is so strange. TroubleShooter 2 works fine.

Ds_Diag shows they work all over the screen, Aimtrak Utility shows they work all over the screen, so does windows. (works fine in mame)

When I change UseRawInput=1 to 0, player 1 gun works fine all over the screen.

Any thoughts on what to look for?

Thanks.

J
Hi !
If I remember well, this issue has happened to someone else a long time ago....
I think there's a problem when DemuShooter is trying to find the M2 window's resolution in fullscreen. I never fond out why as I can reproduce this on my setup :(
I
« Last Edit: January 30, 2018, 05:09:38 am by argonlefou »

jking3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:April 22, 2023, 03:43:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1141 on: January 30, 2018, 10:03:58 am »
Yes, that was me having the issue. I'm revisiting.

What resolution is demulshooter expecting? I'll set that in m2emulator and see if it makes a difference. I think I'm using custom 1920 x 1080 right now.

Thanks

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1142 on: January 30, 2018, 11:36:37 am »
Yes, that was me having the issue. I'm revisiting.

What resolution is demulshooter expecting? I'll set that in m2emulator and see if it makes a difference. I think I'm using custom 1920 x 1080 right now.

Thanks
Okay !
I'm not expecting any resolution, I'm automatically getting it based on the emulator's window

So...by re-reading your last messages from a year ago, could you try to run DemulShooter with the -v option and join here some logs for M2emulator and another with a working game/emulator ?

It was the screen size that looked wierd

jking3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:April 22, 2023, 03:43:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1143 on: January 30, 2018, 11:49:04 am »
Thank you for your help.

Here are the files -


adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1144 on: January 30, 2018, 05:52:00 pm »
Thanks argon, ya ill try what you advised. i am on what i believe to be the latest release of rh i think it was 290 cant check till thursday T_T. the lgi i had gotten had somne work done to itr already so going to try again with a new file. And as for operation ghost if i run it standalone, will i be able to access the test menu, ive been running it with the -parrotloader so it would run the hard coded keys. my offset without demul is like an inch, same with lgi. I'll see what i can do thanks a ton argon. And also curious if anyone has run gundam 2p in a vm, i dont know much about creating them, but i want to tinker trying to put it in a windows xp vm to see if that helps with the crashing. Since i can play it single player with compatibility service pack 3 but the rh loader doesnt like that so i want to test it in native xp and see what happens. if i get good results ill be sure to share. And im nowhere near your level so this is just a thought and stab in the dark, rh may not even work in xp.

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 977
  • Last login:February 11, 2022, 03:01:48 pm
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1145 on: January 30, 2018, 06:17:54 pm »
This post should be a sticky...

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1146 on: January 31, 2018, 04:33:56 am »
Thank you for your help.

Here are the files -
Thanks !
Unfortunatelly, I see nothing wrong in them....screen size is now the same in both games, and other values seem OK  :(
I don't know what to tell you  :(

Thanks argon, ya ill try what you advised. i am on what i believe to be the latest release of rh i think it was 290 cant check till thursday T_T. the lgi i had gotten had somne work done to itr already so going to try again with a new file. And as for operation ghost if i run it standalone, will i be able to access the test menu, ive been running it with the -parrotloader so it would run the hard coded keys. my offset without demul is like an inch, same with lgi. I'll see what i can do thanks a ton argon. And also curious if anyone has run gundam 2p in a vm, i dont know much about creating them, but i want to tinker trying to put it in a windows xp vm to see if that helps with the crashing. Since i can play it single player with compatibility service pack 3 but the rh loader doesnt like that so i want to test it in native xp and see what happens. if i get good results ill be sure to share. And im nowhere near your level so this is just a thought and stab in the dark, rh may not even work in xp.
Latest loader version is around 295 or 296 I think.
For Operation Ghost as standalone, you can access the test menu by running gs2.exe -testmode.
Service Key is [Y]
Test Key is CTRL+SHIFT+T
I should add that to the User Guide

-parrotloader is not used with Operation Ghost, but again I may change that so that people can use it if they want to run it via Teknoparrot
« Last Edit: January 31, 2018, 04:40:47 am by argonlefou »

ThielHater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:March 27, 2023, 02:22:16 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1147 on: January 31, 2018, 03:32:58 pm »
I played through HOTD2 PC version last weekend, thanks again for making this possible.  :applaud:

As I don't want to play in 640x480px I used dgVoodoo 2, which is a wrapper for Glide and older DirectX versions. Unfortunately the mouse position scaling doesn't work correctly with it. I know this is an edge case, but maybe you could have a look at it?
« Last Edit: January 31, 2018, 05:14:20 pm by ThielHater »

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1148 on: February 01, 2018, 07:59:32 am »
Thanks again just checked out op ghost before work quick and it will hook with rh and i think im on 296 i have the latest one but may have installed an older one into the file, will try with fresh install of loader and see if i can get it fullscreen, if not ill just change the resolution or something before i play so it takes up a larger area.

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1149 on: February 01, 2018, 07:12:28 pm »
I managed to get operation ghost running standalone to hook but it had to be windowed. It wont hook with the latest game loader. I also got lgi to work without game loader but neither of them i can get full screen. As you said it should hook with the latest loader and i have 296, im guessing its an issue with the loader. Is there a setting i need to enable or am missing, or is it just a bug/glitch.

Edit: Im sorry for all the error posting and help required, i had everything installed and testing with one player before adding 2p to confirm it all worked. But I'm having issues with fright fear land, and i scrolled back a bit and tried multiple configurations. target ttx or global vr, and ffl, fearland, hmusuem2 with no success, they didnt hook or would bring up the folder containing the exe. I used the V3 patcher. I believe it ma be due to me having to run it in service pack 3, i tried once without it and it hooked but the game crashed. Is there any way around this, is there an old driver i need installed?I have haunted musuem working but i need to run the aimtrack utility in the background but not a big issue, works 100%.

With silent hill im also having an issue getting it to hook with any game loader, or any option with a cursor. i managaed to get no curose to hook but i could not shoot, i think its because i dont have a trigger key set iin the gui or in the config.bat. I didnt see any mouse options in the bat or in the gui. Is there a way to set it to mouse left click, do i need to set player one and player 2 triggers to specific keyboard keys? Is there a reason why i cant get the rhloader to hook? It seems alot of the issues im having are stemming from that. Is there anything i need to configure in the loader to enable the use of demul shooter or the aimtraks?   and thanks for all the help and support .

EDIT: I FIXED EVERYTHING BY TURNING OFF THE UAC BUT Im still having issues with just silent hill, how do i map the player one and player 2 trigger in the gui, everything is hooking fine just neither player one or 2 is working and i dont know how to get left click in gui for trigger setting, or if i need to set a specific key for each
« Last Edit: February 01, 2018, 11:27:44 pm by adreus »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1150 on: February 02, 2018, 07:18:34 am »
Thanks again just checked out op ghost before work quick and it will hook with rh and i think im on 296 i have the latest one but may have installed an older one into the file, will try with fresh install of loader and see if i can get it fullscreen, if not ill just change the resolution or something before i play so it takes up a larger area.
I didn't know that software, I will take a (very quick) look but if a 3rd party app is screwing Windows' low level windows/rendering system.....I won't do much

EDIT: I FIXED EVERYTHING BY TURNING OFF THE UAC BUT Im still having issues with just silent hill, how do i map the player one and player 2 trigger in the gui, everything is hooking fine just neither player one or 2 is working and i dont know how to get left click in gui for trigger setting, or if i need to set a specific key for each
Run the Gui, go to silent hill tab, and for each key click the box then press a keyboard key. Then click the "save keys" button and after that, Silent Hill should work without any issue

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:February 01, 2019, 12:53:18 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1151 on: February 02, 2018, 05:30:38 pm »
Thanks again just checked out op ghost before work quick and it will hook with rh and i think im on 296 i have the latest one but may have installed an older one into the file, will try with fresh install of loader and see if i can get it fullscreen, if not ill just change the resolution or something before i play so it takes up a larger area.
I didn't know that software, I will take a (very quick) look but if a 3rd party app is screwing Windows' low level windows/rendering system.....I won't do much

EDIT: I FIXED EVERYTHING BY TURNING OFF THE UAC BUT Im still having issues with just silent hill, how do i map the player one and player 2 trigger in the gui, everything is hooking fine just neither player one or 2 is working and i dont know how to get left click in gui for trigger setting, or if i need to set a specific key for each
Run the Gui, go to silent hill tab, and for each key click the box then press a keyboard key. Then click the "save keys" button and after that, Silent Hill should work without any issue

AWESOME. Silent hill is working, you are the man Argon. And i was referring to game loader ALL RH. sorry if it was confusing. And if you havent i did a google search and saw someone else asked, but i feel like you need a donation button. Before buying the aimtraks i wanted to make sure they where worth the buy in and this tool is a main reason i went out and got 2. Thanks for supporting the community.

ihaveisues

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:February 09, 2018, 07:40:25 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1152 on: February 07, 2018, 04:25:47 am »
i have been trying for 3days and cant get dual guns to work in dolphin (ghost squad) i cant get it to load in dx it will show everything is fine and traks well but i have no idea what im doing wrong i have been reading and reading and tried on two diff. cpu's and still nothing


;Player1 Device configuration
P1Device = \\?\HID#VID_D209&PID_1603&MI_02#7&16ec4b4a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
P1GamepadLeftClick = 8192
P1GamepadRightClick = 4096
P1GamepadMiddleClick = 16384
P1GamepadStick = L
P1GamepadvibrationEnabled = 0
P1GamepadvibrationLength = 50
P1GamepadvibrationStrength = 0

;Player2 Device configuration
P2Device = \\?\HID#VID_D209&PID_1604&MI_02#7&37a156&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
P2GamepadLeftClick = 8192
P2GamepadRightClick = 4096
P2GamepadMiddleClick = 16384
P2GamepadStick = L
P2GamepadvibrationEnabled = 0
P2GamepadvibrationLength = 50
P2GamepadvibrationStrength = 0

;Model2 emulator keyboard keys to change in-game crosshairs
M2_P1_CH = 8
M2_P2_CH = 9
M2_CH_VIS = 10

;Enable Pedal-Mode for TTX Gundam Zeon, and set Keys
GSOZ_P1_PEDAL_ENABLE = 0
GSOZ_P1_PEDAL_KEY = 34
GSOZ_P2_PEDAL_ENABLE = 0
GSOZ_P2_PEDAL_KEY = 35

;Offset for devices lacking calibration (Act Labs gun, etc...)
Act_Labs_Offset_Enable = 0
Act_Labs_Offset_X_P1 = 0
Act_Labs_Offset_Y_P1 = 0
Act_Labs_Offset_X_P2 = 0
Act_Labs_Offset_Y_P2 = 0

;Virtual MiddleButton keys for users who don't have more than a trigger with Aimtrak
P1_VirtualMiddle_Enable = 0
P1_VirtualMiddle_Key = 48
P2_VirtualMiddle_Enable = 0
P2_VirtualMiddle_Key = 49

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1153 on: February 08, 2018, 05:38:00 pm »
i have been trying for 3days and cant get dual guns to work in dolphin (ghost squad) i cant get it to load in dx it will show everything is fine and traks well but i have no idea what im doing wrong i have been reading and reading and tried on two diff. cpu's and still nothing
Hi and welcome

I'm sorry but I don't really understand what your problem is  :(

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 #1154 on: February 09, 2018, 07:53:52 pm »
Quote
Hi Argon, I have a little problem with Aliens, i'm with demulshooter 7.0d, and using ps2 guns + burn456 flasher + custom trigger delayer + topgun driver in 640x480 15hz screen, win10.
First I used your reschanger to set the game to 640x480, and the game set my screen out of range, so I used ahk to create a false fullscreen.
using demulshooter, my shots go to the top-left corner major times, sometimes to the right place, and I thought it was some problem with the sync of the flasher, as crt guns needs it just in time.
But I tried the mouseEnabler you did with the -res params for 640x480 and works perfect with one gun
Any clue about this? Its odd, i dont understand why can it be, if I use demulshooter and mouse enabler at once, coordinates are ok, no 0,0 shots, but p1sometimes shot where 2p is aiming and backwards, 1p shots p1and p2 bullets, p2 only p2 bullets. I was not confident it should work, but results may be useful...

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Yesterday at 05:34:07 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1155 on: February 12, 2018, 11:44:49 am »
Quote
Hi Argon, I have a little problem with Aliens, i'm with demulshooter 7.0d, and using ps2 guns + burn456 flasher + custom trigger delayer + topgun driver in 640x480 15hz screen, win10.
First I used your reschanger to set the game to 640x480, and the game set my screen out of range, so I used ahk to create a false fullscreen.
using demulshooter, my shots go to the top-left corner major times, sometimes to the right place, and I thought it was some problem with the sync of the flasher, as crt guns needs it just in time.
But I tried the mouseEnabler you did with the -res params for 640x480 and works perfect with one gun
Any clue about this? Its odd, i dont understand why can it be, if I use demulshooter and mouse enabler at once, coordinates are ok, no 0,0 shots, but p1sometimes shot where 2p is aiming and backwards, 1p shots p1and p2 bullets, p2 only p2 bullets. I was not confident it should work, but results may be useful...
If you're using both programs at the same time, you'll have weird behavior as both are changing the program's memory at the same time ! One is sourcing from the gun (Demulshooter uses rawinput) and the other one is sourcing from windows's cursor location

I didn't have any time recently and I'm going away untill late february. Unfortunatelly your issue is really really specific and there are a lot of source of trouble with all hardware/software mods you'll have to use

HWT

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:December 24, 2018, 10:32:14 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1156 on: February 13, 2018, 03:26:19 am »
Hello. I get to play VCOP2 & HOTD, 2 players with Aimtrak guns via Model 2 Emulator. DemulShooter is great!

I would like to make a request. Am i able to remap the "reload trigger/mouse right click/shoot off screen" to my keyboard or usb foot pedal?

Doing so with the keyboard, i thought of using xpadder to remap the reload trigger to the buttons on aimtrak guns.

mickael28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 183
  • Last login:July 01, 2020, 07:56:15 am
  • I want to build my own arcade controls!
Wiimote, Touchmote, Demulshooter config
« Reply #1157 on: February 17, 2018, 07:33:34 pm »
You can try these :

First step, to be sure that your Wiimotes are working well with DemulShooter :
- Run DemulShooter in GUI mode
- Go to the Calibration tab and check the option to show a mark on screen
- Move your Wiimote and press the button you choose as left-click, you should see a mark on the screen where the pointer should be
If you see those marks you're OK, if not, you may have selected the wrong device or there is anotheer issuse


Hi, this was working fine a few months ago with my Wiimote, TouchMote and Demulshooter.

I updated both softwares today, and now it seesm Demulshooter doesn't recognize the Wiimote anymore, ie, I go to the Calibration tab and there's no mark on the screen when I shoot, just the pointer from Touchmote.

In Demulshooter I choose:
 * P1 Device = XInput Gamepad #1 (the other only option is a really long \\?\\HID#VID... device which doesn't ave the Gamepad Options enabled)
 * Mouse Left = B

In Touchmote I tried two configs:
 1. B button in wiimote = B button (360 controller)
 2. B button in wiimote = left mouse click

None of these settings seem to work, but I saw it working in the past, do you know what could be wrong now? or what I could try to troubleshoot it?

Thank you!

mickael28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 183
  • Last login:July 01, 2020, 07:56:15 am
  • I want to build my own arcade controls!
Re: Wiimote, Touchmote, Demulshooter config
« Reply #1158 on: February 17, 2018, 07:41:33 pm »
In Touchmote I tried two configs:
 1. B button in wiimote = B button (360 controller)
 2. B button in wiimote = left mouse click

None of these settings seem to work, but I saw it working in the past, do you know what could be wrong now? or what I could try to troubleshoot it?

Replying to myself, the setting 1 works!! (B button in wiimote = B button (360 controller)), the problem was that I was not selecting the correct layout. To do so one needs:
* Press HOME in the wiimote for 3 secs
* Select the correct layout by pressing the A button in the wiimote (if one presses B button to select and Home to exit, it won't work!)

Going back to the games now :)

Thanks!

mickael28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 183
  • Last login:July 01, 2020, 07:56:15 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1159 on: February 17, 2018, 09:10:34 pm »
Hi argonlefou, I thought that I was going to have a few games running today with Demulshooter, but not even a single one (which I saw working a few months ago with different versions of Teknoparrot 1.35, Game loader All RH v296 and Demulshooter 7.2a).

I tried Let's Go Island and most of the debug.txt file says:

Code: [Select]
01:41:32.007905 : Error converting screen location to client location
01:41:32.028969 : Error converting screen location to client location
01:41:32.056031 : Error converting screen location to client location
01:41:32.076084 : Error trying to hook LGI_RingW_F_Safe.exe
01:41:32.561375 : Error trying to hook LGI_RingW_F_Safe.exe
01:41:33.062708 : Error trying to hook LGI_RingW_F_Safe.exe

Attaching the complete file below. Do you know what could be going on? I did:

* Launch demulshooter from command line with either:
  • DemulShooter.exe -target=ringwide -rom=lgi
  • DemulShooter.exe -target=ringwide -rom=lgi -parrotloader

* In Teknoparrot I've tried:
  • DInput
  • XInput
  • Use mouse for gun games: ticked
  • Use mouse for gun games: unticked


Then launch LGI via 'Game Loader All RH v296' as launching it in any other ways just crashes for me. In all cases, my Wiimote was not recognised.

If I exit, it is recognised fine when I am in the calibration tab on Demulshooter.

Do you know what else I could try pls?

Thanks.

PS: Launching 'Game Loader All RH' as Admin I get a different error:
Code: [Select]
03:04:04.751332 : Error converting screen location to client location
03:04:04.756346 : ScreenToClient API error : Cannot create a file when that file already exists
03:04:04.760357 : Error converting screen location to client location
03:04:04.765383 : ScreenToClient API error : Cannot create a file when that file already exists
03:04:04.769382 : Error converting screen location to client location

Attaching the whole file below as well..
« Last Edit: February 17, 2018, 10:06:20 pm by mickael28 »