Set up Retropie with Raspbian and Gamepad for Waveshare Game Hat

  1. Install Raspbian and set up
  2. Install retropy and set up
  3. Gamepad / Joystick install
  4. zur Deutschen Version

Install Raspbian

  1. download Raspbian Strech lite
  2. download Win32DiskImager
  3. Use Win32DiskImager to „copy“ the unpacked Raspbian Strech lite image to a 4GB or larger memory card

Raspbian einrichten

  1. Open config.txt on the boot partition with a text editor and insert the following content at the end of the file
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=640 480 60 1 0 0 0
disable_overscan=1
avoid_warnings=1

2. Next, create the file wpa_supplicant.conf on the boot partition, open and paste the following

country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
       ssid="YOUR WLAN SSID"
       psk="Your PASSWORD"
       key_mgmt=WPA-PSK
}
  1. furthermore create the file ssh without file extension also on the boot partition
  2. Now disconnect the memory card from the PC and plug it into the Raspberry and turn it on
  3. Via the router or the display of the Waveshare you can now read the IP of the Waveshare GameHats
  4. Download and start putty.exe

For host name enter the read Raspberry PI IP (mostly 192.168.178.X
Port: 22
Connection Type: SSH
Login: pi
Password: raspberry (You will not see anything typing, yet it will be written ?)

7. Install Retropie

sudo apt-get update && sudo apt-get upgrade
sudo raspi-config
/ Localisation Options
/ Change Locale
/ for Germany de.DE.UTF-8 UTF-8
/ Standort Standardeinstellungen de_De.UTF-8
/ Exit
sudo reboot
/ putty.exe neu starten
sudo update-locale LC_ALL="en_US.UTF-8" or sudo update-locale LC_ALL="de_DE.UTF-8"
sudo update-locale LANGUAGE="en_US:en" or sudo update-locale LANGUAGE="de_DE:de"
sudo reboot
/ putty.exe neu starten
sudo apt-get install git lsb-release
cd
git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh
/ Manage Packages
/ Full Install
/ Exit
sudo reboot

8. Enable mk_arcade_joystick_rpi + samba

sudo /home/pi/RetroPie-Setup/retropie_setup.sh
/ Manage Packages
/ driver (manage driver packages)
/ 818 mkarcadejoystick
/ binary (or so) install
/ go back
/ Configuration / Tools
/ x830 samba
/ Install Retropie samba shares
/ exit
sudo nano /etc/modprobe.d/mk_arcade_joystick_rpi.conf
/ insert: options mk_arcade_joystick_rpi map=5 gpio=5,6,13,19,21,4,26,12,23,20,16,18
/ save: Strg + X, Y, Enter
sudo reboot

9. Emustation

now just define the individual buttons. Keys which are not available are skipped with a long press of a key already in use. If you also skip the special key and answer the following question with „Yes“, the special function is executed simultaneously with „Start“ + „Select“

Happy Day. ?

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Wir benutzen Cookies um die Nutzerfreundlichkeit der Webseite zu verbessen. Durch Deinen Besuch stimmst Du dem zu.