Hello! I am having trouble getting one of my projects to upload onto itch.io as a browser title. I have gotten numerous put/context canceled errors in regards to several files, including some that I do not have in the project.
I did manually remove numerous RTP files in the project as opposed to using the exclude unused file option, and I am wondering if this could be causing the issue? The game works fine as a .exe, as long as I do not encrypt it. When I encrypt it, I get errors regarding the absence of files that the game should have.
the first part can have many reasons and we would have to see the messages to guess what it is.
the second part about encrypted files missing is easier:
One of your plugins uses the wrong function to load its files.
there is one way to load with a specific function that can handle the encryption, but if a plugin programmer uses a basic html-load function then that will not be able to handle encrypted files.
Basically you'll have to find out which one of your plugins use the wrong function, and then request a patch for it (disable one plugin after another and try an encrypted plugin without that until you find the culprit)
One problem is that your folderpath is breaking networking rules, causing all browsers to have problems loading all files.
Your folder is NOT named "Demon%20Blade", that is the problem in the error.
The %20 is the override for forcing the bbrowser to accept a space - a symbol forbidden under networking rules - as part of the adress line, and those overrides are problematic as soon as you get into the internet.
There is a reason why internet files use the underscore instead of spaces...
Please rename your project folder and try again.
(There might be other reasons for your errors in addition to using a forbidden space)
can you give a new screenshot of the error, as well as a screenshot of the local folder with the file it tries to load?
as I mentioned there are other possible reasons, and we need to see what you have to find out what might have happened.
wrong screenshot - the file it is looking for is the icon.png inside the icon folder.
you also might want to change your windows settings to always display the file extension
Windows has an override for capitalisation, but on the web icon.png and icon.PNG are two different files and that difference is one of the known quirks that can cause such errors, which is why I asked for a screenshot instead of retyping the name.
It does seem like something is messed up with your file references.
If you export the game completely normally, no excluding files, no encryption, no manually deleting anything, does it play properly?
What software are you using to create your zip file?
You might also want to reach out to itch, as this error is coming from their Web interface, not your game.
Yep, it was a very bad choice to use.
If you need to get it working, edit the plugin file (with notepad or similar) and look for 2 instances of the text:
characterName.match(/\%\((.*)\)/i)
Change the % symbol for another symbol you want to use. Then update your files as needed.