Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How Can I Use Butler To Update My Game?

A topic by Mlg+ Games Official created Jan 08, 2021 Views: 1,427 Replies: 4
Viewing posts 1 to 3

So recently i uploaded my game to itch.io and i have a new version of my game and i want to update my game using butler. How can i do that?

Moderator(+1)

Assuming that you used the butler’s “push” command initially, you can use the same command to push the updated version. Keep the following things in mind:

  • In order to count as an update, you need to use the same “Channel Name”. So if you initially pushed to “user/mygame:win32-final”, then “win32-final” would be the channel name, and needs to remain the same.

  • Itch will automatically take care of handling version numbers. Every time you make a new update, it will increase it by one. To handle version numbers manually you can add “–userversion <versionNumber>” to the command.

For more information and details of how this works, you can read here: Itch.io - Pushing builds with butler

is there a way to update the game that supports save files?

(1 edit) (+1)

You can't update that game with butler. What you need to do is start a new channel for your game.

I'm assuming it's "jumpy-boi-platformer-game".

First off you need to install butler, once that is done I'd recommend creating a batch file to push it. Here is what mine looks like:

"butler push --if-changed KnK2-demo arekku/kitsune-no-kenshi-2:win-demo

pause"

You could do this in a command prompt as well, but having a batch file saves you from having to remember it. The pause at the end isn't needed but I want that pause so that I can confirm that everything went smoothly.

Here's what your file would look like

"butler push --if-changed YourFolderGoesHere mrluka-games/jumpy-boi-platformer-game:win

pause"

Edit:

--if-changed is butterfingers protection, it will only push if the game has changed

Thanks Arekku, it really helped!