Author Topic: Lightgun support?  (Read 270 times)

0 Members and 1 Guest are viewing this topic.

Offline keith56

  • ちび悪魔!
  • Supporter
  • 6128 Plus
  • *
  • Posts: 570
  • Country: jp
  • Part Ma, Part Aku... All Chibi!
    • Chibi Akumas Assembly tutorials
  • Liked: 927
  • Likes Given: 211
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 Livestreaming Channel: ChibiAkimas Live

Offline Gryzor

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

Online Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.728
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4219
  • Likes Given: 444
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: 15.945
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3413
  • Likes Given: 6125
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: 570
  • Country: jp
  • Part Ma, Part Aku... All Chibi!
    • Chibi Akumas Assembly tutorials
  • Liked: 927
  • Likes Given: 211
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 Livestreaming Channel: ChibiAkimas Live

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.247
  • Country: gr
    • Parts from the past.
  • Liked: 721
  • Likes Given: 1827
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: 792
  • Country: es
  • " ... in space no one , can hear you scream ... "
  • Liked: 1684
  • Likes Given: 1280
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: 71
  • Country: fr
  • z80 Powaaa !
    • cpc-power
  • Liked: 102
  • Likes Given: 8
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: 15.945
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3413
  • Likes Given: 6125
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!

Offline pelrun

  • Supporter
  • 6128 Plus
  • *
  • Posts: 649
  • Country: au
    • index.php?action=treasury
  • Liked: 337
  • Likes Given: 207
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 »