No Description

cuu 2743d6b9dc update 1 year ago
Menu 9f70638d99 add 50_Pico8 1 year ago
appinstaller 06f7589f8b fix gotime TimeTicker issue,use sqlite3 to store wifi password 2 years ago
screenshot 2dff963106 switch back font size of title_bar, and add first screenshot 5 years ago
skin ef5523faf5 re-test 1 year ago
sysgo 2743d6b9dc update 1 year ago
.gitignore 5cb318cd56 warehouse aplpha test pass 2 years ago
README.md 8377acd017 readme 5 years ago
build.sh 2743d6b9dc update 1 year ago
deploy.sh ef691a92e7 ... 4 years ago
go.mod f59b4223e8 go mod tidy 1 year ago
go.sum f59b4223e8 go mod tidy 1 year ago
local-build.sh 5cb318cd56 warehouse aplpha test pass 2 years ago
main.go 83086d9381 remove AsyncStart ,add SDL_Delay in event loop 1 year ago
mainscreen.go 9f70638d99 add 50_Pico8 1 year ago
update.sh 1826b16bee now try to replace .so with go code 5 years ago

README.md

GameShell launchergo source code

This is the launchergo 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/
├── launchergo <- Here we are
├── apps
│   ├── emulators
│   └── Menu
├── 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  

Install dependent packages

go get -u -v github.com/clockworkpi/LauncherGoDev

Relevant opensource packages

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"