• 0 Votes
    5 Posts
    760 Views
    L

    At last, i managed to get it working!
    I had to use Code functionallity of the Linux Joystic Mapper as well as Device settings in order to map the analog axis to Steering Wheel. another problem was to get the Hat functions of the USB pad to be accepted by the Linux Mapper diriver. In the Linux Joystic Mapper code examples, one can read out how transform Hat-functinaillty to digital inputs. Also, the PSX emulator expects axis inputs between -32767 to 32767.

    axis vendor=0x00ff product=0x0000 src=0 target=joyaxis deadzone=10 axis=0 #Left analog Y-axis (Dwn>0<Up) axis vendor=0x00ff product=0x0000 src=1 target=joyaxis min=0 max=255 axis=1 #Right Analog X-axis (R>0<L) axis vendor=0x00ff product=0x0000 src=2 target=joyaxis axis=2 #Right Analog Y-axis (Dwn>0<Up) axis vendor=0x00ff product=0x0000 src=3 target=joyaxis axis=3 #L2/R2 Analog axis (L2>0<R2) #axis vendor=0x00ff product=0x0000 src=4 target=joyaxis axis=4 #Cross button button vendor=0x00ff product=0x0000 src=0 target=joybtn button=0 #Circle button button vendor=0x00ff product=0x0000 src=1 target=joybtn button=1 #Triangle button button vendor=0x00ff product=0x0000 src=3 target=joybtn button=3 #Square button button vendor=0x00ff product=0x0000 src=2 target=joybtn button=2 #L-Button button vendor=0x00ff product=0x0000 src=4 target=joybtn button=4 #R-Button button vendor=0x00ff product=0x0000 src=5 target=joybtn button=5 #L2-Button (Axis 4) button vendor=0x00ff product=0x0000 src=6 target=joybtn button=6 #R2 Button (Axis4) button vendor=0x00ff product=0x0000 src=7 target=joybtn button=7 #Select Button button vendor=0x00ff product=0x0000 src=8 target=joybtn button=8 #Start Button button vendor=0x00ff product=0x0000 src=9 target=joybtn button=9 #Up Button button vendor=0x00ff product=0x0000 src=10 target=joybtn button=10 #Down Button button vendor=0x00ff product=0x0000 src=11 target=joybtn button=11 #Left Button button vendor=0x00ff product=0x0000 src=12 target=joybtn button=12 #Right Button button vendor=0x00ff product=0x0000 src=13 target=joybtn button=13 #Left analog Button button vendor=0x00ff product=0x0000 src=14 target=joybtn button=14 #Right Analog Button button vendor=0x00ff product=0x0000 src=15 target=joybtn button=15 #L3-Button #button vendor=0x00ff product=0x0000 src=16 target=joybtn button=16 #R3 Button #button vendor=0x00ff product=0x0000 src=17 target=joybtn button=17 #Extra buttons button vendor=0x00ff product=0x0000 src=18 target=joybtn button=18 button vendor=0x00ff product=0x0000 src=19 target=joybtn button=19 button vendor=0x00ff product=0x0000 src=20 target=joybtn button=20 button vendor=0x00ff product=0x0000 src=21 target=joybtn button=21 #assign a joystick number fo script purposes script vendor=0x045e product=0x001a device=1 #"Microsoft SideWinder" script vendor=0x081f product=0xe401 device=0 #"USB gamepadad" #script vendor=0x00ff product=0x0000 device=2 #Joypad 0" #script vendor=0x06f8 product=0xa300 device=4 # Guillermo DualShock code "Cargame.code" ``` Cargamecode ``` var val; #get a positive value for acceleration # >128 indicates acceleration #js1 is Racing wheel val=js1.a[1]/2+128; #produce a brake value # <128 indicates brakes # we need to reverse the sense of the axis val-=js1.a[2]/2; a[3]=val; #note that accelerating and braking at # the same time results in no action # but cannot be resolved here #USB Button #USB Gamepad Left-Button b[10]=(js0.a[0]<128); #USB Gamepad Right-Button b[11]=(js0.a[0]>128); #USB Gamepad Up-Button b[8]=(js0.a[1]<128); #USB Gamepad Down-Button b[9]=(js0.a[1]>128); #USB Gamepad A-Button b[1]=(js0.b[0]); #USB Gamepad B-Button b[0]=(js0.b[1]); #USB Gamepad X-Button b[3]=(js0.b[2]); #USB Gamepad Y-Button b[2]=(js0.b[3]); #USB Gamepad L-Button b[4]=(js0.b[4]); #USB Gamepad R-Button b[5]=(js0.b[5]); #USB Gamepad Select-Button b[6]=(js0.b[8]); #USB Gamepad Start-Button b[7]=(js0.b[9]); #MS Sidewinder Racing Wheel #SteeringWheel axis a[0]=(js1.a[0]); #Break pedal a[1]=(js1.a[1]); #Gas Pedal a[2]=(js1.a[2]); #MS Sidewinder A-Button b[12]=(js1.b[0]); #MS Sidewinder B-Button b[13]=(js1.b[1]); #MS Sidewinder C-Button b[14]=(js1.b[2]); #MS Sidewinder X-Button b[15]=(js1.b[3]); #MS Sidewinder Y-Button b[16]=(js1.b[4]); #MS Sidewinder Z-Button b[17]=(js1.b[5]); #MS Sidewinder L-Button b[18]=(js1.b[6]); #MS Sidewinder R-Button b[19]=(js1.b[7]); ```
  • 0 Votes
    2 Posts
    554 Views
    M

    Ok... I think I know what's happening, and If I'm correct I'm a completly dumbass xD
    It seems that key taps are recognized and considered even in loading screen. With gamepad in hand (xbox 360), I usually tap A button repeatedly (an impatient one here...). It happens that the first emu in menu is the amiga one, and the first entry in Amiga's rooms is UAE4ALL, so, that's it. It's my "A" taps in loading screen that launch uae4all when screen becomes operative.
    Yep... totally dumbass xD

    Anyway, if I'm not a dumbass after all and the issue happens again (without "A" tapping :-P ) I'll let you know.
    Thanks and regards!

  • Xbox 360 Controller calibration

    2
    0 Votes
    2 Posts
    786 Views
    K

    Can please anybody share his/her experience?

  • 0 Votes
    2 Posts
    1k Views
    F

    The Infocom games save and restore games using direct block access on the disk. This means you can use any disk image for saves. The saves won't show up in the directory. In fact, one of the save positions will overwrite the directory itself, so the directory will look all garbled.

    This means you need to emulate a 1541 (or a 1541-II) and load a blank disk image into the drive. After a save to position 1, the disk image will still appear blank, but it won't be.

  • 0 Votes
    5 Posts
    10k Views
    DwarfboysimD

    Hi all,
    So just to clarify you are saying its possible to:

    Disable the overscan via raspi-config to get rid of the black border Enable the overscan_scale=1 in config.txt

    I did these steps but ES still had its own ideas. Could I use the manual settings in config.txt for the left, right, up, down etc values to re-centre it. I also noticed that with overscan disabled my MAME games get cut off at the top a bit as well.

    Is there a preferred option I should be setting the display settings to in the rasp-config. I have a 55"4k Display.

    Thanks,
    Dwarfboysim

  • MAME game limitations

    8
    0 Votes
    8 Posts
    2k Views
    AndersHPA

    I recommend this thread also, for info about the different MAME versions on RetroPie, which games run best at what core, etc.

  • Can RetroPie run Read-Only with USB for write needs?

    13
    0 Votes
    13 Posts
    6k Views
    D

    Unbelievable! THIS is how it should have been done from the start!

    I've moved ALL configs over to the usb drive now and it easily shaves 8 secs off of boot time. The 4 raspberries screen used to sit longer. Now they are gone within 4-5 secs before loading my custom animation movie (which is still on the microsd). But everything else is on the usb drive now

    I mounted dev/sda1 to /media/usb0 as I only plan on having a single usb flash drive in the system. I replaced the following directories with symlinks: /opt/retropie/configs to /home/pi/RetroPie/configs /etc/emulationstation to /home/pi/RetroPie/etc/emulationstation /home/pi/RetroPie to /media/usb0

    As there are some symlinks within those folders, I simply renamed to the one I use. So for example in the download_images folder, "genesis" was symlinked to "megadrive", So I just removed genesis as all my roms use megadrive folder structures.

    Now I can edit config files by simply inserting the usb drive into my windows computer and editing them, then simply pop the usb back in to see the changes. Plus I have all the theme settings, scraped images, etc all on the faster drive (usb much faster than microsd) so things like all the game images load much faster.

    This leaves the microsd all but isolated to do just the core system work. I used to load my custom startup movie from USB too, but found that during startup, a lot of times the usb drive isn't ready yet so the video only played 30% of the time. Moving it to the microsd allowed it to be ready to go and plays everytime now.

    I would definitely recommend doing this for power users but really I would recommend this for new users too as it is much easier to wrap your head around things when the data is all in one location.

    I have not yet tried the readonly script, but I was more concerned about this part working first and it works even better than hoped! Long live the symlink!

  • Will retroarch settings carry over if I switch emulators?

    2
    0 Votes
    2 Posts
    529 Views
    edmaul69E

    @ryanh1323 no retroarch settings only work in libretrocores. All emulators that start with lr- are libretrocores. If you had two libretro emulators like lr-fceumm and lr-nestopia for nes then all settings in the retroarch.cfg for nes would work on both. However core settings are different and only work on that core

  • Modified retropie sold with case, relevant emulators & no games

    10
    1 Votes
    10 Posts
    2k Views
    markwkiddM

    @herb_fargus said in Modified retropie sold with case, relevant emulators & no games:

    @markwkidd let's not have this discussion again.

    If someone posts here in good faith about copyright and licensing and is getting FUD responses, I'm probably going to try to address the FUD.

    It's my personal goal in 2018 not to post the same thing in the same intellectual property thread more than once even if it seems no one understands what I'm saying (as we all have been tempted to do I'm sure). On the other hand, if a new poster comes around in good faith like this one who hasn't seen those prior conversations, then yes, I am going to point out what has been omitted by other posters including hyperbole like I did above if no one else will.

  • 0 Votes
    1 Posts
    634 Views
    No one has replied
  • Toggling WiFi and Bluetooth on and off inside Retropie menus?

    3
    0 Votes
    3 Posts
    3k Views
    M

    Dude! You're the best! Thank you so much!

  • How to config PPSSPP emu on raspberry retropie? hotkey doesnt works

    10
    0 Votes
    10 Posts
    8k Views
    E

    how do i make it full screen? my tv is 4:3 640x480 and i see two black bars one on top and one on botton! i want to stretch it

  • Combine Pi2Scart with USB-soundcard?

    17
    0 Votes
    17 Posts
    3k Views
    Y

    thank you

  • Getting error:: NoReverseMatch at /systems/

    5
    0 Votes
    5 Posts
    960 Views
  • 0 Votes
    1 Posts
    656 Views
    No one has replied
  • Definitive Retropie installation using a MAC

    21
    0 Votes
    21 Posts
    13k Views
    D

    @clyde many thanks.

  • "how to" mame beginners

    86
    0 Votes
    86 Posts
    19k Views
    D

    @bobharris is it?

  • x arcade tankstick issues

    5
    0 Votes
    5 Posts
    2k Views
    T

    I posted a help article that explains how to edit a config file to force Ir-mame2003 MAME games that use trackball or dial control to use the mouse (in this case, Arcade-X Trackball) that may help:

    https://retropie.org.uk/forum/topic/15819/setup-retroarch-to-redirect-mame-games-that-use-dial-and-trackball-to-arcade-x-tankstick-trackball

    Also, I would avoid using a USB hub. I used a third party case that used a USB hub and trackball on the X-Arcade would not work. When I plugged the mouse into its own USB port on the Raspberry Pi, the Arcade-X trackball started to work. I still had to edit the config file to get other games to work that used a dial controller (Tempest, Kickman, etc.), but pluggin the Arcade-X Trackball USB cable into a USB hub and not directly into a USB port on the Raspberry Pi caused issued.

  • Problem Daphne joystick usb card CY-822B led-joystick

    2
    0 Votes
    2 Posts
    2k Views
    R

    @rafo254 R6EA6PE6R
    Wire up the mode button . I am using the CY-822B USB led-joystick controller board . The mode button switches the joystick to point of view hat ( on my pc ) . For some reason this works ? acts like a d-pad mabey ? . So far switching the mode button back and forth even in game works . I was about to give up on Daphne too.

  • GBA Roms running on Pi Zero W. Does it work for you?

    5
    0 Votes
    5 Posts
    2k Views
    lostlessL

    @shay90 gpsp needs a bios. Without it nothing will run

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.