No Description

GNU ab07fadf71 Merge pull request #281 from undancer/master 2 days ago
.twm 234d59eec1 rm xbms 8 months ago
Menu a6b2c1cdb8 更新音量的拼写 3 days ago
awesome 329444332d update awesome config ,set new background wallpaper in hdmi 8 months ago
skin e94897c5ec add No.909.png 1 month ago
sys.py 9597203d8f 添加更新启动器的翻译 3 days ago
.cpirc fe44274594 Because the high version of xorg prohibits the use of absolute paths for xf86config parameters, changes to relative paths in dotcpirc 2 months ago
.gitignore d17a89e80c update .gitignore 1 month ago
.twmrc 539468f467 twm 8 months ago
.xinitrc ea0eb4fb39 update dwm-mod and .xinitrc 7 months ago
.xorg.conf 66f61e3465 add xorg,xorg_lima 7 months ago
.xorg_lima.conf 66f61e3465 add xorg,xorg_lima 7 months ago
LICENSE 75975dea37 Update LICENSE 3 months ago
README.md 5cb99e5511 screenshot 1 year ago
bluetooth_firmware.sh 467a5623f6 add bluetooth_firmware.sh 1 month ago
dwm-mod ea0eb4fb39 update dwm-mod and .xinitrc 7 months ago
load.sh d9fa209fd8 fix package 1 year ago
update.sh 07805d7fd5 add update ~/apps/Menu 1 week ago

README.md

GameShell launcher

This is the launcher for GameShell based on 320x240 resolution and D-Pad layout. Screenshot

Create the necessary user and group

  • User name: cpi
  • Password: cpi
  • Group ID: 31415 with group name: cpifav
sudo adduser cpi  
sudo groupadd cpifav -g 31415  
sudo adduser cpi cpifav  

Directory structure

/home/cpi/
├── apps
│   ├── emulators
│   └── launcher <-Here we are
│       ├── Menu
│       ├── sys.py
│       └── truetype
├── games
│   ├── FreeDM
│   ├── MAME
│   └── nxengine
└── music

Create the necessary directories

mkdir -p /home/cpi/apps/emulators  
mkdir -p /home/cpi/games  
mkdir -p /home/cpi/music  

Dependent packages

  • validators, numpy, requests, python-mpd2, beeprint, python-pycurl, python-alsaaudio, python-pygame, python-gobject, python-xlib, python-wicd
  • wicd (For Wi-Fi)
  • mpd (For music player)

Install dependent packages

sudo apt-get -y install mpd ncmpcpp git libuser
sudo apt-get -y install python-wicd  wicd wicd-curses python-pycurl python-alsaaudio python-pygame python-gobject python-xlib   

sudo apt-get -y install python-pip   
sudo pip install validators numpy requests python-mpd2

Create “.mpd_cpi.conf” config

vim ~/.mpd_cpi.conf

music_directory    "/home/cpi/music"
playlist_directory    "/home/cpi/music/playlists"
db_file    "/home/cpi/music/tag_cache"
log_file    "/tmp/mpd.log"
pid_file    "/tmp/mpd.pid"
state_file    "/home/cpi/music/mpd_state"
sticker_file    "/home/cpi/music/sticker.sql"
user    "cpi"
bind_to_address    "/tmp/mpd.socket"
auto_update    "yes"
auto_update_depth    "3" 
input {
    plugin "curl"
}

audio_output {
    type    "alsa"
    name    "My ALSA Device"
}

audio_output {
    type    "fifo"
    name    "my_fifo"
    path    "/tmp/mpd.fifo"
    format    "44100:16:2"
}

filesystem_charset    "UTF-8"