1
Store example
Dark98 edited this page 2022-08-15 05:06:36 +01:00

Here is an example Store with one app. Note that Store files are actually JSON files with a different extension, so all rules of JSON files apply, you can use tools such as http://jsonformatter.curiousconcept.com check if your file is valid JSON.

{
    "storeContent": [
    {
        "info": {
            "title": "DarkStore",
            "author": "Dark98",
            "version": "v1.2.3",
            "category": ["utility"],
            "console": ["3DS"],
            "description": "A Preservation Based Downloader",
            "license": "gpl-3.0",
            "icon_index": 0,
            "sheet_index": 0,
            "last_updated": "2020-07-02 at 14:03 (UTC)"
        },
        "Download DarkStore.3dsx": [
            {
                "file": "https://github.com/DarkStore-3DS/DarkStore/releases/download/v1.2.3/DarkStore.3dsx",
                "message": "Downloading DarkStore.3dsx...",
                "output": "sdmc:/3ds/DarkStore.3dsx",
                "type": "downloadFile"
            }
        ],
        "Download DarkStore.cia": [
            {
                "file": "https://github.com/DarkStore-3DS/DarkStore/releases/download/v1.2.3/DarkStore.cia",
                "message": "Downloading DarkStore.cia...",
                "output": "sdmc:/DarkStore.cia",
                "type": "downloadFile"
            },
            {
                "file": "/DarkStore.cia",
                "message": "Installing DarkStore.cia...",
                "type": "installCia"
            },
            {
                "file": "sdmc:/DarkStore.cia",
                "message": "Deleting DarkStore.cia.",
                "type": "deleteFile"
            }
        ]
    }
],
    "storeInfo": {
    "title": "DarkStore-Homebrew",
    "author": "Dark98",
    "description": "DarkStore-Homebrew - An online database of 3DS and DS homebrew",
    "file": "darkstore-homebrew.store",
    "url": "https://raw.githubusercontent.com/DarkStore-3DS/master/Stores/darkstore-homebrew.store",
    "sheet": "darkstore-homebrew.t3x",
    "sheetURL": "https://raw.githubusercontent.com/DarkStore-3DS/master/Stores/darkstore-homebrew.t3x",
    "bg_index": 0,
    "bg_sheet": 0,
    "version": 3,
    "revision": 1
}
}