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

0 Members and 1 Guest are viewing this topic.

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 #960 on: December 01, 2017, 08:28:46 pm »
I've run into a problem and I'm wondering if anyone else has experienced it or similar issues.  I can no longer run Let's go Island.  When I try to load it (with Game Loader All RH), my PC restarts(no BSOD).  I have tried to run it both with and without DemulShooter.  When I try to load it with TeknoParrot I get the "failed to load dll".  I've tried using various versions of TeknoParrot and Game Loader All RH and the same thing happens.  I'm not sure what's going on, as I used to be able to run this game fine. I can run Operation Ghost, Dream Raiders, and Golden Gun just fine.  Any suggestions would be appreciated.
Fate flies in fear of the moment

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 #961 on: December 01, 2017, 08:33:43 pm »
Do you run a front end?
If you do is it possible there is a script running just for that game after launch?

Or, if you're running that game at a custom res perhaps your video card is upset by the resolution?  Recent driver update on your video card.

Mate I'm grasping here, seems very strange.
« Last Edit: December 01, 2017, 08:49:50 pm by AnX »

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 #962 on: December 01, 2017, 11:00:12 pm »
Never mind, I was an idiot and left another cable plugged into the back of my graphics card.  :P
« Last Edit: December 01, 2017, 11:17:07 pm by DMB77 »
Fate flies in fear of the moment

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 #963 on: December 02, 2017, 06:17:50 pm »
I saw that yesterday yes.
I don't think I'll update DemulShooter right now, romset has changed since the last version I worked on and I see no real reason to use the last one for lightguns game right now (but if someone has a good reason do not hesitate !)
AND demul is the biggest one to update with naomi, JVS etc.. beeing different  :D

I was sorry to read this. While I understand that they don't add much to shooting games specifically, the newer versions of Demul add a lot in general. The fact that I no longer need to maintain a separate MAME and Demul romset alone was worth updating for.

Besides the fact that I assume that any new people to the scene will automatically get the latest versions of everything, I suspect that these forums will soon have a lot of "why doesn't it work?" type posts.

However, it is of course your project and I in no way want to sound demanding, but you did say "if someone has a good reason" and I hope that qualifies.

I have no idea how much work goes into updating for a new version of demul. Is there any way that we can help you with it?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #964 on: December 03, 2017, 09:27:52 am »
I saw that yesterday yes.
I don't think I'll update DemulShooter right now, romset has changed since the last version I worked on and I see no real reason to use the last one for lightguns game right now (but if someone has a good reason do not hesitate !)
AND demul is the biggest one to update with naomi, JVS etc.. beeing different  :D

I was sorry to read this. While I understand that they don't add much to shooting games specifically, the newer versions of Demul add a lot in general. The fact that I no longer need to maintain a separate MAME and Demul romset alone was worth updating for.

Besides the fact that I assume that any new people to the scene will automatically get the latest versions of everything, I suspect that these forums will soon have a lot of "why doesn't it work?" type posts.

However, it is of course your project and I in no way want to sound demanding, but you did say "if someone has a good reason" and I hope that qualifies.

I have no idea how much work goes into updating for a new version of demul. Is there any way that we can help you with it?
I never said this won't happen, I just said for now I'd rather spend a little time adding unsupported games (haunted museum, etc....) rather than searching/testing/modifying new romset for something that's currently working great.

For the "why doesn't it work?" matter, well....people just need to read  :lol Supported version/game/emulator are written everywhere
For the romeset, MAME is releasing a new version every 3 weeks (or so), whereas Demul can stay without any update for more than a year so unless they update it a soon as MAME romset is changed (that may be the reality, I don't really  know I'm not following MAME progress)....it'll be hard to keep a unique compatible romset

As for your last question, if I have to add a game I "simply" have  to examine it, find how to block/hook/hack it and then test it.
It can be quick, sometime less...just remember Fright Fear Land and bugs found ONLY in boss parts of the game (which means each test needed a 5mn long gameplay test)
So now, Demul emulates Naomi, Naomi 2, Hikaru, Atomiswave, etc.... and each system handles input differently so each system need it's own hack.
Then, there are now 18 roms to test to verify that the rom is not the wrong one and that everything is re-working OK with demulshooter...just to notice that Demul staff just released a newer version 3 days after the last one, and again, and again...before going silent for a year  :D
So for now, I'm just too short on time to do all of this knowing that nothing has change for lightgun games or directX plugin rendering or that kind of things
But it doesn't mean it wont happen in the future
« Last Edit: December 03, 2017, 09:34:50 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 #965 on: December 05, 2017, 06:00:34 pm »
Hi,

