4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RaspberryPiメモ

Last updated at Posted at 2014-10-11

LANのDHCPとstaticを両方有効にする

/etc/network/interfaces
- auto lo
+ auto lo eth0 eth0:1
  
  iface lo inet loopback
  
  iface eth0 inet dhcp
  
+ iface eth0:1 inet static
+ 	address 192.168.11.3
+ 	netmask 255.255.255.0
  
  allow-hotplug wlan0
  iface wlan0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
  iface default inet dhcp

設定

raspi-config

パスワード

  • user: pi
  • pass: raspberry

nfsを利用すると便利

TVに接続したとき画面外になる場合

/boot/config.txt
overscan_left=32
overscan_right=32
overscan_top=32
overscan_bottom=32

なおconfig.txtは他で上書きされることがあるので注意。

vim

sudo apt-get install -y vim
sudo update-alternatives --all

RetroPie

  • ver 2.3 (2014/10/1時点の最新)
  • emulationstationがfontend

コントローラーの設定

  • ひな形
    • /opt/retropie/emulators/RetroArch/configs/PS3ControllerUSB.cfg
  • 実際の設定
    • /opt/retropie/configs/all/retroarch.cfg
/opt/retropie/emulators/RetroArch/installdir/bin/retroarch-joyconfig -M -t 2 \
  -o retroarch.cfg
/opt/retropie/configs/all/retroarch.cfg
savestate_auto_save = true
savestate_auto_load = true
#
input_player1_joypad_index = "0"
input_player1_b_btn = "1"
input_player1_y_btn = "3"
input_player1_select_btn = "8"
input_player1_start_btn = "9"
input_player1_up_axis = "-1"
input_player1_down_axis = "+1"
input_player1_left_axis = "-0"
input_player1_right_axis = "+0"
input_player1_a_btn = "2"
input_player1_x_btn = "0"
input_player1_l_btn = "4"
input_player1_r_btn = "5"
# 6: L2, 7: R2, 12: PS
input_enable_hotkey_btn = "6"
input_menu_toggle_btn = "7"
input_exit_emulator_btn = "12"
  • この場合
    • 6(L2)を押しながら7(R2)を押すとmenuが出てくる。
    • 6(L2)を押しながら12(PS)を押すと終了。

BIOS

  • /home/pi/RetroPie/BIOS/gba_bios.bin
    • /opt/retropie/emulators/gpsp/raspberrypi/gba_bios.bin
  • /home/pi/RetroPie/BIOS/scph1001.bin

ファイル

cat /etc/emulationstation/es_systems.cfg

recalboxOS

インストール

  1. fat32でフォーマットしたSDカードを準備
  2. SDカードにrecalboxOS.zipを解凍
  3. raspberrypiにSDカードを差し込んで起動

インストール方法2

USBメモリにrecalbox.imgをコピー
dd if=recalbox of=/dev/mmcblk0 bs=1M
(別の端末で pkill -USR1 ddしとくとわかりやすい。)

電源OFF/ONするとrecalboxが起動する。
mount -o remount,rw /boot

画面の180度回転
echo "display_rotate=2" >> config.txt
reboot

フォントサイズ変更

mount -o remount,rw /
vi /etc/emulationstation/themes/recalbox-next/theme.xml

theme.xml
                <textlist name="gamelist">
                        <fontPath>./data/arts/Exo2-BoldCondensed.otf</fontPath>
-                       <fontSize>0.025</fontSize>
+                       <fontSize>0.05</fontSize>
                        <forceUppercase>1</forceUppercase>
                </textlist>
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?