mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-26 00:28:50 +01:00
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# GameShell launcher
|
|
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.
|
|
|
|
# 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
|
|
```
|