I am trying to make Haunted Museum 2 work, but it seems I am having trouble to get demulshooter to patch the executable.
I tried both the hmuseum2 and the fearland switch and the app does not seem to be able to hook to the game.exe

Code: [Select]
17:44:20.334108 :
17:44:20.359134 : -------------------- Program Start ----------------------
17:44:20.375161 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:44:20.392429 : P1 device handle = 45484221
17:44:20.409284 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:44:20.425990 : P2 device handle = 8389777
17:44:20.442700 : Cmdline arg 1 : -target=globalvr
17:44:20.468096 : Cmdline arg 2 : -rom=fearland
17:44:20.493107 : Cmdline arg 3 : -v
17:44:20.561079 : Waiting for Global VR fearland game to hook.....
17:44:23.588468 : Error trying to hook game.exe
17:44:24.068994 : Error trying to hook game.exe
17:44:24.565258 : Error trying to hook game.exe
17:44:25.066751 : Error trying to hook game.exe
17:44:25.567058 : Error trying to hook game.exe
17:44:26.066725 : Error trying to hook game.exe
17:44:26.566777 : Error trying to hook game.exe
17:44:27.065907 : Error trying to hook game.exe
17:44:27.567423 : Error trying to hook game.exe

and with hmuseum2 as well:
Code: [Select]
17:54:10.360547 :
17:54:10.644664 : -------------------- Program Start ----------------------
17:54:10.661223 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:54:10.677794 : P1 device handle = 45484221
17:54:10.694436 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:54:10.711455 : P2 device handle = 8389777
17:54:10.736357 : Cmdline arg 1 : -target=globalvr
17:54:10.752797 : Cmdline arg 2 : -rom=hmuseum2
17:54:10.769471 : Cmdline arg 3 : -v
17:54:10.830461 : Waiting for Global VR hmuseum2 game to hook.....
17:54:20.866666 : Error trying to hook game.exe
17:54:21.363666 : Error trying to hook game.exe
17:54:21.861421 : Error trying to hook game.exe
17:54:22.363449 : Error trying to hook game.exe
17:54:22.864846 : Error trying to hook game.exe
17:54:23.362677 : Error trying to hook game.exe
17:54:23.861615 : Error trying to hook game.exe

I also found that maybe the memorydata config file is not named properly for that rom, although I renamed it properly, it still does not work better.
I was getting this:
Code: [Select]
17:57:36.781372 :
17:57:36.806399 : -------------------- Program Start ----------------------
17:57:36.822861 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:57:36.839386 : P1 device handle = 45484221
17:57:36.864576 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:57:36.881449 : P2 device handle = 8389777
17:57:36.898122 : Cmdline arg 1 : -target=globalvr
17:57:36.914762 : Cmdline arg 2 : -rom=hmuseum2
17:57:36.931586 : Cmdline arg 3 : -v
17:57:36.979750 : File not found : H:\Emulators\Arcades Dumps\Haunted museum 2\MemoryData\globalvr\hmuseum2.cfg
17:57:36.999129 : Waiting for Global VR hmuseum2 game to hook.....

any help would be appreciated.
Thanks

Edit:
More infos:
- I am running windows 10
- Program runs in compatibility mode win xp sp3

So maybe there is a problem hooking to such a process.

Edit2:
- Got further by making the Demulshooter.exe 'Run as administrator', but the game.exe process crashes
Code: [Select]
18:54:36.169888 : -------------------- Program Start ----------------------
18:54:36.171389 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
18:54:36.172390 : P1 device handle = 45484221
18:54:36.173391 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
18:54:36.177394 : P2 device handle = 8389777
18:54:36.178395 : Cmdline arg 1 : -target=globalvr
18:54:36.179396 : Cmdline arg 2 : -rom=hmuseum2
18:54:36.179897 : Cmdline arg 3 : -v
18:54:36.205248 : Waiting for Global VR hmuseum2 game to hook.....
18:54:37.203233 : Attached to Process game.exe, ProcessHandle = 1200
18:54:37.275309 : game.exe = 0x00930000
18:54:37.315230 : Custom data will be stored at : 0x039E0040
18:54:37.352557 : Adding Axis Codecave at : 0x039E0000
18:54:37.392668 : Adding Trigger CodeCave at : 0x039F0000
18:54:37.429794 : Memory Hack complete !
18:54:37.479344 : -
18:54:46.711730 : game.exe closed
« Last Edit: December 05, 2017, 06:58:22 pm by Phil1972 »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #966 on: December 06, 2017, 03:29:38 am »
Hi,

