GKSHOP
GKSPHONE V2Configuration

Custom Wallpapers

Add wallpapers to the set players can choose from.

14 ship by default. To add more:

Drop the file in

Put the image in gksphone/html/img/wallpapers. The shipped ones are .webp; .jpg and .png work too.

Register it in config.json

Add an entry to Settings.Wallpapers in gksphone/config/config.json, continuing the numbering:

gksphone/config/config.json
"Wallpapers": {
  "1": "/html/img/wallpapers/wallpaper1.webp",
  "...": "...",
  "15": "/html/img/wallpapers/sunset.jpg"
}

Paths start at /html/, not at the resource folder.

Restart gksphone

config.json is read at resource start.

Change the default

Two settings sit next to Wallpapers and decide what a new phone starts with:

"DefaultWallpaper":   "/html/img/wallpapers/wallpaper1.webp",
"DefaultWallpaperMD": "/html/img/wallpapers/wallpaper1.webp"

DefaultWallpaper is the iOS theme, DefaultWallpaperMD the Android one — set them to different images if you want the two themes to look apart.

On this page