Trying to upload my game to a website as a browser game

Not sure if I am posting into the right topic. Not a big forum poster so may be wrong area. I tried scrolling through the forums however most of the ones I could fine had links to tutorials that are no longer available. I am trying to upload my game to be played on browser, tried itch.io with both just base index file and a deployment version of the index file, I've tried with plugins enabled, plugins disabled, deleted from the plugin menu of RPG Maker, and even deleted all the plugins from the folder and I just get a black screen. I don't know if there is anything else I am missing to try. My game file is just over 1GB so maybe it just needs time to load(?) though the index file is just 2kb so maybe something didn't get made properly (Just trying to speculate here). Any ideas?


itch.io game: https://archmage1123.itch.io/war-of-the-worlds
Go to your itch.io page for the game and open the browser console. You'll see that the resources have an error loading - HTTP 403 which means the access is forbidden.

The only real advice to give is to carefully follow all of the directions on itch.io. It's certainly possible the put a MV game there and people do it all the time, so you have to make sure all your account settings are correct, the project settings are correct, and the files are in the right place.

If your game is over 1GB, check to make sure that itch.io allows that.
Also make sure your files are all named correctly - no non-Latin characters, no spaces (this is a common one)
Really appreciated ^_^ going through all my files now to see what I can do for these suggestions. I'll let you know what happens!
Basically the web deployment for MV is meant for the files to be placed with their structure intact into a folder on a webserver, and then it can be played by the adress of that folder. That is usually done by FTP upload on the server directly - and it assumes you have full file access to make that upload.

However, a lot of websites who offer that for you without you owning them can't give you full access - they need to place their own filters in case your upload has some malware or a few other variants where webspace can be abused.
And in such a case only the website that offers that webspace can tell you what to do to get your game through that filter.
Okay so best thing to do would to contact itch.io support to see what else I need to do to have them let it through? I looked at the browser console though didn't really understand what it was saying.
All the information you need to upload this to itch.io is here:
https://itch.io/docs/creators/html5

ZIP file requirements
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 500 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 1GB.
  • The size any single extracted file should not be greater than 100MB.
  • There are less than 3000 files in the zip file
If your game does not meet the requirements please consider distributing your game as downloadable instead. Very large HTML5 games tend to be a poorer experience compared to the equivalent downloadable in respect to loading time and performance.

Feel free to contact us if you think these limits aren’t appropriate for your project and we can help you get set up.

I suspect the part that says "The size of all the extracted content should not be greater than 1GB" is one of the issues for you since you said your game is larger than 1GB, that's why I mentioned that in my earlier post.

It also says it again in the screen where you uploaded your files to itch.io
upload_2019-5-19_18-14-14.png
Even after shrinking the zip to under 1GB (I got it down to 600MB at one point) and it still has the same issue. I'm at 2529 files. No file from what I can see is around 100MB as a single files, none are over 240 character length. I am confused by the first and last one. says there shouldn't be 500 files but then says less than 3000 files.
Make sure to check out the common pitfalls section too, as in the Chrome console your files are getting a "net::ERR_ABORTED 403" error, that page describes 2 possible causes for that error (1 of which was mentioned by Shaz and Andar).

Otherwise, you'll have to contact itch.io support if you can't get it sorted. Here's the full error message of trying to access one of those files, for example the "main.js" file.

upload_2019-5-19_18-23-26.png
Alright I appreciate all the help everyone. I'll spend a bit trying to figure it out and even contact itch.io about it. I thought about doing that first but I wasn't sure if it was something I was doing or not.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-upload-my-game-to-a-website-as-a-browser-game.109176/