Sin descripción

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

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"