• 0 Votes
    37 Posts
    34k Views
    RiverstormR

    @jimd0586 said in Dragon's Lair from Daphne Download, what to do when no lair.zip file:

    @Finhead

    I would upload a screenshot of my jstest but I have been unable to upload screenshots. When I run jstest it has the on:off for each button, but for my joystick it is an axes: and then either a positive or - negative number

    @jimd0586 Don't over think it. Don't worry about the axis values, they are for the joysticks and not the buttons (except Left Top and Right Top are axis values).

    It's not really difficult at all. Below is the default dainput.ini. I didn't do much with KEY_UP, KEY_DOWN, KEY_LEFT and KEY_RIGHT except remove the values 5, 7, 8, 6 (if you want to use those buttons for another function). The joystick automatically worked I only had to modify the buttons.

    Say you want to change action button 1 (KEY_BUTTON1 is the sword in Dragon's Lair). Just run jstest, press a button. If it highlights button 3 then add 1 to the number (3+1=4). 3 is the button and the +1 is because button 0 is reserved so you need to add 1. Every button is the value+1 and 0 is never used. Each line has 3 numbers (the first 2 are keyboard inputs and the last one is for the joystick). Now just find the line below you want to modify (names are self explanatory if not the Wiki explains them) and change the last number which is 14 to the new number which is 4 and that's it. Do this for each button you want to change. Example below.

    Original line:
    KEY_BUTTON1 = 306 97 14

    New line:
    KEY_BUTTON1 = 306 97 4

    # Daphne custom keyboard and joystick mapping # # Each input is mapped to 2 keyboard keys and one joystick button. # A joystick's first analog stick is also automatically mapped. # # The first two numbers are SDL keyboard codes (or 0 for "none") # Find keyboard codes here: # http://www.daphne-emu.com/mediawiki/index.php/KeyList # # The third number is the joystick button code (or 0 for "none") # Since 0 is reserved for special meaning, joystick button 0 is identified # as 1 here. Button 1 is identified as 2, and so on. # # Find the button you want to map by running: # jstest /dev/input/js0 [KEYBOARD] KEY_UP = 273 114 5 KEY_DOWN = 274 102 7 KEY_LEFT = 276 100 8 KEY_RIGHT = 275 103 6 KEY_BUTTON1 = 306 97 14 KEY_BUTTON2 = 308 115 15 KEY_BUTTON3 = 32 113 16 KEY_START1 = 49 0 4 KEY_START2 = 50 0 0 KEY_COIN1 = 53 0 1 KEY_COIN2 = 54 0 0 KEY_SKILL1 = 304 119 0 KEY_SKILL2 = 122 105 0 KEY_SKILL3 = 120 107 0 KEY_SERVICE = 57 0 0 KEY_TEST = 283 0 0 KEY_RESET = 284 0 0 KEY_SCREENSHOT = 293 0 0 KEY_QUIT = 27 113 17 END
  • lr-mame2003 aspect ratio

    101
    0 Votes
    101 Posts
    57k Views
    RiverstormR

    @dankcushions said in lr-mame2003 aspect ratio:

    you've all twisted my arm :) i've added the option. re-install from source via retropie menu and it should be available. details: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#skip-warnings-screen

    Thanks Dank, this is great!! The MAME gods have smiled upon us! I do feel those little golden rays of sunshine beaming down on us! :)

  • Getting emulators to see controller input as a keyboard?

    2
    0 Votes
    2 Posts
    885 Views
    mediamogulM

    @Loxley

    You can map your controller pcb to a virtual keyboad device using the built-in xboxdrv.

    Keyboard Emulation

    The following configuration will cause xboxdrv to emulate a keyboard, which can be useful for games that are played with keyboard, like Flash games or games that don't support a joystick. Since different games use different keyboard keys you might have to adjust the keybindings to fit the game:

    $ xboxdrv
    --ui-clear
    --ui-buttonmap a=XK_a,b=XK_b,x=XK_x,y=XK_y
    --ui-buttonmap dl=XK_Left,dr=XK_Right,du=XK_Up,dd=XK_Down

    Taken from:
    http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv.html

    There is also "Linux Joystick Mapper" that is very similar and a good choice as well. It's not included with RetroPie, so you'll have to make and install it.

    https://sourceforge.net/projects/linuxjoymap/

  • [SOLVED] what retroarch.cfg should be writable?

    30
    0 Votes
    30 Posts
    28k Views
    meleuM

    @smoothmalik This is a SOLVED topic. You have to start a new thread describing your problem.

    I updated the first post of this thread with some useful informations. This can clarify some things.

  • samba share access with mac os X - retropie 3.8

    2
    0 Votes
    2 Posts
    3k Views
  • Rebooting when launch retroarch/libretro emulator.

    3
    0 Votes
    3 Posts
    1k Views
    B

    @dankcushions thanks. I'll check this later.

  • digital coax audio for Retropie - Hifiberry or hdmi splitter?

    1
    0 Votes
    1 Posts
    751 Views
    No one has replied
  • Out of the sudden - Hotkey function missing

    3
    0 Votes
    3 Posts
    1k Views
    U

    Thanks

    But, I was in lr-fba-next next to other retroarch ports.

    I solved this by start from the scratch with 3.8.

  • Desync in Joystick control - MAME4all

    1
    0 Votes
    1 Posts
    519 Views
    No one has replied
  • All games in one list.

    3
    0 Votes
    3 Posts
    19k Views
    FinheadF

    @05r13539 Yes Attract Mode will do all that for you if you set it up correctly.

  • Tail Gunner MAME4ALL Crashing

    4
    0 Votes
    4 Posts
    1k Views
    D

    Thank you I will try these suggestions.

  • mapping buttons for xbox360 controller with reicast

    2
    0 Votes
    2 Posts
    4k Views
    H

    Hello,

    for me (PI 3 with retropie 3.6) it's :
    axis_trigger_left = 2
    axis_trigger_right = 5

    and

    [compat]
    btn_trigger_left = 312
    btn_trigger_right = 313
    axis_dpad1_x = 16
    axis_dpad1_y = 17
    axis_dpad2_x =
    axis_dpad2_y =
    axis_x_inverted = no
    axis_y_inverted = no
    axis_trigger_left_inverted = no
    axis_trigger_right_inverted = no
    axis_dpad1_y_inverted = yes
    axis_dpad1_x_inverted = no

    And you can use :
    btn_escape = 316 (Xbox button) to exit game.

    Have fun!

  • 0 Votes
    4 Posts
    3k Views
    B

    Hi, thanks @BuZz - all seems to work now. I got a few errors flash past as it was building but nothing that has stopped it from working. Hope it fixes it for you too @simonster.

    I did have to play about with the retroarch.cfg file in the /nes folder to get it to work with my NES controller, but fixed it by setting the player 1 control to:
    b_btn = "1"
    select_btn = "2"
    start_btn = "3"
    up_axis = "-1"
    down_axis = "+1"
    left_axis = "-0"
    right_axis = "+0"
    a_btn = "0"

    All the rest to "nul". If I didn't do this then as soon as I started a nes game it would not respond - I'm sure there is a proper config, but I spent a few hours playing about with the config files before I got it working so now enjoying some sweet retro gaming :)

  • Upgrading from 3.6 to 3.8 possible?

    2
    0 Votes
    2 Posts
    1k Views
    O

    Did you by any chance install the raspberrypi-sys-mods package as described in this post, fourth paragraph down.
    https://retropie.org.uk/forum/topic/1631/retropie-3-8-is-released

  • Kernel Version not updating to 4.4

    3
    0 Votes
    3 Posts
    1k Views
    S

    I am using berryboot. That would make sense then. Thank you. I'll try a fresh image only.

  • ES is not autostarting

    4
    0 Votes
    4 Posts
    1k Views
    BuZzB

    and fixed ;-)

  • Dreamcast Sprite Artifacts and Graphic Glitches (Mars Matrix)

    3
    0 Votes
    3 Posts
    1k Views
    O

    fba version works just fine, great advice thanks. I do love the Dreamcast graphics but moving over to fba saved me 700+mb.

  • RetroOSMC- Custom PSX Config setting's forgotten

    1
    0 Votes
    1 Posts
    638 Views
    No one has replied
  • Erratic Splashscreen

    5
    0 Votes
    5 Posts
    1k Views
    darthpaulD

    Thanks, I'll give that a try.

  • [SOLVED] Inverting controllers

    3
    0 Votes
    3 Posts
    908 Views
    O

    Oh exactly what I needed! Thanks a lot :D

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.