Update README.md

This commit is contained in:
hi80482 2020-07-03 21:54:15 +08:00 committed by GitHub
parent 7450bde778
commit 966888de03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

109
README.md
View File

@ -1,6 +1,8 @@
# GameShell launcher
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.
![Screenshot](https://github.com/clockworkpi/GameShellDocs/blob/master/screenshot.png)
This is the DEOT UI launcher for GameShell based on 320x240 resolution and D-Pad layout.
![Screenshot](https://raw.githubusercontent.com/hi80482/launcher_deot/master/.screenshot.png)
Screenshot Source: https://alioss.gcores.com/site/deot/index.html
# Create the necessary user and group
* User name: cpi
@ -13,19 +15,29 @@ sudo groupadd cpifav -g 31415
sudo adduser cpi cpifav
```
# Cloning the Git repository
* login as: cpi
```
cd
git clone https://github.com/your_launcher.git ~/launcher
```
# Directory structure
```
/home/cpi/
├── apps
│   ├── emulators
│   └── launcher <-Here we are
│   ├── Menu
│   ├── sys.py
│   └── truetype
│   └── emulators
├── launcher <-Here we are
│   ├── Menu
│   ├── sys.py
│   ├── skin
│ └── ...
├── games
│   ├── FreeDM
│   ├── MAME
│   └── nxengine
│   ├── nxengine
│   └── ...
└── music
```
## Create the necessary directories
@ -56,39 +68,78 @@ mkvirtualenv launcher
pip install -r requirements.txt
```
# Create “.mpd_cpi.conf” config
# Create “.mpd.conf” config
vim ~/.mpd_cpi.conf
vim ~/.mpd.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"
music_directory "/home/cpi/music"
playlist_directory "/home/cpi/.mpd/playlists"
db_file "/home/cpi/.mpd/tag_cache"
log_file "/home/cpi/.mpd/mpd.log"
pid_file "/home/cpi/.mpd/pid"
state_file "/home/cpi/.mpd/state"
sticker_file "/home/cpi/.mpd/sticker.sql"
user "cpi"
bind_to_address "/tmp/mpd.socket"
auto_update "yes"
auto_update_depth "2"
input {
plugin "curl"
plugin "curl"
}
audio_output {
type "alsa"
name "My ALSA Device"
type "alsa"
name "ALSA Device"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
filesystem_charset "UTF-8"
filesystem_charset "UTF-8"
# id3v1_encoding "UTF-8"
# QOBUZ input plugin
input {
enabled "no"
plugin "qobuz"
# app_id "ID"
# app_secret "SECRET"
# username "USERNAME"
# password "PASSWORD"
# format_id "N"
}
# TIDAL input plugin
input {
enabled "no"
plugin "tidal"
# token "TOKEN"
# username "USERNAME"
# password "PASSWORD"
# audioquality "Q"
}
# Decoder #####################################################################
#
decoder {
plugin "hybrid_dsd"
enabled "no"
# gapless "no"
}
```
# Create “.mpd.conf” config
vim ~/.gameshell_skin
```
/home/cpi/launcher/skin/DEOT
```