game:trac_ball
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| game:trac_ball [2026/01/29 19:42] – created mlivolsi | game:trac_ball [2026/01/29 20:48] (current) – [Step 4: Applying this to Tempest (The Spinner)] mlivolsi | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <fc # | <fc # | ||
| + | |||
| + | <fc # | ||
| + | |||
| + | * NOTE 1: we're going to do everything command line, but if you need retroarch menu, | ||
| + | * it's <SCROLL + F1> | ||
| + | * NOTE 2: We need these instructions because by default, Missile Command and Tempest are looking for LIGHTGUN, not mouse, so we need to enable the mouse. | ||
| Score 1 for Gemini.. ChatGPT just fell apart. | Score 1 for Gemini.. ChatGPT just fell apart. | ||
| - | ==== Phase 1: Identifying the Hardware ==== | + | Before we start, and before firing up the game, |
| + | * we bring up the game in our MAME menu, | ||
| + | * then long press Button 1 to bring up a menu. | ||
| + | * Move down to " | ||
| + | * Emulator will be LIBRETRO: | ||
| + | * and LIBRETRO: MAME078PLUS for Centipede. | ||
| + | |||
| + | ==== Step 1: Identifying the Hardware ==== | ||
| The system sees every USB device (Keyboard, PS3 controller, Xinmotec, Trackball) and gives it a "Mouse Index" number. | The system sees every USB device (Keyboard, PS3 controller, Xinmotec, Trackball) and gives it a "Mouse Index" number. | ||
| Line 13: | Line 26: | ||
| * Result: This told us your magic number is Index 0. | * Result: This told us your magic number is Index 0. | ||
| - | ==== Phase 2: Enabling the " | + | ==== Step 2: Enabling the " |
| The Emulator Core (MAME) has to be told that it is allowed to use a mouse at all. | The Emulator Core (MAME) has to be told that it is allowed to use a mouse at all. | ||
| - | Location: / | ||
| - | | + | * Location: / |
| + | * Key Setting: mame_mouse_enable = " | ||
| + | * Result: This turned on the " | ||
| - | Result: This turned on the " | ||
| - | ==== Phase 3: Mapping the " | + | < |
| + | [root@BATOCERA / | ||
| + | mame_media_type | ||
| + | mame_mouse_enable | ||
| + | mame_read_config | ||
| + | </ | ||
| + | ==== Step 3: Mapping the " | ||
| Because the menu wasn't saving, we manually created a "Game Override" | Because the menu wasn't saving, we manually created a "Game Override" | ||
| - | | + | * |
| + | * The Code: You added these two critical lines: | ||
| + | * input_player1_mouse_index = " | ||
| + | * input_libretro_device_p1 = " | ||
| - | The Code: You added these two critical lines: | + | < |
| - | + | [root@BATOCERA ~]# tail / | |
| - | input_player1_mouse_index = " | + | input_player1_mouse_index = " |
| - | + | input_libretro_device_p1 = " | |
| - | | + | </ |
| - | + | ==== Step 4: Applying this to Tempest (The Spinner) ==== | |
| - | ==== Phase 4: Applying this to Tempest (The Spinner) ==== | + | |
| Tempest uses a spinner, but in MAME, a spinner is just the X-axis (left/ | Tempest uses a spinner, but in MAME, a spinner is just the X-axis (left/ | ||
| - | | + | * |
| + | * Copy missile.cfg and Paste it as tempest.cfg. | ||
| + | * Copy missile.opt and Paste it as tempest.opt. | ||
| - | Copy missile.cfg and Paste it as tempest.cfg. | + | Launch Tempest. It will now use the same "Index 0" logic. |
| - | + | ||
| - | Copy missile.opt and Paste it as tempest.opt. | + | |
| - | + | ||
| - | | + | |
| Summary Table for Future Reference | Summary Table for Future Reference | ||
| Line 52: | Line 71: | ||
| |.cfg | Input Mapping | input_player1_mouse_index = " | |.cfg | Input Mapping | input_player1_mouse_index = " | ||
| |.cfg | Device Type | input_libretro_device_p1 = " | |.cfg | Device Type | input_libretro_device_p1 = " | ||
| + | |||
| + | |||
| + | < | ||
| + | [root@BATOCERA / | ||
| + | total 36 | ||
| + | drwxr-xr-x 2 root root 4096 Jan 29 14:01 . | ||
| + | drwxr-xr-x 4 root root 4096 Jan 28 18:01 .. | ||
| + | -rw-r--r-- 1 root root 11402 Jan 29 13:42 MAME.cfg | ||
| + | -rw-r--r-- 1 root root 63 Jan 29 13:50 missile.cfg | ||
| + | -rw-r--r-- 1 root root 817 Jan 29 09:15 missile.opt | ||
| + | -rw-r--r-- 1 root root 63 Jan 29 14:01 tempest.cfg | ||
| + | -rw-r--r-- 1 root root 817 Jan 29 14:01 tempest.opt | ||
| + | </ | ||
| + | |||
| + | ==== Step 5: Map the keys in the game ==== | ||
| + | |||
| + | * Using the keyboard, press " | ||
| + | * You will use the arrow keys to navigate | ||
| + | * Press ' | ||
| + | * " | ||
| + | * Press ' | ||
| + | * Repeat for buttons 2 and 3 | ||
| + | * Move down to " | ||
| + | * Move your trackball in the X axis | ||
| + | * Repeat for " | ||
| + | * Move down to " | ||
| + | * Currently (subject to change or change as needed), all values are 30. Only " | ||
| + | * Back out of each menu when you're done. The settings will automatically save. Do the above for each game using LIBRETRO (in my case, Missile Command and Tempest) | ||
game/trac_ball.1769715768.txt.gz · Last modified: by mlivolsi
