Skip to main content

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

Too many files in zip to load game?

A topic by iLucky created 10 days ago Views: 95 Replies: 3
Viewing posts 1 to 2

I recently uploaded a game, and it's telling me there's too many files to load it. Why? Isn't the maximum file size enough? How do I correct this without throwing out my game? And why would it matter if an HTML 5 file has over 1K files? My game has 27K files it says, this is with RPG Maker Unite and the 'remove unused assets' was used before uploading to ITCH.


Also having a 1GB limit on file size, means there WILL be more files included in the ZIP file. So why block games with over 1K files? 


Unless I did something wrong or RPG Maker Unite is including my DLC content (Which doesn't seem like it, I had no errors and everything was successfully done) Why are we limited to 1K files and how to fix it? I don't think there is a way to fix this, without editing and deleting parts of the game I've developed.


If anyone can help, it would be appreciated.



The number of files is a limitation only for the web version; for downloadable games, there is no such limit.

Solutions include using larger spritesheets to reduce the number of individual files, or using intermediate packaging methods. For example, all the content for a level could be stored in a single .dat file, which the browser would treat as a single file. How you implement this depends on your game engine.

The simplest solution is to make the web version a demo with limited content, and offer the full version only as a downloadable game.

Well, another limitation is it can't be downloaded unless a payment method is active for donations or paid for content. Thanks for the reply, but I see there's no way to do this without adding a payment method or donation to my game. Rather it work without creating a whole new project, even if I were to create the 'demo', it wouldn't make any sense cutting up parts of the game. Had no idea that file count came into play here, which is odd, for mainly a gaming site to have these limitations in place.

(2 edits)

???

You don't need a payment method to share a downloadable game.
Simply select the "no payments" option for your project. Indicate that it's a web game, upload the smaller version to the HTML channel, and upload the full version to the Windows channel.

If you are NOT using "butler," then you must manually rename the .zip file differently, for example:

game_html.zip, and when uploading, check the box that says "this file will be played in the browser";

and

game_win.zip, and when uploading, check the box that says "executable for Windows".

EDIT:

All websites that host web games have certain limitations, both due to usability policies and technical issues, and Itch.io informs you about these limitations in its documentation, which you are expected to read before starting to use the service:

https://itch.io/docs/creators/html

There are a couple of requirements for ZIP files in place to prevent abuse and to ensure a suitable experience for people running your project in their browser:
- The ZIP file should not contain more than 1,000 individual files after extraction.
- The maximum length of a file name including path should not be greater than 240 characters long.
- The size of all the extracted content should not be greater than 500MB.
- The size any single extracted file should not be greater than 200MB.
- The filenames are case sensitive and should be encoded as UTF-8