Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on crystals.rest
programmingยทEverything ProgrammingbyOsaki

Bypassing neocities file restriction

I really wanned to try uploading a godot game to neocities (HTML export). The only issue was.. neocities only allows a few file extensions (kind of a bad way of limiting file upload but eh..), so what I did was change the .pck and .wasm (godot archive file holding the game data and web assembly file) filenames too .pck.png .wasm.png and relinked them in the exported js engine source file. (Now.. is this moral? ๐Ÿ’€ I mean.. they state the purpose of the limit is so that ppl don't use neocities for file storage, which I don't, both files are core components of the page, and also, they are theoretically just some weird corrupted images ๐Ÿ’€)

View original on crystals.rest
1

2 replies

It does feel immoral, a bit, since they are very small and providing a service without ads or data harvesting.

1

my take on the morality is entirely "what's the filesize" because, like, if it's small it Doesn't Matter really. they should probably be limiting by file size and not just extension though lmao

1

You reached the end