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

0 Members and 1 Guest are viewing this topic.

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1000 on: December 16, 2017, 06:50:38 pm »
First of all thank you very much for this excellent software argonlefou  :applaud:
I tried to get my dual Aimtraks working with Lets Go Island via the new TeknoParrot 1.20 - but it seems there were some major I/O changes like stated in the changelog.
So Demulshooter doesnt work at all, I tried several configurations and switches like "-parrotloader" but had no luck.
In Test Mode, I dont have gun movement at all. Neither P1 or P2  :cry:

So is it just me or is it not yet compatible with TP 1.20?

the debug log shows no error:

Code: [Select]
23:59:09.633251 :
23:59:09.648904 : -------------------- Program Start ----------------------
23:59:09.648904 : P1 device = \\?\HID#VID_D209&PID_1603&MI_02#7&16ec4b4a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
23:59:09.664497 : P1 device handle = 1181021
23:59:09.664497 : P2 device  = \\?\HID#VID_D209&PID_1604&MI_02#7&37a156&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
23:59:09.664497 : P2 device handle = 60228583
23:59:09.680143 : Cmdline arg 1 : -v
23:59:09.680143 : Cmdline arg 2 : -target=ringwide
23:59:09.680143 : Cmdline arg 3 : -rom=lgi
23:59:09.711375 : Waiting for RingWide lgi game to hook.....
23:59:41.743014 : Error trying to hook LGI_RingW_F_Safe.exe
23:59:42.244094 : Error trying to hook LGI_RingW_F_Safe.exe
23:59:51.223439 : Attached to Process LGI_RingW_F_Safe.exe, ProcessHandle = 1568
23:59:51.228443 : LGI_RingW_F_Safe.exe = 0x00400000
23:59:51.233446 : Data base adddress =  0x0EE66660
23:59:51.243955 : Adding CodeCave at : 0x13180000
23:59:51.249477 : Memory Hack complete !
23:59:51.255474 : -
00:00:11.724456 : LGI_RingW_F_Safe.exe closed

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 #1001 on: December 17, 2017, 10:11:51 am »
TP 1.20 does not work for me either.
Try 0.53, it works without a glitch with demulshooter.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1002 on: December 18, 2017, 06:50:58 am »
-parrotloader option is not used with operation ghost, as the game does not need Teknoparrot to be played
You can easily map those keys to your Gamepad buttons with a simple AHK script
Tried this but it didn't work.

Joy 1::Send {5}  ; Have button #8 send a 5 keystroke.
Send {1}  ; Have button #9 send a 1 keystroke.
Joy 2::Send {Add}  ; Have button #9 send a Add keystroke.

 Any ideas for the proper script?
Here's my Operation GHOST script for inputs :
Code: [Select]
#SingleInstance force

;Hide Mouse Cursor
Run, C:\Program Files (x86)\nomousy\nomousy.exe -h, C:\Program Files (x86)\nomousy\

Run, "D:\RingWide\og\Game Loader All RH.exe", D:\RingWide\og\

;2p support
Run, C:\Program Files (x86)\DemulShooter\DemulShooter.exe -target=ringwide -rom=og, C:\Program Files (x86)\DemulShooter

;Credits
1Joy4::
Send {LCtrl Down}
Send {F1 Down}
Sleep 100
Send {LCtrl Up}
Send {F1 Up}
Return
;Credits
2Joy4::
Send {LCtrl Down}
Send {F1 Down}
Sleep 100
Send {LCtrl Up}
Send {F1 Up}
Return

; START P1
1Joy3::
Send {Enter Down}
Sleep 100
Send {Enter Up}
Return

; START P2
2Joy3::
Send {NumpadAdd Down}
Sleep 100
Send {NumpadAdd Up}
Return

You'll have to find your proper JoyXXX input to replace


First of all thank you very much for this excellent software argonlefou  :applaud:
I tried to get my dual Aimtraks working with Lets Go Island via the new TeknoParrot 1.20 - but it seems there were some major I/O changes like stated in the changelog.
So Demulshooter doesnt work at all, I tried several configurations and switches like "-parrotloader" but had no luck.
In Test Mode, I dont have gun movement at all. Neither P1 or P2  :cry:

