Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Problema con due spinner sul Mame 2010 (versione 0.139)

    Italiano
    problema con due spinner sul
    1
    1
    697
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DreyMIX
      DreyMIX last edited by

      Buongiorno,
      ho un problema con il secondo spinner da associare al secondo giocatore.
      Possiedo 2 spinner della Ultimarc e li ho attaccati alle 2 prese USB del raspberry e il sistema me li riconosce correttamente se do il comando:

      ls /dev/input -ls
      
      total 0
           0 drwxr-xr-x    2 root     root           380 May 18 15:39 by-id
           0 drwxr-xr-x    2 root     root           460 May 18 15:39 by-path
           0 crw-rw----    1 root     input      13,  64 Jan  1  1980 event0
           0 crw-rw----    1 root     input      13,  65 Jan  1  1980 event1
           0 crw-rw----    1 root     input      13,  74 Jan  1  1980 event10
           0 crw-rw----    1 root     input      13,  75 Jan  1  1980 event11
           0 crw-rw----    1 root     input      13,  76 May 18 15:39 event12
           0 crw-rw----    1 root     input      13,  77 May 18 15:39 event13
           0 crw-rw----    1 root     input      13,  78 May 18 15:42 event14
           0 crw-rw----    1 root     input      13,  66 Jan  1  1980 event2
           0 crw-rw----    1 root     input      13,  67 Jan  1  1980 event3
           0 crw-rw----    1 root     input      13,  68 Jan  1  1980 event4
           0 crw-rw----    1 root     input      13,  69 Jan  1  1980 event5
           0 crw-rw----    1 root     input      13,  70 Jan  1  1980 event6
           0 crw-rw----    1 root     input      13,  71 Jan  1  1980 event7
           0 crw-rw----    1 root     input      13,  72 Jan  1  1980 event8
           0 crw-rw----    1 root     input      13,  73 Jan  1  1980 event9
           0 crw-rw-r--    1 root     input      13,   0 Jan  1  1980 js0
           0 crw-rw-r--    1 root     input      13,   1 Jan  1  1980 js1
           0 crw-rw-r--    1 root     input      13,   2 Jan  1  1980 js2
           0 crw-rw-r--    1 root     input      13,   3 Jan  1  1980 js3
           0 crw-rw-r--    1 root     input      13,   4 Jan  1  1980 js4
           0 crw-rw-r--    1 root     input      13,   5 Jan  1  1980 js5
           0 crw-rw-r--    1 root     input      13,   6 Jan  1  1980 js6
           0 crw-rw-r--    1 root     input      13,   7 Jan  1  1980 js7
           0 crw-rw----    1 root     input      13,  63 Jan  1  1980 mice
           0 crw-rw----    1 root     input      13,  32 Jan  1  1980 mouse0
           0 crw-rw----    1 root     input      13,  33 Jan  1  1980 mouse1
           0 crw-rw----    1 root     input      13,  34 Jan  1  1980 mouse2
           0 crw-rw----    1 root     input      13,  35 May 18 15:39 mouse3
           0 crw-rw----    1 root     input      13,  36 May 18 15:39 mouse4
      

      Il "mouse3" e "mouse4" sono rispettivamente i 2 spinner e rispondono bene.

      Utilizzo la rom 0.139 (mame 2010) per Badlands. E ho il file badlands.ini così configurato:

      <UNADORNED0>              badlands
      
      #
      # CORE CONFIGURATION OPTIONS
      #
      readconfig                1
      writeconfig               1
      
      #
      # CORE SEARCH PATH OPTIONS
      #
      rompath                   /recalbox/share/roms/mame/
      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 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
      
      #
      # CORE SCREEN OPTIONS
      #
      brightness                1.0
      contrast                  1.0
      gamma                     1.0
      pause_brightness          0.65
      
      #
      # 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             1
      multimouse                1
      stead&ast;&ast;ey                 0
      offscreen_reload          0
      joystick_map              auto
      joystick_deadzone         0.3
      joystick_saturation       0.85
      natural                   0
      uimodekey                 auto
      
      #
      # CORE INPUT AUTOMATIC ENABLE OPTIONS
      #
      paddle_device             keyboard
      adstick_device            keyboard
      pedal_device              keyboard
      dial_device               mouse
      trackball_device          keyboard
      lightgun_device           keyboard
      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             0
      skip_nagscreen            1
      skip_warnings             0
      

      Mentre retroarch mi vede rispettivamente lo spinner "mouse3" come mouse index "3" e lo spinner "mouse4" come mouse index "1". Quindi nel file di configurazione di retroarch ho:

      input_player1_mouse_index = "3"
      input_player2_mouse_index = "1"
      

      Ho anche abilitato la funzione di mouse all'interno di retroarch. Se apro il menu del mame e entro su Input (this Game) e su Dial Analog premo INVIO e muovo lo spinner mi viene associato Mouse 1 X; mentre se vado su Dial 2 Analog premo INVIO e muovo il secondo spinner, non mi rileva nulla. Quindi sembrerebbe che il secondo spinner non funzioni. Invece se entro nel menu di Retroarch e scambio l'indice dell'ID del mouse tra il 1° giocatore e il 2° giocatore.
      Quindi è come se da configurazione mettessi:

      input_player1_mouse_index = "1"
      input_player2_mouse_index = "3"
      

      Il secondo spinner funziona, ma ovviamente il primo spinner non viene più rilevato quando provo a variare la configurazione dei controller dal menu del mame.

      Utilizzo la v18.07.13 di recalbox. C'è qualcosa che sbaglio o il mame 2010 non supporta più di uno spinner contemporaneamente? Vorrei evitare di utilizzare Advance Mame (che sono sicuro funzionerebbe tranquillamente).

      Grazie infinite.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Want to support us ?

      79
      Online

      99.7k
      Users

      28.1k
      Topics

      187.1k
      Posts

      Copyright © 2021 recalbox.com