Author Topic: Lightgun support?  (Read 2038 times)

0 Members and 1 Guest are viewing this topic.

Offline keith56

  • ちび悪魔!
  • Supporter
  • 6128 Plus
  • *
  • Posts: 589
  • Country: jp
  • Part Ma, Part Aku... All Chibi!
    • Chibi Akumas Assembly tutorials
  • Liked: 988
  • Likes Given: 212
Lightgun support?
« 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!
Chibi Akumas: Comedy-Horror 8-bit Bullet Hell shooter!
Learn ARM, 8086, Z80, 6502 or 68000 with my tutorials: www.assemblytutorial.com
My Assembly programming book is available now on amazon!

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.915
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4031
  • Likes Given: 7261
Re: Lightgun support?
« Reply #1 on: 13:33, 12 September 20 »
How would that work? With a mouse?

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 12.346
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4631
  • Likes Given: 484
Re: Lightgun support?
« Reply #2 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.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.915
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4031
  • Likes Given: 7261
Re: Lightgun support?
« Reply #3 on: 14:37, 12 September 20 »
That'd why I asked how, a real fun would be 'input support', not emulation...

Offline keith56

  • ちび悪魔!
  • Supporter
  • 6128 Plus
  • *
  • Posts: 589
  • Country: jp
  • Part Ma, Part Aku... All Chibi!
    • Chibi Akumas Assembly tutorials
  • Liked: 988
  • Likes Given: 212
Re: Lightgun support?
« Reply #4 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!)
Chibi Akumas: Comedy-Horror 8-bit Bullet Hell shooter!
Learn ARM, 8086, Z80, 6502 or 68000 with my tutorials: www.assemblytutorial.com
My Assembly programming book is available now on amazon!

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.387
  • Country: gr
    • Parts from the past.
  • Liked: 888
  • Likes Given: 2067
Re: Lightgun support?
« Reply #5 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:
Visit my BBS (Telnet) : flashbackbbs.sytes.net:6502
http://loaderror.eu/
Amiga 1200 Black Project

Offline XeNoMoRPH

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.052
  • Country: es
  • " ... in space no one , can hear you scream ... "
    • https://auamstrad.es/
  • Liked: 2401
  • Likes Given: 1683
Re: Lightgun support?
« Reply #6 on: 08:43, 13 September 20 »
Hi, It's possible to play CPC lightgun games with Wiituka -- http://wiituka.dantoine.org/
you need Wii console + CRT TV for a better visual experience: [ Works on LCD or LED TV too ]



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



https://youtu.be/o6SDFjPjEWE
« Last Edit: 12:48, 13 September 20 by XeNoMoRPH »
your amstrad news source in spanish language : https://auamstrad.es

Offline megachur

  • CPC664
  • ***
  • Posts: 100
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 134
  • Likes Given: 13
Re: Lightgun support?
« Reply #7 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 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/ or cpc-power / cpcarchives download section - versions are for linux x64 and windows !

 
« Last Edit: 13:05, 13 September 20 by megachur »

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.915
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4031
  • Likes Given: 7261
Re: Lightgun support?
« Reply #8 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!

Online pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 762
  • Country: au
    • index.php?action=treasury
  • Liked: 443
  • Likes Given: 272
Re: Lightgun support?
« Reply #9 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.)
« Last Edit: 14:30, 13 September 20 by pelrun »

Offline RockRiver

  • CPC664
  • ***
  • Posts: 142
  • Country: aq
  • Liked: 30
  • Likes Given: 86
Re: Lightgun support?
« Reply #10 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) ???

Offline RockRiver

  • CPC664
  • ***
  • Posts: 142
  • Country: aq
  • Liked: 30
  • Likes Given: 86
Re: Lightgun support?
« Reply #11 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.


« Last Edit: 12:41, 15 February 21 by RockRiver »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 2.706
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 1270
  • Likes Given: 2964
Re: Lightgun support?
« Reply #12 on: 18:23, 11 February 21 »
Thanks for all that. Looks like the JavaCPC does the job.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2021.01.24)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.07.15)