I am trying to make Haunted Museum 2 work, but it seems I am having trouble to get demulshooter to patch the executable.
I tried both the hmuseum2 and the fearland switch and the app does not seem to be able to hook to the game.exe

any help would be appreciated.
Thanks

Edit:
More infos:
- I am running windows 10
- Program runs in compatibility mode win xp sp3

So maybe there is a problem hooking to such a process.

Edit2:
- Got further by making the Demulshooter.exe 'Run as administrator', but the game.exe process crashes


Hi, indeed there was a mess with the whole FFL/Haunted Museum thing.
I made a last change to it just after the last release : it turns out that the latest dump was in fact the original japanese TTX version of the game
Whereas all dump before were the USA version exported and modified by GlobalVR
So now you run FFL dumps with -globalvr -ffl
And Haunted Museum 2 with -ttx -hmuseum2
I also updated the FFL/Hmuseum patcher, it will give you the proper demulshooter command to use according to the game.exe you have
You will find the 6.9d version attached at the bottom

So, Phil1972:
- I suggest you download and run the patcher to know the exact version of your dump
- You can even patch the Headers only, it wont hurt and may suppress some crash if it's one of the FFL dump
- Is this the only game to not work with DemulShooter for you ?
- Does the game work well by itself ? (without DemulShooter)

JRPGod

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 05, 2018, 07:49:09 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #967 on: December 06, 2017, 08:45:24 am »
G'day Argon! Out of curiosity, what wii games would you (or anyone else for that matter!) recommend to give a whirl with demulshooter?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #968 on: December 06, 2017, 10:23:11 am »
G'day Argon! Out of curiosity, what wii games would you (or anyone else for that matter!) recommend to give a whirl with demulshooter?
Well, maybe Gunslingers or Martian Panic. This is just my opinion though, as someone who rarely runs Dolphin.
Ghost Squad is good too but much more buttons to set up
The other ones (House of the Dead, Target Terror, etc....) have better version available than the WII port

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 #969 on: December 06, 2017, 11:50:14 am »

Hi, indeed there was a mess with the whole FFL/Haunted Museum thing.
I made a last change to it just after the last release : it turns out that the latest dump was in fact the original japanese TTX version of the game
Whereas all dump before were the USA version exported and modified by GlobalVR
So now you run FFL dumps with -globalvr -ffl
And Haunted Museum 2 with -ttx -hmuseum2
I also updated the FFL/Hmuseum patcher, it will give you the proper demulshooter command to use according to the game.exe you have
You will find the 6.9d version attached at the bottom

So, Phil1972:
- I suggest you download and run the patcher to know the exact version of your dump
- You can even patch the Headers only, it wont hurt and may suppress some crash if it's one of the FFL dump
- Is this the only game to not work with DemulShooter for you ?
- Does the game work well by itself ? (without DemulShooter)

Thanks Argon, I will try that as soon as I get home.
I am having issue with all games that I try with demulshooter in fact.  Might not be the problem of demulshooter, might be my configs.  I have 2 aimtraks set to Device1, Device2. They are properly calibrated.  I am wondering what the config of both should be in terms of buttons.  I now have them set to the default which emulates Left Mouse Button, Right Mouse Button, Middle Mouse Button.  Is that the proper way to do it?

I will try this version and let you know of the results.
Thanks very much for your time on this.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #970 on: December 06, 2017, 01:08:24 pm »

Hi, indeed there was a mess with the whole FFL/Haunted Museum thing.
I made a last change to it just after the last release : it turns out that the latest dump was in fact the original japanese TTX version of the game
Whereas all dump before were the USA version exported and modified by GlobalVR
So now you run FFL dumps with -globalvr -ffl
And Haunted Museum 2 with -ttx -hmuseum2
I also updated the FFL/Hmuseum patcher, it will give you the proper demulshooter command to use according to the game.exe you have
You will find the 6.9d version attached at the bottom

