The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: MydknyteStyrm on June 07, 2013, 03:10:29 pm
-
Hi folks,
I've read every post I could find on AC regarding the Aimtrak gun, and here's my problem. Hopefully someone has the answer.
I have the Aimtrak utility v1.9, and running Mame 0147. The issue I have is with games like Terminator 2, Rev X, and Op Wolf, or any game that requires a second button to throw a bomb, cd, etc.
I cant get Mame to recognize the second button. Trigger is fine. I set up my Aimtrak Utility with the following:
:Emulate Mouse is ticked
:Trigger emulates Left Mouse onscreen, Right Mouse offscreen (Lethal Enforcers works fine)
LEFT button and RIGHT button: I've tried numerous options, including GP 1-8 and Mouse Left/Right.
In the Mame interface (not UIFX) I hit TAB and set the controls, but when I try to set P1 BUTTON 2, Mame doesnt even pick it up. If I set it to JOY1_Button2, still doesnt register on the gun.
I even went to the CFG file for Terminator 2, entered GUNCODE_B1 for the second button, and when I returned to Mame, there was B0 for the trigger, and B1 for the "Bomb" button. But still didnt work. :banghead:
What I need to know is what's the best way to set up the Aimtrak Utility to work for the red buttons? I assume GP means GamePad, and nothing seems to work. :angry:
I changed the INI file in Mame to read the lightgun, and issues keep arising.
Any help you guys can provide would be most helpful. Thanks!
-
I changed the INI file in Mame to read the lightgun, and issues keep arising.
Don't enable lightguns in the .ini
That option was for old gameport (not USB) lightguns made by Act Labs.
Your Aim-Trak is a mouse. Ignore everything to the contrary.
Not sure what to tell you about the 2nd button not working.
Make sure the mouse is enabled and multiple mouse if you have two guns or another device that shows as a mouse.
Since shooting offscreen shows up as a right mouse click, maybe you can't have the 2nd button also mapped to that.
If it's showing as a gamepad button, you also need to have joystick enabled in mame.ini
-
I turned off the Lightgun option in Mame, and now it wont even work at all. According to the Aimtrak instructions online, I was supposed to leave it at 1. Here is what my Mame.ini looks like now.
#
# CORE CONFIGURATION OPTIONS
#
writeconfig 0
#
# CORE SEARCH PATH OPTIONS
#
rompath E:/roms
hashpath hash
samplepath samples
artpath artwork
ctrlrpath ctrlr
inipath .;ini
fontpath .
cheatpath cheat
crosshairpath crosshair
#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory cfg
nvram_directory nvram
memcard_directory memcard
input_directory inp
state_directory sta
snapshot_directory snap
diff_directory diff
comment_directory comments
#
# CORE OUTPUT DIRECTORY OPTIONS
#
hiscore_directory hi
#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 0
playback
record
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
burnin 0
#
# CORE PERFORMANCE OPTIONS
#
autoframeskip 0
frameskip 0
seconds_to_run 0
throttle 1
sleep 1
speed 1.0
refreshspeed 0
#
# CORE ROTATION OPTIONS
#
rotate 1
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0
#
# CORE ARTWORK OPTIONS
#
artwork_crop 0
use_backdrops 1
use_overlays 1
use_bezels 1
use_cpanels 1
use_marquees 1
#
# CORE SCREEN OPTIONS
#
brightness 1.0
contrast 1.0
gamma 1.0
pause_brightness 0.65
effect none
#
# CORE VECTOR OPTIONS
#
antialias 1
beam 1.0
flicker 0
#
# CORE SOUND OPTIONS
#
sound 1
samplerate 48000
samples 1
volume 0
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 1
joystick 1
lightgun 0
multikeyboard 0
multimouse 1
steadykey 0
ui_active 0
offscreen_reload 1
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
natural 0
joystick_contradictory 0
coin_impulse 0
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device keyboard
lightgun_device mouse
positional_device keyboard
mouse_device mouse
#
# CORE DEBUGGING OPTIONS
#
log 0
verbose 0
update_in_pause 0
debug 0
debugscript
debug_internal 0
#
# CORE MISC OPTIONS
#
bios
cheat 0
skip_gameinfo 1
uifont default
ramsize
confirm_quit 0
ui_mouse 0
#
# CORE MKChamp OPTIONS
#
disable_hiscore_patch 0
disable_nagscreen_patch 0
disable_loading_patch 0
#
# WINDOWS DEBUGGING OPTIONS
#
oslog 0
watchdog 0
debugger_font "Lucida Console"
debugger_font_size 9
#
# WINDOWS PERFORMANCE OPTIONS
#
priority 0
multithreading 0
numprocessors auto
profile 0
bench 0
#
# WINDOWS VIDEO OPTIONS
#
video d3d
numscreens 1
window 0
maximize 1
keepaspect 1
prescale 1
waitvsync 0
syncrefresh 0
menu 0
#
# DIRECTDRAW-SPECIFIC OPTIONS
#
hwstretch 1
#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion 9
filter 1
#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 0
hlslpath hlsl
hlsl_ini_read 0
hlsl_ini_write 0
hlslini %g
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_preset -1
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.0
shadow_mask_texture aperture.png
shadow_mask_x_count 320
shadow_mask_y_count 240
shadow_mask_usize 0.09375
shadow_mask_vsize 0.109375
curvature 0.0
pincushion 0.0
scanline_alpha 0.0
scanline_size 1.0
scanline_height 0.7
scanline_bright_scale 1.0
scanline_bright_offset 0.0
scanline_jitter 0.0
defocus 0.0,0.0
converge_x 0.0,0.0,0.0
converge_y 0.0,0.0,0.0
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.0
offset 0.0,0.0,0.0
scale 1.0,1.0,1.0
power 1.0,1.0,1.0
floor 0.0,0.0,0.0
phosphor_life 0.0,0.0,0.0
yiq_enable 0
yiq_cc 3.59754545
yiq_a 0.5
yiq_b 0.5
yiq_o 0.0
yiq_p 1.0
yiq_n 1.0
yiq_y 6.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2
#
# PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution auto
view auto
screen0 auto
aspect0 auto
resolution0 auto
view0 auto
screen1 auto
aspect1 auto
resolution1 auto
view1 auto
screen2 auto
aspect2 auto
resolution2 auto
view2 auto
screen3 auto
aspect3 auto
resolution3 auto
view3 auto
#
# FULL SCREEN OPTIONS
#
triplebuffer 0
switchres 0
full_screen_brightness 1.0
full_screen_contrast 1.0
full_screen_gamma 1.0
#
# WINDOWS SOUND OPTIONS
#
audio_latency 2
#
# INPUT DEVICE OPTIONS
#
dual_lightgun 0
-
I don't see anything that looks wrong. I guess put lightgun back to 1 if that's what the aim-trak instructions say.
Only other thing I can think of is to make sure you delete the games individual .ini files in case those vary from the main mame.ini
-
Try these settings:
https://picasaweb.google.com/113479638023975506740/Mame#slideshow/5855582425483166018 (https://picasaweb.google.com/113479638023975506740/Mame#slideshow/5855582425483166018)
Z
-
Thanks Zeenon, but its a dead link.