#file download help

1 messages · Page 1 of 1 (latest)

severe jewelBOT
#

<@&987246399047479336> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
Does anyone know whats different between files downloaded from github and from a other file host? (since somehow when downloaded from gh my mod finds them but when using something else it doesnt (even tho they are downloaded exactly the same)

The main difference between files downloaded from GitHub and those from other hosts often comes down to how the files are served or packaged. GitHub typically offers raw file downloads directly, preserving line endings and file encoding exactly as in the repository, which mod loaders or Java programs rely on.

Other hosts might:

  • Serve files with different encodings, altering how bytes are read.
  • Compress files in archives or add metadata that changes the file’s binary structure.
  • Use HTTP headers that cause browsers to alter downloaded files (e.g., converting line endings or adding extra characters).

When your mod can "find" files from GitHub but not from other hosts, it’s usually because the file content or format is altered, causing the mod’s file detection or parsing logic to fail.

Check these points:

  • Confirm the file’s encoding and line endings remain consistent.
  • Make sure you are downloading the “raw” version rather than an HTML page or a zipped archive.
  • Verify the file’s hash or checksum after download to ensure integrity.

Useful links:

somber parcel
#

not sure what u mean

#

could u elaborate please

fringe badge
#

but when I "switch" to my server somehow they are downloaded by not "found"

somber parcel
#

mind sharing details please

#

screenshots, files, error messages, code,... 🙂

fringe badge
#

and this is the mod side stuff

somber parcel
#

thats a bit too much to just throw at us without any guidance

fringe badge
#

please dont hate

somber parcel
#

please elaborate on the error

fringe badge
#

sec

#

so basically I have everything downloaded:
[13:17:15] [pool-2-thread-3/INFO]: [com.quickcapes.utils.Downloader:lambda$null$1:52]: [QuickCapes] Downloading http://localhost:3000/files/quickcapes/textures/capes/minecon_2011.png.json
[13:17:15] [pool-2-thread-8/INFO]: [com.quickcapes.utils.Downloader:lambda$null$1:52]: [QuickCapes] Downloading http://localhost:3000/files/quickcapes/textures/capes/minecon_2012.png
[13:17:15] [pool-2-thread-1/INFO]: [com.quickcapes.utils.Downloader:downloadFile:194]: [QuickCapes] New file: mcchampionship.png.json

#

but then I have stuff like this later on:
[13:17:28] [Client thread/INFO]: [com.quickcapes.cape.CapeTextureManager:getCapeTexture:36]: [QuickCapes] Cape texture not found on disk: C:\Users\Lukas\AppData\Roaming.own\Launcher\client\quickcapes\textures\capes\minecon_2016.png
[13:17:28] [Client thread/INFO]: [com.quickcapes.cape.CapeTextureManager:getCapeTexture:36]: [QuickCapes] Cape texture not found on disk: C:\Users\Lukas\AppData\Roaming.own\Launcher\client\quickcapes\textures\capes\minecon_2016.png

#

even tho the logs say the files are there (and they are actually there)