Add PICO-8 onto PiBoy DMG (RetroPie)

PICO-8 라이센스 구매후 받은 32bit ARM 바이너리를 /home/pi/pico8.zip 으로 복사 해둘 것. 

# EmulationStation 어플을 종료해둠.
# 드라이버 설치
$ sudo apt-get install wiringpi -y
$ cd /home/pi/ $ git clone --depth 1 https://github.com/zerojay/RetroPie-Extra.git
$ cd ./RetroPie-Extra/
$ ./install-extras.sh

# 다시 EmulationStation 실행
$ exit
# RetroPie-Setup → manage package → exp → pico8 설치
# SDL interface 설정 추가 (authored by ZeBeugue)
echo '15000000010000000100000000010000,PiBoy DMG Controller,platform:Linux,a:b1,b:b0,x:b4,y:b3,back:b8,start:b9,leftstick:b10,leftshoulder:b7,rightshoulder:b6,dpup:b12,dpdown:b11,dpleft:b13,dpright:b14,leftx:a0,lefty:a1,lefttrigger:b2,righttrigger:b5,' > //opt/retropie/emulators/pico8/sdl_controllers.txt