Skip to content

Instantly share code, notes, and snippets.

@masckmaster2007
Last active June 14, 2024 19:55
Show Gist options
  • Save masckmaster2007/12d6981fa6c9e83c32322d2f7b3ebf79 to your computer and use it in GitHub Desktop.
Save masckmaster2007/12d6981fa6c9e83c32322d2f7b3ebf79 to your computer and use it in GitHub Desktop.
DindeGDPS' dgdps:// protocol - Creating a custom and compatible GDPS

Setting up a custom GDPS

You'll need:

  • A web server (hosting static sites)
  • Your GDPS
  • A brain

Note

Latest versions of DindeGDPS now support web hosts that add blank new lines! GitHub Pages can now be used!

1. Structure

Your directory structure should look like this

image

  • gdpsname.zip

You will put all your GDPS files in the ZIP file. Do not ZIP the directory! Instead, select all the files inside and ZIP it like that!

image

The ZIP file should be named after what you put inside <game>

  • info.xml

This XML file will be alongside your other files. It will contain the following:

<?xml version="1.0" encoding="utf-8"?>
<config>
    <game>gdpsname</game>
    <version>yourversion</version>
    <updateurl>https://path.to/update/url</updateurl>
    <startup>
        <file>gdpsname.exe</file>
    </startup>
</config>

(you can add multiple <file> entries like in the following example. All of the entries will be ran)

    <startup>
        <file>gdpsname.exe</file>
        <file>hax.exe</file>
    </startup>
  • logo.png

This is an easy step: you need a 64x64 PNG file of your GDPS, that's it

  • install.xml

This XML file will contain the following

<?xml version="1.0" encoding="utf-8"?>
<config>
    <game>gdpsname</game>
    <author>johndoe</author>
</config>

2. Updates

The update system is easy! You can even host a TXT file! GitHub Pages is recommended since you can host it for free! The file needs to contain the current version (yourversion).

To check if your update url is good, run curl yoururl

image

it should look like this!

Whenever you change the GDPS version server side, it will notify all users once they open the DindeGDPS Launcher (unless if they disabled updates)

3. Final

  1. Upload your files
  2. Get full url (https://example.tld/thefiles)
  3. Change https to dgdps (dgdps://example.tld/thefiles)
  4. Profit

Bonus: DindeGDPS Gallery

If you want to appear in the DindeGDPS Gallery, feel free to DM me (@jeantasoeur) on discord with your dgdps link!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment