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: compile groovymame include jlgraw (advance lightgun support)  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

caskad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:April 02, 2012, 02:48:22 am
compile groovymame include jlgraw (advance lightgun support)
« on: January 30, 2012, 02:35:31 pm »
Hello,

Quote
Implementation of a lightgun driver using the Windows XP "Raw Input" API.
 * SMOG Lightgun (http://lightgun.splinder.com/)
 * Acts Labs Lightgun (http://www.act-labs.com/)
+ EMS drivers

this was a great feature in advanceMame, and the source are available using Joystick driver "lgrawinput".

http://www.koders.com/c/fidCAF1B6A0A00BF517B3CD5A310BB6BF6EF7980BAC.aspx?s=%22sam%22#L23

and complete source script:

http://www.koders.com/info.aspx?c=ProjectInfo&pid=ENY5RP8HA9PHQQ8FZAGALF5CDH

I'm not able to understand how it works to add them on groovy, but open source means esay compilation ?

I can't test right now, because advancemame don't work on XP64...

But on xp 32 with calamity's drivers, i have this calibration working nicely with opération wolf (moving accros the screen with correct resolution).

This could be great idea to have this on groovymame for people who don't have money for IR GUN ;)

Dunno if i can help for testing or helping, but it's rock.

that was an idea for completing this wonderfull work !
« Last Edit: January 30, 2012, 07:18:56 pm by caskad »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: lightgun support? (EMS, wingun, smog driver)
« Reply #1 on: January 30, 2012, 04:02:52 pm »
Hi caskad, thanks for posting this.

Lightgun stuff is a completely unknown to me, I don't have the hardware to test and I can't even figure out what the autocalibration issue is all about. However, let's see if someone has some ideas on how to integrate this in GroovyMAME.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

caskad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:April 02, 2012, 02:48:22 am
Re: Autocalibration with lightgun (EMS, smog driver) in GroovyMame
« Reply #2 on: January 30, 2012, 06:29:42 pm »
From Habemus lightgun blog :)

Quote
This sounds like great news, but not all of us use advMame. Is this going to hinder the other users in anyway? i.e. Mamewah, mame32, etc. etc.


Quote
I'm here :)

When something will work for AdvanceMAME will be easy to port it to other emulators and frontends.

Andrea Mazzoleni


Hope this become true :)

+

Quote
3.2.6 lgrawinput - Light Gun (Windows XP)

This driver works in Windows XP and it support lightguns using the Windows mouse interface.
It supports more than one lightgun at the same time of the following types:

SMOG Lightgun (http://lightgun.splinder.com/)
Acts Labs Lightgun (http://www.act-labs.com/)
The lightgun is automatically calibrated before every use. You must move the lightgun over the whole screen every time the program starts or changes video mode.

it's seem to be just a "driver" who add this in mame.ini

Quote
6.2.1 device_lgrawinput_calibration

Select the type of calibration of the lightgun.
device_lgrawinput_calibration auto | none

Options:
auto    Automatically calibrates the lightgun before every use. You must move the lightgun over the whole screen every time the program starts or changes video mode (default).
none    Never calibrates the lightguns, but it assumes that the returned values are already scaled in the range 0 - 65536.

There must be a way to include this with advmame open source :laugh:
« Last Edit: January 30, 2012, 06:37:05 pm by caskad »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: compile groovymame include jlgraw (advance lightgun support)
« Reply #3 on: January 31, 2012, 05:38:30 pm »
Thanks caskad, I'll have a look at it at some point.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi