Skip to content

EN manual installation recalbox

Valentin Derouet edited this page Feb 13, 2018 · 3 revisions
W

Installation of RecalBox on RetroBox

Materials :

  • A computer connect to Internet

  • The RetroBox

  • A SD card of MINIMUM 4go

  • Micro USB to USB cable

  • Mini HDMI to HDMI

  • 5V charger

  • Manette (compatibility list here:

https://github.com/recalbox/recalbox-os/wiki/Compatibility-%28EN%29)

  • WPA wifi network

Required files :

Preface :

  • Be patient, it can take time

  • If you have any problem contact us! (On our website or by e-mail: @retrobox.)

On the computer :

  • Burn recalbox.img on the sd card with etcher.io

image alt text

  • Go into the boot partition of the SD card then :

Copy these files :

  • waveshare35a.dtbo

  • waveshare32b.dtbo

in /boot/overlays

image alt text

  • Eject the SD card and insert it into your RetroBox and wait for the first boot

image alt text

On the TV :

  • Plug the HDMI output on a screen, then run it. (Having plugged in the controller)

  • Press the "start" button then go to "Network" and set up your wifi network (WP2 / WPA only and the pc must be connected on the same network, for hidden networks use the tutorial available here: https://forum.recalbox.com/topic/3389/hidden-wifi-ssid/4)

  • Then restarted the RetroBox.

Back on the computer :

  • Connect in ssh on the IP address of the RetroBox with the Putty software, then, type this:

  • Login : root

  • Password : recalboxroot

  • Run the following commands:

image alt text

mount -o remount, rw /boot

sudo nano /boot/config.txt


Copy and past :

image alt textDo CTRL + C to copy the code above, then in putty, right click with the mouse to paste!

#tft screen

#Waveshare 3.2 TFT Screen #same resolution for hdmi and tft hdmi_force_hotplug=1 hdmi_cvt=320 240 60 1 0 0 0 hdmi_group=2
hdmi_mode=1
hdmi_mode=87

dtparam=spi=on
dtoverlay=waveshare32b:rotate=270,speed=82000000

dtoverlay=pwm-2chan,pin=19,func=2,pin2=13,func2=4

image alt text


Then do CTRL + X to finish editing and press Y to validate.

cd /usr/bin

chmod 755 fbcp

fbcp

mount -o remount, rw /

nano /etc/init.d/S11fbcp

image alt text


Copy and past :

#!/bin/sh

case "$1" in start) printf "Starting fbcp ... " start-stop-daemon -S -q -m -b -p /var/run/fbcp.pid --exe /usr/bin/fbcp -- -n echo "done." ;; stop) printf "Stopping fbcp ..." start-stop-daemon -K -q -p /var/run/fbcp.pid echo "done." ;; restart) $0 stop sleep 1 $0 start ;; *) echo "usage: $0 {start|stop|restart}" ;; esac


Then do CTRL + X to finish editing and press Y to validate.

cd /etc/init.d/

chmod 755 S11fbcp

nano /recalbox/share/system/recalbox.conf

  • Change in the config :

#global.videomode=DMT 87 HDMI global.videomode=default

#global.ratio=auto global.ratio=4/3

Look for the line : "controllers.gpio.enabled=0"

Then replace with : "controllers.gpio.enabled=1"

(without "")

Look for the line : "**;**system.power.switch=PIN356ONOFFRESET"

Then replace with : "system.power.switch=PIN356ONOFFRESET"

(Only if you want add a reset button, not included)

(without "")


Then do CTRL + X to finish editing and press Y to validate.

sudo nano /etc/modules


Add this :

i2c-bcm2708

i2c-dev


Then do CTRL + X to finish editing and press Y to validate.

sudo nano /etc/modprobe.d/raspi-blacklist.conf


If you have: "i2c-bcm2708"

Then add a # in front of "i2c-bcm2708"

(without "")


CTRL + X to finish editing and press Y to confirm.

modprobe i2c-bcm2708 i2c-dev

sudo i2cdetect -y 1

sudo modprobe mk_arcade_joystick_rpi map=1,"address : "sudo i2cdetect -y 1”

(without "")

Example : sudo modprobe mk_arcade_joystick_rpi map=1,0x20

ps aux | grep fbcp

reboot

  • Then launch WinSCP and login with the same login as for Putty, then go to:

  • /recalbox/system/resources/splash/

  • And drag the files from the archive into WinSCP:

  • recalboxintro.mp4

  • logo.png

  • logo-version.png

image alt text

image alt text( You do not need a controller anymore )

Conclusion :

You have successfully installed RecalBox on the RetroBox ! To continue the installation, look on the other manual to know how to install games.

Problems :

  • LISTER LES PROBLÈMES RÉCURRENT