Skip to main content

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

Using "External File" makes my community see the file's content instead of downloading it

A topic by Aerosys created 11 days ago Views: 64 Replies: 3
Viewing posts 1 to 3

Hello everyone,

I'm a RPG Maker plugin creator and for those who don't know, a plugin in RPG Maker is a single JavaScript file. I'm using the "external file" feature on my itch io download page because it's much more efficient for my workflow.

Now the problem: When a customer wants to download such file, instead of downloading it, it (always, usually, don't know) opens the file's content in a new tab making the customer throwing code into their face, and many people don't know that right-click, save as... is the way to go. So I receive questions like "How can I download?" daily.

Any tips for me?

(+1)

Put the .JS file inside a .ZIP and upload the .ZIP, like Itch recommend.

While that is a process that everyone already understands, the unzipping is an extra step to do.

Your external file server should set the Content-Disposition header as 'attachment'.