I just uploaded the latest version of my game to springfiles and something very weird happened.
File uploaded was "metal_factions_v0.95.sdz". After I tried to download, it showed me "metal_factions-v0.95.sdz" instead!
I reuploaded the exact same file, and now it shows up fine when trying to download.
I think this already happened once, where I had uploaded a version and people who downloaded it would not show up as synced on the autohost, even people that auto-downloaded it through springlobby. Then I uploaded a new version following the same naming rules and it worked fine.
Maybe springfiles or some mirror is converting the underscore before the version suffix to a "-", but only sometimes, or some specific mirrors.
Springfiles randomly provides wrong download links
Moderator: Moderators
Re: Springfiles randomly provides wrong download links
the mirroring system normalizes filenames, so on mirrors filenames will be different, when you download from springfiles.com the filename keeps the same when the name doesn't contain special chars / no duplicate filename exists.
its not "randomly", its based on your selection.
maybe also see http://api.springfiles.com/
its not "randomly", its based on your selection.
maybe also see http://api.springfiles.com/
Re: Springfiles randomly provides wrong download links
It's bugged!
The file I uploaded has "_", the current download link shows "_" (for me at least, I'm at Portugal). All I had to do was reupload the file.
The link you gave still shows "-" instead!
The file I uploaded has "_", the current download link shows "_" (for me at least, I'm at Portugal). All I had to do was reupload the file.
The link you gave still shows "-" instead!
Re: Springfiles randomly provides wrong download links
i repeat: the mirroring system normalizes filenames, this means, you can upload dadasjkdasjasdkl.sd7 to springfiles.com and the file will be renamed to <name read from modinfo.lua>-<version>.type on the mirroring system.
the files downloaded from urls starting with http://springfiles.com/downloadmain/ are not renamed, all files found at http://api.springfiles.com/ are renamed. thats a restriction of the current system.
the files downloaded from urls starting with http://springfiles.com/downloadmain/ are not renamed, all files found at http://api.springfiles.com/ are renamed. thats a restriction of the current system.
Re: Springfiles randomly provides wrong download links
does the lobby auto-download use the api?
If so, doesn't that mean that a person manually downloading the file and a person auto-downloading the same file through lobby will get files with different names?
Can't this cause sync issues (people download stuff through lobby but remain unsynced)? I start my spads autohost after I manually download the file from springfiles.
So I should use <name>-version.sdz instead of <name>_<version>.sdz to ensure consistency?
If so, doesn't that mean that a person manually downloading the file and a person auto-downloading the same file through lobby will get files with different names?
Can't this cause sync issues (people download stuff through lobby but remain unsynced)? I start my spads autohost after I manually download the file from springfiles.
So I should use <name>-version.sdz instead of <name>_<version>.sdz to ensure consistency?
Re: Springfiles randomly provides wrong download links
Different archive names should not cause sync issues, and if they do, that should be considered an engine bug.
What's matters is what's inside archives, not how they're named.
What's matters is what's inside archives, not how they're named.
Re: Springfiles randomly provides wrong download links
this happened again today, with springlobby 0.255
game room uses engine 100.0
https://github.com/springlobby/springlobby/issues/744
game room uses engine 100.0
https://github.com/springlobby/springlobby/issues/744
Re: Springfiles randomly provides wrong download links
quote myself:
also this thread is about wrong a filename and not about not synced: locked this thread.
abma wrote:i repeat: the mirroring system normalizes filenames, this means, you can upload dadasjkdasjasdkl.sd7 to springfiles.com and the file will be renamed to <name read from modinfo.lua>-<version>.type on the mirroring system.
the files downloaded from urls starting with http://springfiles.com/downloadmain/ are not renamed, all files found at http://api.springfiles.com/ are renamed. thats a restriction of the current system.
also this thread is about wrong a filename and not about not synced: locked this thread.