So, Phil1972:
- I suggest you download and run the patcher to know the exact version of your dump
- You can even patch the Headers only, it wont hurt and may suppress some crash if it's one of the FFL dump
- Is this the only game to not work with DemulShooter for you ?
- Does the game work well by itself ? (without DemulShooter)

Thanks Argon, I will try that as soon as I get home.
I am having issue with all games that I try with demulshooter in fact.  Might not be the problem of demulshooter, might be my configs.  I have 2 aimtraks set to Device1, Device2. They are properly calibrated.  I am wondering what the config of both should be in terms of buttons.  I now have them set to the default which emulates Left Mouse Button, Right Mouse Button, Middle Mouse Button.  Is that the proper way to do it?

I will try this version and let you know of the results.
Thanks very much for your time on this.
This is the proper way to configure your Aimtraks.
And this is not the kind of thing that can make a game/emulator process to crash

If this is happening for a lot of your games, I'm affraid the problem is much more...system oriented. Win10 again damn :(

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 #971 on: December 06, 2017, 01:42:59 pm »
The crash issue is not very the main concern(as I got crashes only in Win10 native modes, compatibility mode works fine), it was more related to the configuration of the guns that I was talking about.  If you say that I did the config of the guns properly, then I should be fine.

Are you developping and testing most of your arcade stuff using win7 x64 ?  If not, which OS works best? I have a few spare HDD on which I could setup a new OS install and have a proper arcade testbed.  I do not want to hijack this thread, but just a one liner would suffice when you have a chance.

thanks,

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #972 on: December 06, 2017, 04:30:57 pm »
Both my development laptop and my "lightgun-system" computer are running Win7x64 so I'm mainly testing on them
If you don't have to handle more of 4Gb of RAM, win7 x86 would be even better as some games (Alien Extermination dongle emulation for example) won't work on a 64 bits OS (it does using a virtual machine, of course)
Never had any bad feedback about Win XP, but I don't use it anymore so I don't know the working/non-working game on it. In theory they should all work

Right now, I don't know of any game needing Win10 to work. But I know some TTX games (Silent Hill, etc...) that don't work on Win10


Do not hesitate to ask questions if you can't  set up your 2 guns, this is why this thread exists :)

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 #973 on: December 06, 2017, 11:17:49 pm »
Hi Argon,

Tried the new demulshooter, it works!  BUT, there are a few things to mention:

- the FFL patcher V3 reports this for my game.exe:
Code: [Select]
"Game Loader All RH" Fright Fear Land game.exe detected !
DemulShooter command: demulshooter.exe -target=globalvr -rom=ffl
this does not work with demulshooter version 6.9d, it does not recognize 'ffl' it seems and I get an error in the logs.

- so I tried with this option:
Code: [Select]
demulshooter.exe -target=globalvr -rom=fearlandand it works!

so I am unsure if you made changes in that area between 6.9c and 6.9d, but it resolved my issue for hmuseum2/fearland

thanks for that!

The version of the game dump that I have is all english and writes 'Version1.00USA' when in the service menu.
Hope this helps.

Also, thanks for your response about the OS, I will make myself a partition with Win7 x86 then ;)

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #974 on: December 07, 2017, 02:43:25 am »
It's a typo in the patcher, it has always been fearland but I'm losing myself with all these versions  :P
I've updated the patcher. Glad to hear it's working :)
« Last Edit: December 07, 2017, 02:46:28 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 #975 on: December 07, 2017, 08:05:04 am »
It's a typo in the patcher, it has always been fearland but I'm losing myself with all these versions  :P
I've updated the patcher. Glad to hear it's working :)

LOL I can understand with all those versions...

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 #976 on: December 07, 2017, 10:43:54 pm »
Hi,

Ok, since HM2/Fearland works now, I will be going one by one and try to make the other work properly. I am trying Haunted Museum 1, it does not work :(
With version 6.9a, in the gun test, I can see both cursors, but both triggers seem to be mapped to the first mouse left button.

With 6.9d, I do not see the second cursor at all but it seems the button works properly.
Also with 6.9d, what I tried is to put -ttx -hmuseum2 and I get now both cursors, but still only the first gun trigger

Do you think you have time to look at this?

In the mean time, I will try 6.9d with other games ;)