So is it just me or is it not yet compatible with TP 1.20?
TP 1.20 changed a lot of things from what I read on the changelog
They got rid of com0com external emulation nd replaced it with some kind of dll-hook-emulation so I'm not surprised it's not working anymore
Moreover the ability to run the game on a window will make diagnostics easier to mod them and find memory data, so I'll give a look...even if I don't know if it's worth the update (with all the bugs added)
« Last Edit: December 18, 2017, 06:52:45 am by argonlefou »

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 #1003 on: December 18, 2017, 02:26:22 pm »
Hi Argon,

I looked at the latest public sources for TP 0.8 and I found out that the 'use keyboard' is ignored for LGI.

The condition in the keyboard is as follows:
Code: [Select]
            if (_settingsData.UseKeyboard &&
                (InputCode.ButtonMode == GameProfiles.MeltyBlood ||
                 InputCode.ButtonMode == GameProfiles.VirtuaTennis4))
            {
                kc.Subscribe(directInputThreadP1 == null, directInputThreadP2 == null);
            }

so it defaults to the standard keyboard input (in the RawInputListener) and this is the code:

Code: [Select]
        void SetPlayerButton(Keys key, bool pressed)
        {
            _logger.Log(string.Format("SetPlayerButton: Key: {0}, Pressed: {1}", key, pressed));

            if (key == Keys.D8)
            {
                InputCode.PlayerOneButtons.Test = pressed;
            }
            if (key == Keys.D9)
            {
                InputCode.PlayerOneButtons.Service = pressed;
            }
            if (key == Keys.D0)
            {
                InputCode.PlayerTwoButtons.Service = pressed;
            }
      }

So obviously, the default P2 Start will not work.  I fixed the code so that 0.8 now works.
I will deassemble the TP 1.21 code to see if I can find the problem with that one too because I get similar issue.

thanks,
« Last Edit: December 18, 2017, 02:42:14 pm by Phil1972 »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1004 on: December 18, 2017, 05:32:34 pm »
Yup, and that's why -parrotloader option was created, because whoever is in charge of inpu handling does not care to debug. And because TP is NOT opensource and I don't want to patch each version of the emulator, so I'm directly writing to the game with my own button handling for both player START , SERVICE and TEST buttons

That being said, I downloaded TP 1.20 (and uninstalled com0com to be sure),  and so far Let's Go Island is running fine with demulshooter (in-game AND test mode)
With -parrotloader, buttons are working fine too for both player (again, in-game and TEST mode)
I'll test on another computer with other games too tomorrow
« Last Edit: December 18, 2017, 05:40:03 pm by argonlefou »

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 #1005 on: December 18, 2017, 09:05:46 pm »
Yup, and that's why -parrotloader option was created, because whoever is in charge of inpu handling does not care to debug. And because TP is NOT opensource and I don't want to patch each version of the emulator, so I'm directly writing to the game with my own button handling for both player START , SERVICE and TEST buttons

That being said, I downloaded TP 1.20 (and uninstalled com0com to be sure),  and so far Let's Go Island is running fine with demulshooter (in-game AND test mode)
With -parrotloader, buttons are working fine too for both player (again, in-game and TEST mode)
I'll test on another computer with other games too tomorrow

Yes, it seems the QA group is very limited ;)
I will give 1.21 a try without com0com.

