Lightgun Lichtknarre > Configure Lichtknarre Lightgun for Dolphin and Mame with vjoy
What is going on here?
Here you can learn how to configure “Lichtknarre”-Lightgun-tool for Dolphin- and Mame-emulator by using the vjoy connector-plugin. In theory you could also use the mouse connector-plugin, but than mutible lightguns are not possible.
If you dont know what “Lichtknarre”-Lightgun is check this out:
Install and configure Vjoy
Download and Install: http://vjoystick.sourceforge.net/
I tested it with v2.
Use following configuration:
You can use as many joysticks you like. Lichtknarre will send the input to these devices.
Select the vjoy plugin for the player and its assigned device, which should send the data to the vjoy2 controller. The first player/device sends to the first vjoy controller and the second to the second controller and so on.
- player1 > vjoy connector plugin > vjoy virtual controller 1 > emulator has to use virtual vjoy controller1
- player2 > vjoy connector plugin > vjoy virtual controller 2 > emulator has to use virtual vjoy controller2
Every virtual vjoy controller has to be activated in vjoy configurator.
For Dolphin, you can configure the buttons normally by using the controller. The Nunchuck is also supported. To do this, select the vjoy controller for the associated player.
To transfer the input from the lightgun to the axes of the vjoy2 controller into Dolphin, you have to configure the “up”, “down”, “left”, “right” dialogue manually. For this use right click on the buttons and search for “Axis X- X+ Y- Y+” and configure it like in the picture.
Make sure you strech the picture over your full screen else it is not pixel perfect targeting because the software things you use the full screen and the emulator only uses a part of the screen because maybe the game is in 4:3.
Please read this for more infos: https://geekonarium.de/en/what-is-ir-offset-and-why-do-i-need-it/
Mame is not that easy. First configure the global config like this:
Make sure all the games uses the global configuration. By resetting the game configuration.
Afterwards start the game and configure the lightgun and the keys.
Press Tab > Enter “input (general)” > enter “player 1 controls” > scroll to Lightgun settings and configure by pressing enter.
Now goto mame.ini in your Mame folder and change the following values to the following values:
You have to move the wiiremote horizontal when configuring “Lightgun X Analog” and move vertical when configure “Lightgun Y Analog”.
By hitting esc you can return to the game. But dont forget to configure the keys for coins and start by using the wii remote. You can do all this configuration for other players also.
Make sure you strech the picture over the full screen, because else the iron sight accuracy is lost. The game could be in 4:3 ratio and your screen is 16:9. For more Infos please read here: https://geekonarium.de/en/what-is-ir-offset-and-why-do-i-need-it/
Sometimes mame has problems with mouse and joystick performance. That is why I will make the input per second configurable for the Vjoy plugin in the Lichtknarre software.
You will then be able to configure it here:
Now your able to configure all the Buttons you need. Here is how i configured my Buttons with vjoy2 connector:
It is very basic and you shall better include this into your actual config than override.
The configuration is located in “mame folder/cfg/default.cfg”