thanks,
« Last Edit: December 07, 2017, 11:10:48 pm by Phil1972 »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #977 on: December 08, 2017, 07:49:27 am »
Hi,

Ok, since HM2/Fearland works now, I will be going one by one and try to make the other work properly. I am trying Haunted Museum 1, it does not work :(
With version 6.9a, in the gun test, I can see both cursors, but both triggers seem to be mapped to the first mouse left button.
This is normal, Haunted Museum is not supported before 6.9c

With 6.9d, I do not see the second cursor at all but it seems the button works properly.
Also with 6.9d, what I tried is to put -ttx -hmuseum2 and I get now both cursors, but still only the first gun trigger

Do you think you have time to look at this?

In the mean time, I will try 6.9d with other games ;)

thanks,
I can confirm that Haunted Museum is 100% working without any issue with 6.9d with the following command : demulshooter.exe -target=ttx -rom=hmuseum


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 #978 on: December 08, 2017, 08:12:12 am »
Ok, it might be another thing with the version of the .exe again... I will try to start from a freshly downloaded package and see if I can make it work.  Only problem is the button of the second gun.  Strange because it works perfectly in FFL.

thanks,

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #979 on: December 08, 2017, 08:20:21 am »
As far as I know there is only one available dump for this game, so there should be only 1 and only version of the .exe  :(

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:April 11, 2024, 01:43:59 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #980 on: December 11, 2017, 05:20:01 pm »
Hey Argon, I hope all is well. I remember you mentioning a little while back that you were close to having Blue Estate working in 2 player dual mode with 2 Aimtraks.  Any word on that? I've kinda held off playing that game cause I'd rather play with my bro with 2 guns if it's possible.  If it's not on the radar anymore, for now, no worries.  Just curious.  Thanks for all your hard work.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #981 on: December 12, 2017, 11:30:37 am »
Hey Argon, I hope all is well. I remember you mentioning a little while back that you were close to having Blue Estate working in 2 player dual mode with 2 Aimtraks.  Any word on that? I've kinda held off playing that game cause I'd rather play with my bro with 2 guns if it's possible.  If it's not on the radar anymore, for now, no worries.  Just curious.  Thanks for all your hard work.
Nope, still not working. Found some ways to alter the game but not in a fully-working way.
This game controls handling is ---steaming pile of meadow muffin---  :angry:
You can't even just simulate a Gamepad, the game works with a kind of "relative" positionning : when you move the stick to the right the game move the cursor to the right, and when you go back neutral the cursor stays where it is..... so no aiming ::)

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:April 11, 2024, 01:43:59 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #982 on: December 12, 2017, 12:55:20 pm »
Hey Argon, I hope all is well. I remember you mentioning a little while back that you were close to having Blue Estate working in 2 player dual mode with 2 Aimtraks.  Any word on that? I've kinda held off playing that game cause I'd rather play with my bro with 2 guns if it's possible.  If it's not on the radar anymore, for now, no worries.  Just curious.  Thanks for all your hard work.
Nope, still not working. Found some ways to alter the game but not in a fully-working way.
This game controls handling is ---steaming pile of meadow muffin---  :angry:
You can't even just simulate a Gamepad, the game works with a kind of "relative" positionning : when you move the stick to the right the game move the cursor to the right, and when you go back neutral the cursor stays where it is..... so no aiming ::)


Thanks Argon.  Sounds like a pain in the butt.  I wonder if the developers are still working on this? I wonder if they are still doing periodic updates, and if so, if they'd be willing to do an update in order to make it more feasible to get two mice working for two player.  Just a thought.  I'll look into 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 #983 on: December 12, 2017, 05:03:01 pm »
Hi Argon,

This is what I have for Haunted Museum 1, still does not work.
ie: I do not see the cursor for gun #2 in the gun test but the trigger works (i have both red/blue) but at the same location as the first gun position.

Code: [Select]
16:59:09.204092 : -------------------- Program Start ----------------------
16:59:09.235303 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
16:59:09.255148 : P1 device handle = 852251
16:59:09.279635 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
16:59:09.300604 : P2 device handle = 132583
16:59:09.316247 : Cmdline arg 1 : -target=ttx
16:59:09.347481 : Cmdline arg 2 : -rom=hmuseum
16:59:09.378748 : Cmdline arg 3 : -v
16:59:09.417790 : Waiting for TTX hmuseum game to hook.....
16:59:09.906071 : Attached to Process game.exe, ProcessHandle = 1140
16:59:09.946828 : game.exe = 0x00820000
16:59:09.949826 : Custom data will be stored at : 0x0DC00040
16:59:09.951238 : Adding Axis Codecave at : 0x0DC00000
16:59:09.953740 : Adding Trigger CodeCave at : 0x0DC10000
16:59:09.954741 : Memory Hack complete !
16:59:09.955242 : -
16:59:21.183848 : RawData event for Device #2:
16:59:21.184848 : Device rawinput data (Hex) = [ 16F1, FFFF ]
16:59:21.208884 : PrimaryScreen Size (Px) = [ 1920, 1080 ]
16:59:21.211441 : OnScreen Cursor Position (Px) = [ 172, 1079 ]
16:59:21.217405 : OnClient Cursor Position (Px) = [ 39, 923 ]
16:59:21.233704 : Game Position (Hex) = [ 0027, 039B ]
16:59:21.234801 : Game Position (Dec) = [ 39, 923 ]
16:59:21.235721 : MouseButton (Hex) = 0x0000
16:59:21.236734 : -
16:59:21.240228 : RawData event for Device #2:
16:59:21.256342 : Device rawinput data (Hex) = [ 1FB1, FFFF ]
16:59:21.257342 : PrimaryScreen Size (Px) = [ 1920, 1080 ]
16:59:21.258344 : OnScreen Cursor Position (Px) = [ 237, 1079 ]
16:59:21.259369 : OnClient Cursor Position (Px) = [ 104, 923 ]
16:59:21.260370 : Game Position (Hex) = [ 0068, 039B ]
16:59:21.261371 : Game Position (Dec) = [ 104, 923 ]
16:59:21.262373 : MouseButton (Hex) = 0x0000
16:59:21.263365 : -
16:59:21.264444 : RawData event for Device #2:
16:59:21.265529 : Device rawinput data (Hex) = [ 30D2, FFFF ]
16:59:21.266886 : PrimaryScreen Size (Px) = [ 1920, 1080 ]
16:59:21.268308 : OnScreen Cursor Position (Px) = [ 366, 1079 ]
16:59:21.268854 : OnClient Cursor Position (Px) = [ 233, 923 ]
16:59:21.270067 : Game Position (Hex) = [ 00E9, 039B ]
16:59:21.271480 : Game Position (Dec) = [ 233, 923 ]
16:59:21.272486 : MouseButton (Hex) = 0x0000


do you have an idea of what could be wrong?

btw I installed Win 7 - x86 and it has the same behavior.
Could it be that the offsets are wrong? (either the hook offset or the screen coords offset)
« Last Edit: December 12, 2017, 05:05:38 pm by Phil1972 »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #984 on: December 13, 2017, 05:15:34 am »
Hi Argon,

This is what I have for Haunted Museum 1, still does not work.
ie: I do not see the cursor for gun #2 in the gun test but the trigger works (i have both red/blue) but at the same location as the first gun position.


do you have an idea of what could be wrong?

btw I installed Win 7 - x86 and it has the same behavior.
Could it be that the offsets are wrong? (either the hook offset or the screen coords offset)
As I asked previously, what is the behaviour in-game ?
The Test mode is like yours for me too, and so are almost all TTX Test mode. Which is not a problem as calibration is not needed with these games and DemulShooter unless stated otherwise in the README (mostly for Demul, Model2 and MAME games)

I'm rewriting the readme, I'll try to scecifically add which TEST mode are not displaying correct data (even if the game is working fine)
« Last Edit: December 13, 2017, 05:17:53 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 #985 on: December 13, 2017, 09:13:14 am »
Hi Argon,

This is what I have for Haunted Museum 1, still does not work.
ie: I do not see the cursor for gun #2 in the gun test but the trigger works (i have both red/blue) but at the same location as the first gun position.


do you have an idea of what could be wrong?

btw I installed Win 7 - x86 and it has the same behavior.
Could it be that the offsets are wrong? (either the hook offset or the screen coords offset)
As I asked previously, what is the behaviour in-game ?
The Test mode is like yours for me too, and so are almost all TTX Test mode. Which is not a problem as calibration is not needed with these games and DemulShooter unless stated otherwise in the README (mostly for Demul, Model2 and MAME games)

I'm rewriting the readme, I'll try to scecifically add which TEST mode are not displaying correct data (even if the game is working fine)

Yes, you are right I missed that one, I will test when I get back home and let you know the details.
I was under the impression that since the FFL test mode works fine that Hmuseum should work fine as well.  My bad.
I will confirm the in-game behavior.  Sorry for that.

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 #986 on: December 13, 2017, 06:34:01 pm »
Argon: I confirm, in game behavior is fine.  Sorry for the confusion.  Do you think it is because the offset for injections are different between the game mode and the menu/test ?

Grocarlito

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:April 17, 2020, 06:37:31 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #987 on: December 13, 2017, 07:15:44 pm »
Hi,

Since I did not manage to make demul work under windows 10, I am thinking in creating a Windows 7 VM to make it all work again.

I do not want to downgrade to Windows 7 or make a dual boot.

Do you think it will work this way ? Will I be able to make windows 7 see my aimtraks lightguns with a VM ?

Thanks for the advices.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #988 on: December 14, 2017, 03:17:59 am »
Argon: I confirm, in game behavior is fine.  Sorry for the confusion.  Do you think it is because the offset for injections are different between the game mode and the menu/test ?
:)
It can be many things for the Test menu, different adresses, different procedures.....sometimes emulators/loader are fully  emulating the I/O board and protocol so all is working. Sometimes they just inject values for in-game adresses and the Test Menu does not work, etc...
For TTX games, usually we can play them with a mouse because devs let's us enable some "debug" flag to play with a mouse. I guess they're using it to develop/debug/setup/repair system, but the point is : this is not a fully emulated I/O board so it will not behave 100% like real guns