thanks for your time on this, very appreciated.

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 #1006 on: December 18, 2017, 09:46:59 pm »
With 1.21 and 1.20, I get this when I try the -parrotloader options:

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at DemulShooter.Game_RwLGI._Tmr_DIKeyboard_Tick(Object Sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8794 (WinRelRS2.050727-8700)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DemulShooter
    Assembly Version: 6.9.0.18145
    Win32 Version: 6.9.0.18145
    CodeBase: file:///H:/Emulators/Arcades%20Dumps/Sega%20Lets%20Go%20Island/Sega%20Lets%20Go%20Island/DemulShooter/DemulShooter.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8800 (WinRelRS2.050727-8800)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.DirectInput
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///H:/Emulators/Arcades%20Dumps/Sega%20Lets%20Go%20Island/Sega%20Lets%20Go%20Island/DemulShooter/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.9307
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1007 on: December 19, 2017, 02:21:13 am »
Wow...I don't see why this error would bespecific with 1.20 or 1.21, this timer is used anyway even with 0.80 :o

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1008 on: December 19, 2017, 06:36:16 am »
Well.... I've succesfully tested TP 1.20 with LGI, SGG, SDR and demulshooter.
Tried by running TeknoPArrotUI, or directly with command line
Everything is working fine, TEST menu changes are saved on exit, games are running fine on window or full screen
The big change is for Goldel Gun (for which I still can't get the TEST menu) which is now forced to freeplay and without the intermediate-bonuses-screen on startup or continue, so I'll revert back the hook to the first and simplest one for now (the one before 6.9a update)


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 #1009 on: December 19, 2017, 08:33:47 am »
Wow...I don't see why this error would bespecific with 1.20 or 1.21, this timer is used anyway even with 0.80 :o

After testing, I got the same with 0.8 it seems. :o
Wich object is null? any particular reason? I guess its related to something that I might be missing on my PC ?

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 #1010 on: December 19, 2017, 08:36:08 am »
Well.... I've succesfully tested TP 1.20 with LGI, SGG, SDR and demulshooter.
Tried by running TeknoPArrotUI, or directly with command line
Everything is working fine, TEST menu changes are saved on exit, games are running fine on window or full screen
The big change is for Goldel Gun (for which I still can't get the TEST menu) which is now forced to freeplay and without the intermediate-bonuses-screen on startup or continue, so I'll revert back the hook to the first and simplest one for now (the one before 6.9a update)

Thanks for testing this, I am closing a game at a time.  I will finish with LGI (as soon as I figure out why Demulshooter crashes) and I will try to fix Operation Ghost and Golden Gun after that.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1011 on: December 19, 2017, 09:45:00 am »
Wow...I don't see why this error would bespecific with 1.20 or 1.21, this timer is used anyway even with 0.80 :o

After testing, I got the same with 0.8 it seems. :o
Wich object is null? any particular reason? I guess its related to something that I might be missing on my PC ?
I can't say, the message is not that explicit unfortunatelly
Missing on your PC ? I don't think so...but you can try to replace the Microsoft.DirectX.DirectInput.dll on the folder with the one already existing on your windows filesystem. Maybe the dll I'm deploying is not compatible anymore with newest windows
If this is not the problem, well....it's because of some compatibility/administrator issue to be able to access and modify memory :(

I'd advise you to wait a couple of days for Golden Guns, I'm making a small modification for it

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 #1012 on: December 19, 2017, 01:11:44 pm »
Wow...I don't see why this error would bespecific with 1.20 or 1.21, this timer is used anyway even with 0.80 :o

After testing, I got the same with 0.8 it seems. :o
Wich object is null? any particular reason? I guess its related to something that I might be missing on my PC ?
I can't say, the message is not that explicit unfortunatelly
Missing on your PC ? I don't think so...but you can try to replace the Microsoft.DirectX.DirectInput.dll on the folder with the one already existing on your windows filesystem. Maybe the dll I'm deploying is not compatible anymore with newest windows
If this is not the problem, well....it's because of some compatibility/administrator issue to be able to access and modify memory :(

Ok, I will see if I can figure out what is going on.

Quote
I'd advise you to wait a couple of days for Golden Guns, I'm making a small modification for it

perfect, thanks.

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1013 on: December 19, 2017, 04:14:53 pm »
Well.... I've succesfully tested TP 1.20 with LGI, SGG, SDR and demulshooter.
Tried by running TeknoPArrotUI, or directly with command line
Everything is working fine, TEST menu changes are saved on exit, games are running fine on window or full screen
The big change is for Goldel Gun (for which I still can't get the TEST menu) which is now forced to freeplay and without the intermediate-bonuses-screen on startup or continue, so I'll revert back the hook to the first and simplest one for now (the one before 6.9a update)

After you said that LGI works with 1.21, I tried again but it still doesn't work. All I get is this "Cannot read memory at address" error.
I tried everything, run DemulSoooter as admin and without admin, run with and without antivirus, fullscreen and windowed, test mode and fullplay.
There are always 2 "Error trying to hook LGI_RingW_F_Safe.exe" before it seems to finally hook the .exe, here is the debug log:

Code: [Select]
21:49:45.661742 : -------------------- Program Start ----------------------
21:49:45.662243 : P1 device = \\?\HID#VID_D209&PID_1603&MI_02#7&16ec4b4a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
21:49:45.662243 : P1 device handle = 10749359
21:49:45.662686 : P2 device  = \\?\HID#VID_D209&PID_1604&MI_02#7&37a156&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
21:49:45.663186 : P2 device handle = 6817209
21:49:45.663689 : Cmdline arg 1 : -v
21:49:45.664189 : Cmdline arg 2 : -target=ringwide
21:49:45.664189 : Cmdline arg 3 : -rom=lgi
21:49:45.664689 : Cmdline arg 4 : -parrotloader
21:49:45.777555 : DirectInput Keyboard hook installed
21:49:45.784059 : Waiting for RingWide lgi game to hook.....
21:50:10.307430 : Error trying to hook LGI_RingW_F_Safe.exe
21:50:10.809388 : Error trying to hook LGI_RingW_F_Safe.exe
21:50:22.319579 : Attached to Process LGI_RingW_F_Safe.exe, ProcessHandle = 1660
21:50:22.319579 : LGI_RingW_F_Safe.exe = 0x00400000
21:50:22.320079 : Data base adddress =  0x126ED998
21:50:22.322580 : Memory Hack complete !
21:50:22.323081 : -
21:51:45.999899 : Cannot read memory at address 0x126ED99D
21:51:46.000399 : Cannot read memory at address 0x126ED9A1
21:51:46.029920 : Cannot read memory at address 0x126ED99D
21:51:46.029920 : Cannot read memory at address 0x126ED9A1
21:51:46.061942 : Cannot read memory at address 0x126ED99D

What could be wrong?  ???

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 #1014 on: December 19, 2017, 10:15:17 pm »
Hi Argon,

I successfully fixed TP 1.21 to provide the default player 2 key.  I cannot imagine no one tested this, in any case, how should I proceed to release such a fix?  I am trying to get on teknogods forum to get to Reaver, but I am unable to do it... seems new registration email does not get anywhere anymore :(.  I was able to rebuild the common dll with the necessary fixes to the code.

I will now try to find why demulshooter crashes on me with the -parrotloader switch.

@LT Frost: do you get a popup window indicating an error ?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1015 on: December 20, 2017, 05:07:29 am »
After you said that LGI works with 1.21, I tried again but it still doesn't work. All I get is this "Cannot read memory at address" error.
I tried everything, run DemulSoooter as admin and without admin, run with and without antivirus, fullscreen and windowed, test mode and fullplay.
There are always 2 "Error trying to hook LGI_RingW_F_Safe.exe" before it seems to finally hook the .exe, here is the debug log:

Code: [Select]
21:49:45.661742 : -------------------- Program Start ----------------------
21:49:45.662243 : P1 device = \\?\HID#VID_D209&PID_1603&MI_02#7&16ec4b4a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
21:49:45.662243 : P1 device handle = 10749359
21:49:45.662686 : P2 device  = \\?\HID#VID_D209&PID_1604&MI_02#7&37a156&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
21:49:45.663186 : P2 device handle = 6817209
21:49:45.663689 : Cmdline arg 1 : -v
21:49:45.664189 : Cmdline arg 2 : -target=ringwide
21:49:45.664189 : Cmdline arg 3 : -rom=lgi
21:49:45.664689 : Cmdline arg 4 : -parrotloader
21:49:45.777555 : DirectInput Keyboard hook installed
21:49:45.784059 : Waiting for RingWide lgi game to hook.....
21:50:10.307430 : Error trying to hook LGI_RingW_F_Safe.exe
21:50:10.809388 : Error trying to hook LGI_RingW_F_Safe.exe
21:50:22.319579 : Attached to Process LGI_RingW_F_Safe.exe, ProcessHandle = 1660
21:50:22.319579 : LGI_RingW_F_Safe.exe = 0x00400000
21:50:22.320079 : Data base adddress =  0x126ED998
21:50:22.322580 : Memory Hack complete !
21:50:22.323081 : -
21:51:45.999899 : Cannot read memory at address 0x126ED99D
21:51:46.000399 : Cannot read memory at address 0x126ED9A1
21:51:46.029920 : Cannot read memory at address 0x126ED99D
21:51:46.029920 : Cannot read memory at address 0x126ED9A1
21:51:46.061942 : Cannot read memory at address 0x126ED99D

What could be wrong?  ???
"Error trying to hook LGI_RingW_F_Safe.exe" is not a big deal, as long as it's not where it stops. It can sometimes not acces the process on the first try, that's normal

But the last ones, "Cannot read memory at address" IS the big deal....for these games, axis and button addresses are dynamic and for an unknown reason, the calculated adress is wrong :( So no wonder you have no control, DemulShooter is trying to write data at the wrong place.
The question is....why ? I've never seen this untill now :(
I take it for granted you're using the same LGI dump, and that the dump is working good with older TeknoParrot ?
Did you try with Sega Dream Raiders ?

Hi Argon,

I successfully fixed TP 1.21 to provide the default player 2 key.  I cannot imagine no one tested this, in any case, how should I proceed to release such a fix?  I am trying to get on teknogods forum to get to Reaver, but I am unable to do it... seems new registration email does not get anywhere anymore :(.  I was able to rebuild the common dll with the necessary fixes to the code.
Honestly I don't know...IMO the better solution is exactly what you did
I once wanted to do the same and directly mod TP dll/exe to add good lightgun support but I'm glad I didn't...I'll not debate about TP philosophy/purpose here, but you just have to know that correcting bugs is not a part of it....

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1016 on: December 20, 2017, 05:59:15 am »
With 1.21 and 1.20, I get this when I try the -parrotloader options:

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at DemulShooter.Game_RwLGI._Tmr_DIKeyboard_Tick(Object Sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8794 (WinRelRS2.050727-8700)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DemulShooter
    Assembly Version: 6.9.0.18145
    Win32 Version: 6.9.0.18145
    CodeBase: file:///H:/Emulators/Arcades%20Dumps/Sega%20Lets%20Go%20Island/Sega%20Lets%20Go%20Island/DemulShooter/DemulShooter.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8800 (WinRelRS2.050727-8800)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8784 (WinRel.050727-8700)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.DirectInput
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///H:/Emulators/Arcades%20Dumps/Sega%20Lets%20Go%20Island/Sega%20Lets%20Go%20Island/DemulShooter/Microsoft.DirectX.DirectInput.DLL
----------------------------------------
Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.9307
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------

If the error window is appearing when the game is closed or just when it's closing itself, it's not the cause but a consequence : I have it too when the game is crashing because my timer's thread do not terminate properly before the main program
This has been on my todo list for ages but I forgot untill this morning...this should be settle now

So, here's the last update : DemulShooter v7.0
Code: [Select]
- DemulShooter commandlines can now be run from anywhere (no need to "cd" to the directory)
- Changed back Sega Golden Mode hack to the original one, it is working better with TeknoParrot v1.20 (and newer)
- Corrected a bug for RingWide game where DemulShooter was displaying error windows when the game was closing
- Added support for latest Demul 0.7a build 111117
- For Demul/Atomiswave/sprtshot rom, game is reloading only with offscreen shoot, so I added right-click reload.
- For Demul/Naomi/Pokasuka rom, added middle click for charging "power shot" as well as right click
- For Demul/Naomi/deathcox rom, game is reloading only when the pointer is moved out of the screen, so I added right-click reload.
- Added for both Player an option to activate and choose a Keyboard Key to simulate a Middle Click button.
- Added a small utility (Ds_Diag.exe) to find and test RawInput devices. Does not work with Xinput (Windows already has what you need to test a gamepad)
- Replaced old READMe text file by a PDF User Guide
This should cover every point discussed recently (virtual button, demul, diagnostic utility...)
Note that I found a couple of bugs, see the last section in the user guide. The most important is Ninja Assault not working with Xinput, because I think my Xinput handling procedure is not perfect. I'll check it out later


Do not hesitate to repport bugs
« Last Edit: December 20, 2017, 07:05:43 am by argonlefou »

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1017 on: December 20, 2017, 07:01:28 am »

But the last ones, "Cannot read memory at address" IS the big deal....for these games, axis and button addresses are dynamic and for an unknown reason, the calculated adress is wrong :( So no wonder you have no control, DemulShooter is trying to write data at the wrong place.
The question is....why ? I've never seen this untill now :(
I take it for granted you're using the same LGI dump, and that the dump is working good with older TeknoParrot ?
Did you try with Sega Dream Raiders ?

Just to be sure, the CRC32 of my LGI exe is A5A4B296. The Buttons for P1 and P2 Start are working, as well as TEST and SERVICE buttons.
I also dont understand why it cannot read the memory, I already started everything as admin and moved LGI out of C:\Program Files (x86)\ just to be sure it does not get protected by Windows somehow...
I have set my screen resolution to 1024x600 to run LGI in fullscreen, but you said it was also working in fullscreen for you ???
I also cannot run Operation Ghost with DemulShooter, it always crashes at the start. Without demulshooter, it works perfectly. This is the crash:



Looking through the thread, there was someone who had a similar crash but no solution was found.

I am using Windows 10 x64 newest build, along with Intel HD graphics GPU. Which shouldnt be a problem because the games run fine without Demulshooter.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1018 on: December 20, 2017, 07:11:35 am »
Just to be sure, the CRC32 of my LGI exe is A5A4B296.
So far it's ok, I've the same

I am using Windows 10 x64 newest build, along with Intel HD graphics GPU. Which shouldnt be a problem because the games run fine without Demulshooter.
Windows10 strikes again...I'm affraid I won't be of any help
I've found an old HDD, if I have the time I'll try to install a copy of Win10 on it. All these Win10 weirdness are making me really curious....

Edit: Just in case, did you try to modify compatibility mode of the .exe ?
« Last Edit: December 20, 2017, 07:26:27 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 #1019 on: December 20, 2017, 07:34:20 am »
Hi Argonlefou, Hi Lt.Frost,

@Argonlefou: Thanks again for all your efforts  :applaud:

@Lt.Frost: I can reproduce your error, please try this:

In TeknoParrot OG game settings check General - Windowed
so that the later on generated Teknoparrot.ini in the OG folder looks like this:

Quote
[General]
DongleRegion=USA
PcbRegion=USA
FreePlay=1
Windowed=1

In gs2.ini set FullScreen=1

No more crash for me using Demulshooter 7.0
« Last Edit: December 20, 2017, 07:35:56 am by Ginsonic »

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1020 on: December 20, 2017, 07:55:37 am »
Hi Argonlefou, Hi Lt.Frost,

@Argonlefou: Thanks again for all your efforts  :applaud:

@Lt.Frost: I can reproduce your error, please try this:

In TeknoParrot OG game settings check General - Windowed
so that the later on generated Teknoparrot.ini in the OG folder looks like this:

Quote
[General]
DongleRegion=USA
PcbRegion=USA
FreePlay=1
Windowed=1

In gs2.ini set FullScreen=1

No more crash for me using Demulshooter 7.0

Thank you for the advice, I tried but unfortunately I get the same errors for both games :cry:

Windows10 strikes again...I'm affraid I won't be of any help
I've found an old HDD, if I have the time I'll try to install a copy of Win10 on it. All these Win10 weirdness are making me really curious....

Edit: Just in case, did you try to modify compatibility mode of the .exe ?

Compatibility mode does not help unfortunately. I made some research and my guess is that it could be a DirectX Input issue.
When I ran the ds_diag.exe from you new v7.0, I have no gun movement at all no matter which one I select.
I have installed older DirectX runtimes as advised here: https://answers.microsoft.com/en-us/insider/forum/insider_apps-insider_other/x360ce-doesnt-work-on-windows-10/58a76e88-ec68-4e4d-8945-749127f86ea3
but with no luck. Maybe it has something to do with the Microsoft.DirectX.DirectInput.dll that you are using?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1021 on: December 20, 2017, 08:21:56 am »
It could, but that directX dll is only used for Keyboard keys, not for Aimtraks
And the fact that you have nothing in Ds_Diag is really weird too. So you also have a driver/Aimtrak issue on top of LGI memory issue :(

By the log you post earlier I can just tell you set your Aimtraks to device #3 and #4
You checked "emulate mouse" (and not joystick) in Aimtrak Utility for both guns ?

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1022 on: December 20, 2017, 08:29:23 am »
It could, but that directX dll is only used for Keyboard keys, not for Aimtraks
And the fact that you have nothing in Ds_Diag is really weird too. So you also have a driver/Aimtrak issue on top of LGI memory issue :(

By the log you post earlier I can just tell you set your Aimtraks to device #3 and #4
You checked "emulate mouse" (and not joystick) in Aimtrak Utility for both guns ?

Correct, they are set as 3 and 4, I can change them to 1 and 2 just to try. They are set to "emulate mouse" and are working perfectly (I have the Z-Tilt correction Off), I have tried them with the Supermodel3 emulator and "Lost World". Here, dual guns are working without any issue so I guess the Aimtraks are set up correctly.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1023 on: December 20, 2017, 08:38:02 am »
Don't bother to change Aimtrak ID, it's not the issue.
But damn, from what you're telling me.....I really have no clue

Lt.Frost

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 21, 2018, 04:14:04 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1024 on: December 20, 2017, 08:49:02 am »
I have no clue either ??? Although I thought I was good at IT, I feel like I have to go back to elementary school :laugh2:

It must be a Windows 10 issue - I searched a bit for "Windows 10 raw input" and found that Counter Strike GO players were complaining about the Creators Update broke the Raw Input feature, but it was fixed again in the last Update - which I have.

Is there someone using Windows 10 version 1709 build 16299.98 with working dual Lightguns with Demulshooter?

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 #1025 on: December 20, 2017, 10:00:21 am »
Sorry for talking BS in my last posting, but I still get the same error, it was only not visible because of the weird combination "Windowed and full screen"  :banghead:
And I also get no response in the DS_Diag Tool from my Aimtraks and no more crosshair in the TP games.
I am sure, it worked some weeks ago, so something must have changed in Windows 10 (currently 16299.125)...

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 #1026 on: December 20, 2017, 10:14:34 am »
I have no clue either ??? Although I thought I was good at IT, I feel like I have to go back to elementary school :laugh2:

It must be a Windows 10 issue - I searched a bit for "Windows 10 raw input" and found that Counter Strike GO players were complaining about the Creators Update broke the Raw Input feature, but it was fixed again in the last Update - which I have.

Is there someone using Windows 10 version 1709 build 16299.98 with working dual Lightguns with Demulshooter?

Yes, I have that version (.125 I think, but same thing) and it works fine with LGI, Haunted Museum, Fright Fear Land.  I am not finished with others yet.  I am doing one at a time.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1027 on: December 20, 2017, 01:17:13 pm »
I just installed Windows 10 x64 (Home Version) version 1709 build 16299.125 on a spare disk

Out of the box, no gun detected in Ds_Diag and no way to run Operation ghost or Teknoparrot Games at all (without DemulShooter)
I installed my NVIDIA drivers and DirectX9.0c runtime, this fixed Operation Ghost and Teknoparrot games

I was able to find what changed in Windows10 for RawInput messages, and succesfully fixed it

But I'll post the update later....now that I can have Operation Ghost crashing with DemulShooter, I'd like to look at it before
Win10 really sucks

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1028 on: December 20, 2017, 01:18:29 pm »
I just installed Windows 10 x64 (Home Version) version 1709 build 16299.125 on a spare disk

Out of the box, no gun detected in Ds_Diag and no way to run Operation ghost or Teknoparrot Games at all (without DemulShooter)
I installed my NVIDIA drivers and DirectX9.0c runtime, this fixed Operation Ghost and Teknoparrot games

I was able to find what changed in Windows10 for RawInput messages, and succesfully fixed it

But I'll post the update later....now that I can see Operation Ghost crashing with DemulShooter myself, I'd like to look at it before
Win10 really sucks

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 #1029 on: December 20, 2017, 01:58:38 pm »
I just installed Windows 10 x64 (Home Version) version 1709 build 16299.125 on a spare disk

Out of the box, no gun detected in Ds_Diag and no way to run Operation ghost or Teknoparrot Games at all (without DemulShooter)
I installed my NVIDIA drivers and DirectX9.0c runtime, this fixed Operation Ghost and Teknoparrot games

I was able to find what changed in Windows10 for RawInput messages, and succesfully fixed it

But I'll post the update later....now that I can have Operation Ghost crashing with DemulShooter, I'd like to look at it before
Win10 really sucks

Good that you were able to get the same issues ;)

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 #1030 on: December 20, 2017, 02:00:36 pm »
Quote
I was able to find what changed in Windows10 for RawInput messages, and succesfully fixed it

Thanks so much again  :cheers:

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1031 on: December 20, 2017, 07:08:36 pm »
DemulShooter v7.0a :
- Fixed RawInput handling for latest Windows 10 compatibility
- Fixed Operation GHOST, it's not crashing anymore with Windows 10

Enjoy !
« Last Edit: December 20, 2017, 07:14:19 pm 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 #1032 on: December 21, 2017, 04:14:22 am »
DemulShooter v7.0a :
- Fixed RawInput handling for latest Windows 10 compatibility
- Fixed Operation GHOST, it's not crashing anymore with Windows 10

Enjoy !

 :notworthy:  :applaud:

zelectah

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:June 17, 2021, 02:00:23 pm
  • Setting up an arcade pc :3
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1033 on: December 21, 2017, 07:44:11 am »
Dear AC board,

I am relativly new to this whole arcade topic, but got a few years of collecting and modding consoles as experience.
But first I want to introduce myself and say "HI" to everyone here. I am from germany, 32 years old and right in the middle of setting up an arcade pc.

Its an AMD 8-kernel, 16gb ddr3 ram, 1060Ti, win7 64bit and enough space for all the cool stuff :D.

My favorit gerne is the light gun genre. So at the beginning I red a lot about it and which guns or method to choose.
My decision was going with the dolphin bar and a pair of wiimotes for at the moment. Maybe I will invest in a pair of aimtraks in the future, but this isn't the topic at the moment ^^.

I got everything hooked up, dolphin bar, wiimote with touchmote and got several profiles for mame (which is working perfectly with the motes), Sega model 3, a several pc games and also demulshooter is working great besides one thing.

Demulshooter is not using my whole tv field. On both sides, right and left, are 2 areas which I cannot shoot, like a 4cm bar on each side.
I draw a small pic to discribe it. The black areas are the dead areas I can't shoot. When I set the x-offset to 200, then I can shoot right to the right frame but on the left side the deadzone is double as big, like 8cm.
Can I fix this or is it normal because of the 16:9 format of my tv?

Thx for your help
« Last Edit: December 21, 2017, 08:43:57 am by zelectah »

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 #1034 on: December 21, 2017, 09:33:53 am »
DemulShooter v7.0a :
- Fixed RawInput handling for latest Windows 10 compatibility
- Fixed Operation GHOST, it's not crashing anymore with Windows 10

Enjoy !

Thanks Argon! Can't wait to try it.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1035 on: December 21, 2017, 10:38:07 am »

I got everything hooked up, dolphin bar, wiimote with touchmote and got several profiles for mame (which is working perfectly with the motes), Sega model 3, a several pc games and also demulshooter is working great besides one thing.

Demulshooter is not using my whole tv field. On both sides, right and left, are 2 areas which I cannot shoot, like a 4cm bar on each side.
I draw a small pic to discribe it. The black areas are the dead areas I can't shoot. When I set the x-offset to 200, then I can shoot right to the right frame but on the left side the deadzone is double as big, like 8cm.
Can I fix this or is it normal because of the 16:9 format of my tv?

Thx for your help
Is the problem just to be able to shoot in this area, or you just can't move the cursor at all in this area ?

Could you download and try the small app I'm joining ?
Select one of the controller in the top list and then tell me :
- Is the red dot moving to the edge of your screen
- What are the X and Y values when you're a the border or when you're at the maximum point where you can go

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 #1036 on: December 21, 2017, 01:41:59 pm »
DemulShooter v7.0a :
- Fixed RawInput handling for latest Windows 10 compatibility
- Fixed Operation GHOST, it's not crashing anymore with Windows 10

Enjoy !

Works like a charm! OG does not crash anymore and the usual suspects work flawlessly and show again two crosshair cursors  ;D

zelectah

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:June 17, 2021, 02:00:23 pm
  • Setting up an arcade pc :3
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1037 on: December 21, 2017, 08:07:20 pm »
- The red dot is not moving
- The input is recognized, all buttons and the x values goes around 25k-31k on both sides. I never get the same numbers and it depends on whow I hold the gun in font of the tv
« Last Edit: December 21, 2017, 08:09:09 pm by zelectah »

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 #1038 on: December 22, 2017, 02:22:01 am »
- The red dot is not moving
- The input is recognized, all buttons and the x values goes around 25k-31k on both sides. I never get the same numbers and it depends on whow I hold the gun in font of the tv

How big is your TV?  It may be that your IR bar that goes on top of the TV isn't wide enough to account for the screen size.  :dunno

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 01:14:10 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1039 on: December 22, 2017, 03:45:04 am »
- The red dot is not moving
- The input is recognized, all buttons and the x values goes around 25k-31k on both sides. I never get the same numbers and it depends on whow I hold the gun in font of the tv
Ok things will be harder if the dot is not moving....but the important part is your X axis range : Xinput devices range is from -32768 to +32767
That means that to aim at the very border of your screen, you'll have to get these max values
If the maximum is 25k or so, it's normal that demulshooter can't make you shoot near the borders

In that case AnX may be right, your positionning and distance from the TV may be the problem

I'm a little "blind" as I've no wiimote or so at home, but can you move windows cursor with your Wiimote ? And if so, can you go to the edges ?