Very frustrated with exporting process. Any help would be appreciated.

I have a Linux machine. I have a relatively small project, around 200 MB. It's for alpha for my game demo. I'm trying to export to WIN, LInux, Web, and ideally MAC. The plan is to publish the web and various files to itch.io. Right now I'm focusing on web because it's the easiest to do. Baby steps and all that I guess.

I have multiple problems. 1) even though the size of project is good, I have a lot of small files. Itch has a file limit for web projects of 1000 and mine is just high enough to not be able to trim it. I saw in forums something about turning it into an executable. Curious if anyone has more info on how that works and if there's any tools that work with linux that would let me do it.

However, I think I 2) messed up something with the files themselves. I made sure NOT to check "exclude unused files" and I made sure that the www folder is not in my project folder. I also chose the encryption option and used a key. When I tried opening the index file it either doesn't open at all, or it opens to a screen that's acting like the files I exported aren't there.

Just to clarify this, when I exported it created the web file (Absolution Alpha Demo WEB. ). In that folder is another folder that says Absolution Alpha Demo and inside of that is the www file with all the game files in it. Will it work clicking the index file there, or is this nested folder thing the problem? I'm pretty sure I only zip the www and the other nested folders I can ignore, right? but just the way it is, trying to open the index file in firefox won't work.
Absolution Alpha Demo WEB.
With the spaces, exactly as you have typed it?
In which case, this may not work. Don't use spaces in folder path (and hopefully the . is not intended, but if it is, then no periods either)

I'm pretty sure I only zip the www and the other nested folders I can ignore, right?
Why do you think that?
The whole deployed folder is the game.
The executable file is contained in the root folder of the game (the [game_name] folder)
Screenshot from 2025-01-12 18-03-44.png


1) even though the size of project is good, I have a lot of small files. Itch has a file limit for web projects of 1000 and mine is just high enough to not be able to trim it.
There is nothing we can do about that.
You'd either A) need to check your files and see if you really need every single file in the all of the folders or if some of them can be deleted. And yes, you need to do this manually as the "remove unused file" checkbox on deployment can only detect files assigned via events or database, but cannot detect files used by plugins or notetags.
B ) Itch even mentions that if you need more space, to contact them. You can try emailing them about increasing your file size limit. But do option A first because they may not reply to you for awhile, and may not even approve the request anyways.

turning it into an executable
Specifically this executable file would be a windows .exe file, which would be used by a Windows based operating system, therefore cannot be used for web deployment.
Secondly, this comes with a host of problems:
  • Saves cannot be written into a compressed file.
  • Reading files within a compressed executable can become unreliable
  • Windows may falsely flag large exe's (in the order of 100s of MBs) as a virus. Executables are only intended to launch the necessary "code" to make the program run, they are not intended to be containers for full programs.
While you can do it, you'd need to build your game around it, though, there is nothing that can be done about Windows falsely flagging your exe. You'd just have to tell your users to ignore the warning (which, imo, is not very professional).
Save file problems can be fixed by using a plugin that writes saves outside of the (compressed) root folder. File loading can be handled via pre-loaders & caching plugins - though this also has problems where caching a whole game to RAM can cause instability depending on the user's hardware.

Basically, in short: I do not recommend packing the game into an exe, and this also wouldn't fix your web deployment/linux deployment problems.
you can make a simple "guard" plugin to add files you uses to exclude them.
another way is just add files you used so you can leave it unchecked.

checking unused files is NOT recommended.

but I do agree with the poster above.

to deploy for linux, window and mac, it's best you have a linux to deploy to linux,
windows to windows and mac to mac else it misses important flags, which can be
added manually if you have the knowledge to make it work.
Hmm. Okay so first of all thank you because this stuff is very helpful. Just want to clarify a few more things if you could.

1) that screenshot is what the files would look like if you exported to windows right? Because when I exported to web it was just the Absolution Alpha Demo WEB => Absolution Alpha Demo => www => everything else in iside. There wasn't anything else outside of the www folder. So would I zip the folder above www, or would I zip the very top Absolution Alpha Demo WEB one?

2) the period wasn't there but the spaces were. I just assumed exporting would put underscores in place of spaces so thank you. That's likely part of the problem and I'll test it when I'm back at my PC.

3) I tried deploying to Linux on my Linux and ran into problems as well. I'll post here when I get to my computer. Meantime I'll work with the other stuff I have here.
Just to clarify if you deploy as web you need to zip the files in the folder with index.html, but not the folder itself. That is your index.html must be in the root directory of the zip achieve.

You can also try my plugin if your game is not too big. The drawback is the user has to wait for the downloading every time they open the game.
Oh so I'd zip everything in the www folder then, just not the folder. Okay so that's the issue. Before I zip anything though I should be able to just open the index file with Firefox and the game should work right? It doesn't work when I do that.
It should't work in a local browser. The game only runs on a web server.
It should't work in a local browser. The game only runs on a web server.
oh, I researched that on a prior thread. The person who said otherwise must have been incorrect.
The person who said otherwise must have been incorrect.
yes and no
the problem are security restrictions for accessing local files

when MV was originally puiblished the browsers had options to easily remove those security restrictions, allowing the games run locally in a browser.

However since then more and more malware programs abused that setting, and in current browsers it is either hidden or totally unavailable - making a webserver the only way around that.
1) that screenshot is what the files would look like if you exported to windows right?
No, that is a screenshot of my previous game's Linux deployment.
3) I tried deploying to Linux on my Linux and ran into problems as well. I'll post here when I get to my computer. Meantime I'll work with the other stuff I have here.
Well, this topic has mainly become about web deployment, which I am not as familiar with and therefore cannot assist. Therefore I likely won't be watching this topic further. So when that time comes either start a new thread or @ me (or both, I don't see every thread posted to RMW)
No worries. I appreciate you helping me out.

Original thread: https://forums.rpgmakerweb.com/threads/very-frustrated-with-exporting-process-any-help-would-be-appreciated.174629/