top of page

How to set up your own Warehouse for your GameShell

  • Writer: Alex
    Alex
  • Jan 8, 2020
  • 3 min read

Updated: Jun 1, 2020

The warehouse is unlocked. The owner left the door open for you. The machine you're looking for is inside.

-- Pinball,1973 by Haruki Murakami





Hi GameShellers!

Recently, we’ve opened our Warehouse for you guys.

Warehouse is for browsing and downloading games.

Currently, Launcher’s Warehouse only supports a separate repository on github.com 2 as a warehouse.


The top-level directory of the Warehouse contains an index.json as the only index of the game category directory list in the warehouse

Each game category directory contains an index.json and all game directories, index.json is the main index of all game directories

2019 GAME JAM is a game category directory, there are 11 game directories under this directory


drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 'AGENT OF SHINIGAMI' drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 'Ancient Abyss' drwxrwxr-x 4 cpi cpi 4096 Dec 28 22:43 DCDOR drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 'Diner Mafia' drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 du-pk -rw-rw-r-- 1 cpi cpi 3417 Dec 29 15:05 index.json drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 'Infected System' drwxrwxr-x 4 cpi cpi 4096 Dec 28 22:42 Omamori drwxrwxr-x 4 cpi cpi 4096 Dec 28 22:43 'Road Invaders' drwxrwxr-x 4 cpi cpi 4096 Dec 28 18:11 ShiftQuest drwxrwxr-x 4 cpi cpi 4096 Dec 28 22:43 SpaceShifter drwxrwxr-x 4 cpi cpi 4096 Dec 28 22:44 'Two Dimensions'



Warehouse game category

Each game directory has a simple rule to distinguish three warehouse game types[launcher,pico8,tic80]

fileshots.game

The launcher type is a folder storage method for launching games currently supported by launcher.

In simple terms

Folder / Folder.sh # .sh file of the same name, containing the command to start the game, must have executable rights (chmod + x)

Folder / Folder.png # .png file of the same name, used as the icon displayed in the launcher, the size is 80x80, optional or not

Place other files at will


Launcher

The launcher type uses AGENT OF SHINIGAMI as an example:

The file folder contains a compressed package of the launcher game folder. The compressed package currently only supports the .tar.gz format and requires the same name as the directory, such as AGENT OF SHINIGAMI.tar.gzThe shots folder contains a screenshot for previewing the game, the size is GameShell’s resolution, and the file name is arbitrary.game plain text file, the file name is dot + game, linux hidden file, its content is the type string of this game directory, currently only launcher, pico8, tic80, the three can only write one

The launcher game is installed under ~/aria2download/, with github user name and library name as the directory name, such as ~/aria2download/clockworkpi/warehouse/master/2019%20GAME%20JAM/


Pico-8

Pico-8 type Take du-pk as an example:

The file folder contains a card for a pico8 game, must be a png, and the file name ends with .p8.pngThe shots folder contains a screenshot for previewing the game, the size is GameShell’s resolution, and the file name is arbitrary.game plain text file, the file name is dot + game, linux hidden file, its content is the type string of this game directory, currently only launcher, pico8, tic80, the three can only write one

After the pico8 game is installed, it will appear in pico8. The installation path is /home/cpi/.lexaloffle/pico-8/carts


Tic80

The Tic80 type is very similar to Pico-8, except that the file folder contains a card for a Tic80 game, with the file name ending in .tic

Everything else is as same as Pico-8

The Tic80 game installation path is /home/cpi/games/TIC-80/

Add to Launcher’s Warehouse

After all the remote github.com 2 game library is generated, please go to launcher-> Warehouse

+ Add new warehouse

Enter warehouse URL

The input result is github.com/clockworkpi/warehouse , there is no need for http (s):// at the beginning, and .git at the end, which is simply github.com 2 + github.com 2 username + repository name.



If you have any further question, please feel free to feedback here. LOVE & PEACE !

120 Comments


Ritika Singh
Ritika Singh
4 days ago

I found this gaming overview quite easy to read and understand. It covers the basic information that a new user would want to know before exploring different games and features. A good gaming experience is not just about playing; it also involves understanding the platform properly. Reading the instructions, checking the rules, and managing personal limits are important for every user.

jio lottery

Like

danny yao
danny yao
Aug 17

Great guide! I was just looking for how to point the Launcher to my own repo—this makes it super clear. Thanks, Alex!

Like

This is a nicely structured article with plenty of useful information. I appreciated how the writer divided the topic into clear sections, making it easier to follow. The practical suggestions were particularly valuable because they give readers something concrete to consider. I learned several new things from this post and found the explanations simple, clear, and easy to remember. Okwin

Like

Nguyen Co
Nguyen Co
Aug 11

The warehouse setup walkthrough is exactly what I needed after fumbling through the default folder structure. I've been using a similar approach with my own sync tool. https://aiphotoonline.com

Like

I really enjoyed this article because it explains the topic without making it unnecessarily complicated. The writer has done a good job of presenting the important information in manageable sections. I liked the practical examples and suggestions because they helped me understand how the ideas could work in real situations. Definitely a useful post for anyone interested in this subject.

dp boss satta matka

Edited
Like
bottom of page