CPCWiki forum

General Category => Emulators => Topic started by: keith56 on 11:59, 12 September 20

Title: Lightgun support?
Post by: keith56 on 11:59, 12 September 20
I was wondering, does anyone know of any Windows CPC emulators which can emulate a CPC lightgun?

I've had a look around and can't seem to find anything - I kind of suspect I'm not looking in the right places!
Title: Re: Lightgun support?
Post by: Gryzor on 13:33, 12 September 20
How would that work? With a mouse?
Title: Re: Lightgun support?
Post by: Bryce on 14:24, 12 September 20
Lightguns need a CRT to work, the PC would need to have a CRT monitor too. Not many of them left.

Bryce.
Title: Re: Lightgun support?
Post by: Gryzor on 14:37, 12 September 20
That'd why I asked how, a real fun would be 'input support', not emulation...
Title: Re: Lightgun support?
Post by: keith56 on 15:52, 12 September 20
Yes, I was meaning via a mouse, that's how emulators I've seen in the past simulates them.

Actually I had a PC lightgun that emulated a mouse - so it could be used for lightgun games.

I've done a tutorial on lightgun control for the SMS, and I'd like to do the same for the CPC as the method is different (The SMS is near pixel perfect!)
Title: Re: Lightgun support?
Post by: VincentGR on 16:20, 12 September 20
I have 2 lightguns that work on any monitor, they indeed emulate the mouse with 3 receivers on the bezels of the screen.
They also work with mame and winuae just fine, never tried though with a cpc emulator.
I think that would be tricky if you consider how mice work on the cpc  :picard:
Title: Re: Lightgun support?
Post by: XeNoMoRPH on 08:43, 13 September 20
Hi, It's possible to play CPC lightgun games with Wiituka -- http://wiituka.dantoine.org/ (http://wiituka.dantoine.org/)
you need Wii console + CRT TV for a better visual experience: [ Works on LCD or LED TV too ]

(https://fotos.subefotos.com/9ceea6854cafe2ab72dd136cb720cd80o.jpg)

This is my CRT Philips 28" 100hz Match line + Wii


https://youtu.be/o6SDFjPjEWE (https://youtu.be/o6SDFjPjEWE)
Title: Re: Lightgun support?
Post by: megachur on 13:00, 13 September 20
we just was speaking about that in cpcrulez last month : see https://cpcrulez.fr/forum/viewtopic.php?f=5&t=6379 (https://cpcrulez.fr/forum/viewtopic.php?f=5&t=6379) and translate in english it if you want with tool like google translate ...

my explanation in short :
Trojan and Amstrad Magnum use CRTC lighpen strobe signal and need a monitor or a TV with beam signal ! It's not working with a LCD or the others new technology !

Gunstick and Westphaser are using a different technology : just testing the light of the image monitor and then are more compatible with recent technology !The signal sent with the db9 are differents, see wiki or cpcrulez link above !

 8)


Also, my cpc emulator "CPCEPower" is emulating the Gunstick LightPhaser too ! The others are time consumming and haven't been implemented yet !

Try it from here https://www.cpcwiki.eu/forum/emulators/cpcepower-v2005/ (https://www.cpcwiki.eu/forum/emulators/cpcepower-v2005/) or cpc-power / cpcarchives download section - versions are for linux x64 and windows !

 
Title: Re: Lightgun support?
Post by: Gryzor on 13:20, 13 September 20
Gunstick and Westphaser are using a different technology : just testing the light of the image monitor and then are more compatible with recent technology !The signal sent with the db9 are differents, see wiki or cpcrulez link above !

This is the first time I hear of this... Very interesting, must investigate!
Title: Re: Lightgun support?
Post by: pelrun on 14:26, 13 September 20
That's pretty much what the NES lightgun did - when you pulled the trigger the screen would flash a single frame of black with a white square where the hitbox was, and if the gun saw light it would register a hit. If the game did it naively, you could get every shot without aiming just by pointing at a lit lightbulb. If the game was a bit smarter, it would add an all-black frame as well to detect if you were doing that. :D


It obviously was more tolerant of different TVs, but it's definitely more limited - you couldn't easily differentiate multiple targets (although now that I think of it you could do 2^(n-1) targets for n detection frames, if you binary coded the hitboxes.)
Title: Re: Lightgun support?
Post by: RockRiver on 12:39, 09 February 21
*As Gunstick and Westphaser are similar in tech, I'm trying to port Westphaser games to Gunstick to use it with WiiZapper/Wiituka (gunstick support). But I'm veeeery bad in Z80 assembler.

*Besides. Do you think we could make Magnum lightgun games to Gx4000/CPC+  Trojan ports/mods (CPRs changing in-outs trigger D7 to joystick fire) ???
Title: Re: Lightgun support?
Post by: RockRiver on 12:20, 11 February 21
I was wondering, does anyone know of any Windows CPC emulators which can emulate a CPC lightgun?

Lightgun (with mouse) emulation

* GUNSTICK support [11 games]:
                                CPCE win(old one emu by CNGsoft)(new CPCEC not support this)
                                JavaCPC win(by DelvilMarkus) activate lightgun & joystick options
                                ARNOLD ???? win (I cannot put ON this option)
                                CPCEPower by Megachur
                                CaPriCe Forever

* TROJAN support [CPC+/GX4000] [2 games] :
                              JavaCPC
                              Caprice Forever

  * Magnum support JavaCPC wip
                                Caprice Forever

* WestPhaser support

                                Caprice Forever [2 games] (javacpc joystickmouse in "joystick" option: or games with cross-air in general: could help in emu and play westphaser (two) games or other with cross-hair but not lightgun)


Lightgun with WiiMote Zapper
                     * WiiTuka   emu     Wii(wiimote zapper)(by D_skywalk)
                      * Win (wiimore as PCmouse) + Bluetooth + IR bar (batteries one)  : Glove_PIE / BlueSoleil soft

Maybe other CPCer would ilustrate us more.


Title: Re: Lightgun support?
Post by: GUNHED on 18:23, 11 February 21
Thanks for all that. Looks like the JavaCPC does the job.  :)