RLBot / RLBotGUI

33 stars 25 forks source link

Updating and Downloading RLBot MapPack #144

Closed azeemba closed 3 years ago

azeemba commented 3 years ago

The full workflow for updating the MapPack is this:

This is what the index.json file looks like in the map pack:

{
    "revision": 3,
    "maps": [
        {
            "path": "Simplicity/Simplicity.upk",
            "revision": 3
        }
    ]
}

The code leverages some of the existing BotPack downloader logic and makes it more generic for use.

Currently the MapPack is located at azeemba/RLBotMapPack and here is an example release: v3. This script is used to auto-publish the release which will update index.json and attach files to the release.

Open Question

Are we okay with the repo being in my namespace? Or should we migrate this to RLBot before release this change?

Screenshot

Next Steps

There is more work that will happen here. The next step is to add "custom map" options and detection in Story Mode. However, I figured this was a good break-off point to have smaller PRs.