OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 Hey Thanks for your Help! Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 They only thing I see is Quote Input: Autoenabling mouse due to presence of a dial Input: Autoenabling mouse due to presence of a dial Are you sure you have Quote dial_device mouse in mame.ini? Other than that it looks like all your devices are set as an independent in MAME. You say the spinner doesn't assign? Will all the other mouse devices? Even the light guns should work as input in Arkanoid 2. The ones that work, do they show a different MOUSE # when setting in MAME? The only other thing that I can think of right now is that raw input isn't being used as the mouse driver. You could try setting this in mame.ini as well: Quote mouseprovider rawinput Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 YES I am sure on the MAME.ini file There is also lightgun provider I tried that with raw input that didn't work. This just hit me that all the devices that are working in windows but not mame are sharing a USB controller. By this I mean.. The spinners are on a board together with a single USB Out The lightguns are on a USB hub as I am out of USB space on this PC to make all this fit. I am going to test unplugging half both of them see if this works Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 Negative thats not the issue Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 Here is the parts list I used to build this unit, donno if it helps but never know. https://pcpartpicker.com/list/WJTBvW Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 From your output, MAME is seeing all 6 of your mouse devices and assigning them to separate IDs. Need a little more exact details... So you can set the spinner in Arkanoid2 to both trackballs, and both lightguns, just not the spinners? Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 (edited) I can set any controls to the following the 4 arcade sticks and any of the push buttons pick up the 2 trackballs the single USB Mouse The Single USB Keyboard What I cannot set any controls too but will move the mouse on the screen 2 Lightguns 2 Spinners just to add details you are correct the combined breadboard makes the two spinners like an etch of sketch 1 spinner is Y 1 Spinner is X Edited January 26, 2020 by OSIAS Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 16 minutes ago, OSIAS said: What I cannot set any controls too but will move the mouse on the screen 2 Lightguns 2 Spinners just to add details you are correct the combined breadboard makes the two spinners like an etch of sketch 1 spinner is Y 1 Spinner is X 1) Outside of emulation, does one of the light guns and the 2 spinners cause the mouse to move in Windows? 2) Does anything change if you unplug the other devices and just leave the spinners? Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 both lightguns and both spinners move the mouse in windows. Unplugging half, whole or even 3/4 and just leaving 1 input left IE no combination of USB has any change in MAME settings controls. I have already been messing with that but I have tested again still no joy its something else. Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 (edited) That's very strange. They work fine in Windows, MAME is seeing the devices correctly but those 2 don't work in game. Only other thing I can think of right now is rename your cfg folder in MAME directory and try again if a clean setting folder helps. How fast are you spinning the spinners. I know in MAME I have to spin/move fast for analog devices to be seen. Edit: Maybe paste your mame.ini, maybe we're missing something. Edited January 26, 2020 by Headrush69 Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 spinners are pretty slow I spin as fast as I can. Even still the guns are not slow at all so doesn't explain that. Here is my mam.ini Quote # # CORE CONFIGURATION OPTIONS # readconfig 1 writeconfig 0 # # CORE SEARCH PATH OPTIONS # homepath . rompath roms hashpath hash samplepath samples artpath artwork ctrlrpath ctrlr inipath .;ini;ini/presets fontpath . cheatpath cheat crosshairpath crosshair pluginspath plugins languagepath language swpath software # # CORE OUTPUT DIRECTORY OPTIONS # cfg_directory cfg nvram_directory nvram input_directory inp state_directory sta snapshot_directory snap diff_directory diff comment_directory comments # # CORE STATE/PLAYBACK OPTIONS # state autosave 0 rewind 0 rewind_capacity 100 playback record record_timecode 0 exit_after_playback 0 mngwrite aviwrite wavwrite snapname %g/%i snapsize auto snapview internal snapbilinear 1 statename %g burnin 0 # # CORE PERFORMANCE OPTIONS # autoframeskip 0 frameskip 0 seconds_to_run 0 throttle 1 sleep 1 speed 1.0 refreshspeed 0 lowlatency 0 # # CORE RENDER OPTIONS # keepaspect 1 unevenstretch 1 unevenstretchx 0 unevenstretchy 0 autostretchxy 0 intoverscan 0 intscalex 0 intscaley 0 # # CORE ROTATION OPTIONS # rotate 1 ror 0 rol 0 autoror 0 autorol 0 flipx 0 flipy 0 # # CORE ARTWORK OPTIONS # artwork_crop 0 fallback_artwork override_artwork # # CORE SCREEN OPTIONS # brightness 1.0 contrast 1.0 gamma 1.0 pause_brightness 0.65 effect none # # CORE VECTOR OPTIONS # beam_width_min 1.0 beam_width_max 1.0 beam_intensity_weight 0 flicker 0 # # CORE SOUND OPTIONS # samplerate 48000 samples 1 volume 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr mycontrols mouse 0 joystick 1 lightgun 0 multikeyboard 0 multimouse 1 steadykey 0 ui_active 0 offscreen_reload 0 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 mouse adstick_device keyboard pedal_device keyboard dial_device mouse trackball_device mouse lightgun_device mouse positional_device mouse mouse_device mouse # # CORE DEBUGGING OPTIONS # verbose 0 log 0 oslog 0 debug 0 update_in_pause 0 debugscript # # CORE COMM OPTIONS # comm_localhost 0.0.0.0 comm_localport 15112 comm_remotehost 127.0.0.1 comm_remoteport 15112 comm_framesync 0 # # CORE MISC OPTIONS # drc 1 drc_use_c 0 drc_log_uml 0 drc_log_native 0 bios cheat 0 skip_gameinfo 0 uifont default ui cabinet ramsize confirm_quit 0 ui_mouse 1 language English nvram_save 1 # # SCRIPTING OPTIONS # autoboot_command autoboot_delay 0 autoboot_script console 0 plugins 1 plugin noplugin # # HTTP SERVER OPTIONS # http 0 http_port 8080 http_root web # # OSD KEYBOARD MAPPING OPTIONS # uimodekey SCRLOCK # # OSD FONT OPTIONS # uifontprovider auto # # OSD OUTPUT OPTIONS # output auto # # OSD INPUT OPTIONS # keyboardprovider auto mouseprovider auto lightgunprovider auto joystickprovider auto # # OSD DEBUGGING OPTIONS # debugger auto debugger_port 23946 debugger_font auto debugger_font_size 0 watchdog 0 # # OSD PERFORMANCE OPTIONS # numprocessors auto bench 0 # # OSD VIDEO OPTIONS # video auto numscreens 1 window 0 maximize 1 waitvsync 0 syncrefresh 0 monitorprovider auto # # OSD 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 # # OSD FULL SCREEN OPTIONS # switchres 0 # # OSD ACCELERATED VIDEO OPTIONS # filter 1 prescale 1 # # OpenGL-SPECIFIC OPTIONS # gl_forcepow2texture 0 gl_notexturerect 0 gl_vbo 1 gl_pbo 1 gl_glsl 0 gl_glsl_filter 1 glsl_shader_mame0 none glsl_shader_mame1 none glsl_shader_mame2 none glsl_shader_mame3 none glsl_shader_mame4 none glsl_shader_mame5 none glsl_shader_mame6 none glsl_shader_mame7 none glsl_shader_mame8 none glsl_shader_mame9 none glsl_shader_screen0 none glsl_shader_screen1 none glsl_shader_screen2 none glsl_shader_screen3 none glsl_shader_screen4 none glsl_shader_screen5 none glsl_shader_screen6 none glsl_shader_screen7 none glsl_shader_screen8 none glsl_shader_screen9 none # # OSD SOUND OPTIONS # sound auto audio_latency 2 # # PORTAUDIO OPTIONS # pa_api none pa_device none pa_latency 0 # # BGFX POST-PROCESSING OPTIONS # bgfx_path bgfx bgfx_backend auto bgfx_debug 0 bgfx_screen_chains default bgfx_shadow_mask slot-mask.png bgfx_lut bgfx_avi_name auto # # WINDOWS PERFORMANCE OPTIONS # priority 0 profile 0 # # WINDOWS VIDEO OPTIONS # menu 0 attach_window # # DIRECT3D POST-PROCESSING OPTIONS # hlslpath hlsl hlsl_enable 0 hlsl_oversampling 0 hlsl_write auto hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_tile_mode 0 shadow_mask_alpha 0.0 shadow_mask_texture shadow-mask.png shadow_mask_x_count 6 shadow_mask_y_count 4 shadow_mask_usize 0.1875 shadow_mask_vsize 0.25 shadow_mask_uoffset 0.0 shadow_mask_voffset 0.0 distortion 0.0 cubic_distortion 0.0 distort_corner 0.0 round_corner 0.0 smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.0 scanline_size 1.0 scanline_height 1.0 scanline_variation 1.0 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 hum_bar_alpha 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 chroma_mode 3 chroma_conversion_gain 0.299,0.587,0.114 chroma_a 0.64,0.33 chroma_b 0.30,0.60 chroma_c 0.15,0.06 chroma_y_gain 0.2126,0.7152,0.0722 # # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_jitter 0.0 yiq_cc 3.57954545 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 # # VECTOR POST-PROCESSING OPTIONS # vector_beam_smooth 0.0 vector_length_scale 0.5 vector_length_ratio 0.5 # # BLOOM POST-PROCESSING OPTIONS # bloom_blend_mode 0 bloom_scale 0.0 bloom_overdrive 1.0,1.0,1.0 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.64 bloom_lvl2_weight 0.32 bloom_lvl3_weight 0.16 bloom_lvl4_weight 0.08 bloom_lvl5_weight 0.06 bloom_lvl6_weight 0.04 bloom_lvl7_weight 0.02 bloom_lvl8_weight 0.01 lut_texture lut_enable 0 ui_lut_texture ui_lut_enable 0 # # FULL SCREEN OPTIONS # triplebuffer 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # INPUT DEVICE OPTIONS # global_inputs 0 dual_lightgun 0 # # FRONTEND COMMAND OPTIONS # dtd 1 Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 I haven't touched the CFG folder will have to explain further what you mean and why. Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 (edited) Quote mouse 0 joystick 1 lightgun 0 change to Quote mouse 1 joystick 1 lightgun 1 in mame.ini 10 minutes ago, OSIAS said: I haven't touched the CFG folder will have to explain further what you mean and why. This folder just saves and change every made in your defaults or specific games. Renaming it means we are starting with an unmodified clean setup. If you every have a problem with a game controls, you can delete the game.cfg to restore to defaults. If you ever mess up you deafults input (not per game), you can delete the default.cfg Edited January 26, 2020 by Headrush69 Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 sorry busy next 45 mins or so will update after Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 So doing this: mouse 1 joystick 1 lightgun 1 Seems to let MAME pick it up now in the config controls Idunno that I am all said and done though I gotta go will work on it hoepfully in the morning. I rebooted and gun 1 became gun 2 which shouldn't happen with the hard coded ID's so I am confused. Anyhow progress I think this puts me over the top in some way, will need to work on it tomm and hopefully finish it up. Thank You will let you know how it goes Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 Okay NVM I think the ID's are stable, whats sorta odd is we named our gun1 mousecode6 so it shows up as gun6 when binding. Thus none of the default binds will work which is okay as long as mame will pick up the movement to remap and it does. So yay but know I have yet another issue and its odd. In light gun games in MAME I have confirmed that the action to shoot is button 1 it is mapped to a arcade stick button if I point the gun on the screen and push the arcade stick button it fires. If I unmap the button it stops firing. So I know I have the correct button / config to map. I Map it to the trigger on the lightgun. MAME does recognize and pickup the lightgun trigger and maps it to gun6 button 1. However it will not fire, map the same item back to the arcade stick fires np. It picks up the device lets me remap to it but won't use on activation. Why am I having so many issues. Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 I think having the mouse code for the guns is enough. I don't have my Aimtraks anymore, but I thought the gun code mode was when they were used in joystick mode. (I'm sure it's explained in the Aimtrak docs) I would suggest setting the default controls (General) first before doing individual games. You may not even need to set up individual games after that. Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 (edited) I am not following you, we made so many changes which one are you saying to revert? I was referencing the static ID mycontrolers file in the ctrlr in how they line up. I have the aimtrak docs been reviewing them will look at it again. Edited January 26, 2020 by OSIAS Quote Link to comment Share on other sites More sharing options...
OSIAS Posted January 26, 2020 Author Share Posted January 26, 2020 Yupper the manual helps mame.ini offscreen_reload 1 was needed Also when configuring I have to point the gun at the screen when I pull the trigger So many gotchas Think I got this finally figured out though. Maybe lol Thanks for all your help man! Quote Link to comment Share on other sites More sharing options...
Headrush69 Posted January 26, 2020 Share Posted January 26, 2020 1 hour ago, OSIAS said: So many gotchas Think I got this finally figured out though. Maybe lol Once that's all done than it's just a matter of adjusting analog input for each game! ? (Adjusting trackball and spinner sensitivity per game to make it fell right) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.