Skip to main content

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

Renaming project zip file.

A topic by JB2A created May 19, 2021 Views: 520 Replies: 2
Viewing posts 1 to 2

Hi ! I did some research and I was unable to find an answer about my problem.

I'm creating a module for a VTT called FoundryVTT and since I started this activity the name of my module is "jb2a_patreon".

When uploading the file to Itch.io using the butler, it automatically changes the name of my project 's folder from "jb2a_patreon" to "jb2a-patreon".

I was wondering if it is possible, in any way, to override the name of the archive created by the butler ? Or maybe during the installation using the Itch App.

Keeping the original module's name is very important because, if changed, it will break all paths for all assets used through FoundryVTT to all my users. This is something I would like to avoid if possible.

Thank you for your time.

Moderator

Keeping the original module’s name is very important because, if changed, it will break all paths for all assets used through FoundryVTT to all my users.

How are the assets in your project being referred to? In an ideal scenario they would use a local path, so your project wouldn’t need to know the archive’s name to function.

(1 edit)

The archive's name isn't really important but the name of the folder created when the Itch app extract the archive is what matters.  My project adds features and content to an application. And I have to follow a specific workflow for my module to be recognize by the app. All modules will have a path structured like this inside the app :

  • Data/modules/nameofthemodule/modulecontent

To give you an example, when someone is using my assets inside the FoundryVTT app they have to use paths structured like this :

  • Data/modules/jb2a_patreon/Library/.../nameoftheassets.webm

Sadly I can't change the name of the module without breaking paths for all assets users have used with my module inside their application.

I wanted to use the Itch App to give the ability to my patrons to update my module with a simple click. Today they have to download the project through a link created from Itch.io. And extract the archive manually inside the module folder of the app each time I create an update of the project. It can stay that way, but I discovered the butler a few days ago and manage to make it work flawlessly until I realized it renames my folder. And I was wondering if it was possible to override the name created by the butler so I can use this feature. In any case, Itch.io is awesome. It has a lot of possibilities already. Congrats to the team :)