Hi,

Since I did not manage to make demul work under windows 10, I am thinking in creating a Windows 7 VM to make it all work again.

I do not want to downgrade to Windows 7 or make a dual boot.

Do you think it will work this way ? Will I be able to make windows 7 see my aimtraks lightguns with a VM ?

Thanks for the advices.
Yes it should. I'm running Win7 and Aimtraks are working fine with VirtualBox or VMware for WndowsXp and linux

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 341
  • Last login:April 11, 2024, 01:43:59 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #989 on: December 14, 2017, 08:50:55 pm »
Hi Argon, would you be willing to share examples of how to load a game via an ahk script to avoid having to always launch through the cmd? I'm still learning ahk scripts, but could use some help. Thanks
« Last Edit: December 14, 2017, 08:53:05 pm by dgrace »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #990 on: December 15, 2017, 03:17:38 am »
Here's a part of Let's Go Island script :
Code: [Select]
#SingleInstance force

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


Run, D:\RingWide\TeknoParrot_0.52\DumbJvsCmd.exe 0, D:\RingWide\TeknoParrot_0.52\

;TEST MENU:
;Run, D:\RingWide\TeknoParrot_0.52\ParrotLoader.exe "D:\RingWide\LGI\LGI_RingW_F_safe.exe" -TestMode, D:\RingWide\TeknoParrot_0.52\

