• Xbox Series X controller wont Pair with RP4

    38
    0 Votes
    38 Posts
    25k Views
    R

    @skizzles I am using buster in Retropie. I just bought an Xbox series S/X controller and to my surprise, there is no video explaining how to connect this with Retropie. All videos mention either 360 or Xbox one controllers which although similar have differences in connection. I followed the steps above and was able to connect this to pie but the connection was not persistent. Even xpadneo drivers didn't make the connection persist. And I made the following tweaks after experimenting and watching other videos. I have to share them in a noob-proof manner here so that I don't forget the steps. I request mods not delete this post as it was a headache to make it work.

    Steps (Slightly modified to make them persistent): make sure to connect a keyboard as well for settings.

    Update firmware on the Xbox series s controller through windows computer. Now get inside Retropie Setup>Manage packages>Drivers>Removed Xpad drivers (although it might not be necessary). Also, install Xpadneo drivers if not already installed. then Reboot I pressed F4 in Retropie and opened the command prompt terminal. Now open "main.conf" file as mentioned in the above post located inside "/etc/bluetooth/main.conf" and search for Privacy = off. Change that to: Privacy = device

    make sure to remove "#" before Privacy=device to enable the command if it is there. Press Ctrl+X then "Y" and ENTER key to save the file.
    5. On the command prompt type "sudo nano /opt/retropie/configs/all/autostart.sh"
    6. Enter (these 2 lines must be entered above "emulationstation #auto" to make them persistent. When 'ertm' is disabled the Bluetooth needs to be refreshed to connect the Xbox series s controller on reboot. So, both lines are necessary.

    sudo bash -c 'echo 1 > /sys/module/bluetooth/parameters/disable_ertm' sudo systemctl restart bluetooth emulationstation #auto

    Press Ctrl+X then "Y" and ENTER key to save the file.
    Type "sudo reboot" on the command prompt to restart. Again press F4 in the emulation station to enter the terminal.
    7. Make sure that you xbox controller bluetooth is in connection mode. Press the button in front of the controller so that the xbox light will blink fast for pairing. Now Enter in terminal:

    sudo bash -c 'echo 1 > /sys/module/bluetooth/parameters/disable_ertm' sudo systemctl restart bluetooth sudo bluetoothctl scan on (Note the mac address of your controller that is listed after this command. It's unique for every controller. For eg mine was "44:16:22:DB:C9:8E". Type this command again if your device is not shown initially) sudo bluetoothctl pair 44:16:22:DB:C9:8E (Use your own mac address discovered above) sudo bluetoothctl connect 44:16:22:DB:C9:8E sudo bluetoothctl trust 44:16:22:DB:C9:8E

    If all these steps are successful then you can also type " bluetoothctl paired-devices" command to see whether your controller is paired successfully or not. Your device mac address must be shown after this command is entered.
    then sudo reboot and restart your pi.
    Press the Xbox icon(Light must blink) so that Pi4 sees it as it is starting up. At this point, you might also need to re-enter your controller keys according to your needs. And it should all work from here.
    Note: Bluetooth GUI under settings didn't work for connecting to the Xbox Series s/X controller for me. I don't know why? Only connecting through the terminal worked. Deviating from the above steps didn't work for me. And so I had to write the step wise guide on what is currently working.

  • 1 Votes
    3 Posts
    423 Views
    K

    Thank you!

    Cheers

  • [ERROR] [Content]: Could not read content file..

    13
    0 Votes
    13 Posts
    2k Views
    B

    @mitu

    I figured it out!

    Turns out, the zip contained .unh files, which is not supported. I've got some new files and it's up and running. As of n64, I had to unzip each file to get them to run.

    Bonus question: is there something I can do to get n64 to run more smooth (rpi 3 B+)?

    Again, thanks for taking your time. And for future googlers, hope this help you out.

  • Reicast - vmu not working

    1
    0 Votes
    1 Posts
    271 Views
    No one has replied
  • Intelligent switching between 50 and 60 Hz.

    5
    0 Votes
    5 Posts
    1k Views
    T

    @dankcushions Thanks for your very elaborate answer! I naïvely assumed that at least the region detection was straightforward (e.g. some flag in the internal ROM header), but after some reading it seems that the region was indeed only "coded" physically by incompatible cartridge sizes. Some bytes of code and data saved I guess.

    I'll just manually set the 50Hz rate. I'm definitely grateful that it can be done conveniently in a few seconds!

  • Not Sure If Right Place. Need Help Trackball

    1
    0 Votes
    1 Posts
    308 Views
    No one has replied
  • Custom Spalsh Screen - Retropie 4 Model b

    2
    0 Votes
    2 Posts
    370 Views
    mituM

    @arcadelover15 said in Custom Spalsh Screen - Retropie 4 Model b:

    If anyone knows how I could fix this, that would be great.

    You'll have to ask the vendor for that - RetroPie doesn't lock anything and certainly wouldn't prevent you from changing the splashscreen (see the docs).

    Note that selling the RetroPie image is against the project's license, if your machine has also games included then it's probably illegally selling those games.

  • Mount network share, Unable to find suitable address.

    8
    0 Votes
    8 Posts
    2k Views
    mituM

    @Bagarn said in Mount network share, Unable to find suitable address.:

    To be fair, the guide did not mention samba or anything like that. :D

    Yes, the guide is only for the client side setup, not the server itself. Glad you got it sorted out, have fun !

  • 0 Votes
    5 Posts
    148 Views
    C

    Update - I adjusted the script and everything is working as it should! Thanks @mitu for your help.

    #!/usr/bin/python import RPi.GPIO as GPIO import time import subprocess GPIO.setmode(GPIO.BOARD) resetPin=26 GPIO.setup(resetPin, GPIO.IN, pull_up_down = GPIO.PUD_UP) #oldButtonState1 = False print GPIO.input(resetPin) while True: #grab the current button state buttonState1 = GPIO.input(resetPin) # check to see if button has been pushed if buttonState1 == False: # Reset emulator print "Reset pressed" subprocess.call("/home/pi/scripts/multi_switch.sh --es-closeemu", shell$ stdout=subprocess.PIPE, stderr=subprocess.PIPE) time.sleep(.3)
  • PSX Save Games

    3
    0 Votes
    3 Posts
    2k Views
    A

    @windg Thank you, that worked!

  • Can not connect to wifi

    5
    0 Votes
    5 Posts
    981 Views
    A

    This fix did not survive a reboot, so I added modules-load=brcmfmac roamoff=1 feature_disable=0x82000 into /boot/cmdline.txt and it seems to work.

  • PS1 Game stopped working randomly

    1
    0 Votes
    1 Posts
    272 Views
    No one has replied
  • Scraping Amiga CD32

    4
    0 Votes
    4 Posts
    677 Views
    M

    Thanks for the info, to workaround the issue I was able to choose the games from a list in the scraper since I changed the platform and it was not found. It only worked w/ TGDB, not screenscraper, but I was able to scape the games I needed

  • Pico-8 Screenshots/Video Snaps

    4
    0 Votes
    4 Posts
    1k Views
    mituM

    The platform name is correct, so scraping should get some results when using ScreenScraper as the source. If you don't, then add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first, and specify which games you tried scraping.

    I also noticed there's no gamelist file in the rom folder. I would think scraping would have created one?

    The gamelist is created by EmulationStation regardless of any scraping operation. By default is not in the roms' folder.

  • exit a movie splash screen with a button

    2
    0 Votes
    2 Posts
    302 Views
    mituM

    There's nothing out-of-the-box for this, but you can use triggerhappy to map a gamepad button (or combo) to a command that will stop the video player (omxplayer).

  • No Signal

    4
    0 Votes
    4 Posts
    871 Views
    mituM

    @wasddsaw Try asking directly in the Raspberry Pi forums - https://forums.raspberrypi.com/ - in the Troubleshooting forum.

  • Question on Ubuntu laptop with two user accounts

    4
    0 Votes
    4 Posts
    549 Views
    mituM

    @directandrew said in Question on Ubuntu laptop with two user accounts:

    If i just install on one account, does Retropie require Admin to run correctly on Ubuntu?

    Yes, but that's needed just for installing packages by the RetroPie-Setup script, not for running the games.

    If so, i would need to elevate my "son" account from standard to Admin on the laptop.
    During use, Retropie may look to modify folders below:
    ...

    Those folders are always owned by the non-admin user that was used for installation, you don't require any special/admin rights to access or write to them. They're used mainly by the emulators for saving configs / game progress, so there's no need for extra rights to work with them.

  • How to run the .rp file

    3
    0 Votes
    3 Posts
    291 Views
    miclamcmM

    @miclamcm Thank You

  • [Solved] Can't remove overlay in retroarch

    2
    0 Votes
    2 Posts
    1k Views
    C

    @cjc1972 I am replying to myself as I didn't know how else to close the post and for any others that may run into a similar issue. under scaling/integar scale I had enabled and after disabling resolved the issue.

  • RetroPie Docs File?

    4
    0 Votes
    4 Posts
    456 Views
    mituM

    @YFZdude said in RetroPie Docs File?:

    I'm not familiar with the way you apply the style sheets to make it look good.

    There's more than stylesheets in place, the Markdown (.md) files in the repository are run through mkdocs to produce the site.

    Unfortunately there's no easy way to produce an offline form of the docs and that's unavailable at the moment. There's an option to mirror it into a sub-folder with wget, but because most of our images are not locally saved this will save an offline set of HTML pages without images.

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.