;GAME:
Run, D:\RingWide\TeknoParrot_0.52\ParrotLoader.exe "D:\RingWide\LGI\LGI_RingW_F_safe.exe", D:\RingWide\TeknoParrot_0.52\

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


Escape::
Exit()
Return

;Exit Game procedure
Exit(){
Process, Close, LGI_RingW_F_safe.exe
Process, Close, DumbJvsCmd.exe
Run, C:\Program Files (x86)\nomousy\nomousy.exe -s , C:\Program Files (x86)\nomousy\
ExitApp
}

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 #991 on: December 15, 2017, 10:36:43 am »
I will try that config in a batch file to start it. (LGI)
I was missing the -parrotloader option.

What is the player 2 start button supposed to be ?
I cannot figure it out.

thanks,

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #992 on: December 15, 2017, 10:45:09 am »
I will try that config in a batch file to start it. (LGI)
I was missing the -parrotloader option.
Carefull, batch syntax is different from Autohotkey syntax

What is the player 2 start button supposed to be ?
I cannot figure it out.
thanks,
With -parrotloader : [2]
Without : Whatever you set in Teknoparrot

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 #993 on: December 15, 2017, 01:59:14 pm »
I'm curious, will -parrotloader command allow me to map the start and coin keys to my joystick in operation ghost?
Fate flies in fear of the moment

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #994 on: December 15, 2017, 02:23:25 pm »
-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

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 #995 on: December 15, 2017, 05:10:37 pm »
have you played police 24/7 - 911? I think its the only ps2 game not playable with nuvee plugin, maybe mame get it soon

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1005
  • Last login:Today at 06:26:53 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #996 on: December 15, 2017, 05:35:23 pm »
Nope ! Never heard of this game  :D

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 #997 on: December 15, 2017, 08:15:40 pm »
Hi Argon,

Whatever I try in Teknoparrot or Demulshooter is not working for player 2 start for Lets Go Island.  Tried both on Win7 x86 and Win10 x64.  Does not make a difference.
Obviously I do not know how to configure the keyboard mapping using Teknoparrot ;)  Nevertheless, I tried this:

 (both teknoparrot 0.6 and 1.06 give the same result)

- remove all keyboard mapping in teknoparrot
- check the 'Use keyboard input'
- check the 'Use mouse for gun games'
- joystick both set to 'No joystick'
- start demulshooter without the parrotloader switch

I was wondering why the player 2 start does not work and I went in the test mode.
All aimtrak movement and buttons seems to be mapped properly EXCEPT the RMB of gun #2 which triggers the wrong 'Start' it triggers the player 1 start.
Does that make sense?  Is it a bug in demulshooter you think?

See attached picture. First gun works fine and when I press the side button, it puts '1P Start Button' and '1P Cont Trigger R' properly.
For gun #2, it puts '2P Cont Trigger R' but not the '2P Start Button' as it should.  I am not sure if this is an issue with demulshooter or if it is related to an external factor.  Because without demulshooter, only the 1P test controls are being used with both gun#1 and gun#2. So it means it is actually working, but maybe with a bug.

let me know if you have an idea.
Maybe if I would have the source code, I would be able to debug all this?

thanks,

Edit: Got the proper P1 start, P2 start mapping working using Teknoparrot 0.53.  Go figure... in any case, what do you think about the problem aforementioned?
« Last Edit: December 15, 2017, 08:33:53 pm by Phil1972 »

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 #998 on: December 15, 2017, 09:41:35 pm »
-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?
Fate flies in fear of the moment

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 #999 on: December 16, 2017, 12:14:37 pm »
Hi Argon,

Whatever I try in Teknoparrot or Demulshooter is not working for player 2 start for Lets Go Island.  Tried both on Win7 x86 and Win10 x64.  Does not make a difference.
Obviously I do not know how to configure the keyboard mapping using Teknoparrot ;)  Nevertheless, I tried this:

 (both teknoparrot 0.6 and 1.06 give the same result)

- remove all keyboard mapping in teknoparrot
- check the 'Use keyboard input'
- check the 'Use mouse for gun games'
- joystick both set to 'No joystick'
- start demulshooter without the parrotloader switch

I was wondering why the player 2 start does not work and I went in the test mode.
All aimtrak movement and buttons seems to be mapped properly EXCEPT the RMB of gun #2 which triggers the wrong 'Start' it triggers the player 1 start.
Does that make sense?  Is it a bug in demulshooter you think?

See attached picture. First gun works fine and when I press the side button, it puts '1P Start Button' and '1P Cont Trigger R' properly.
For gun #2, it puts '2P Cont Trigger R' but not the '2P Start Button' as it should.  I am not sure if this is an issue with demulshooter or if it is related to an external factor.  Because without demulshooter, only the 1P test controls are being used with both gun#1 and gun#2. So it means it is actually working, but maybe with a bug.

let me know if you have an idea.
Maybe if I would have the source code, I would be able to debug all this?

thanks,

Edit: Got the proper P1 start, P2 start mapping working using Teknoparrot 0.53.  Go figure... in any case, what do you think about the problem aforementioned?

I looked at the teknoparrot code and the problem might be in there, I will add some logs and see if I can find the root cause of this improper default mapping.