Is it possible to cache faf versions?
-
ah ok thats fair, is there a way to update files instead of downloading all of it
-
It only updates the files that have changed already
-
oh ok, interesting it is always so slow. Maybe i should do some more research lol
-
All files are cached, but fafdevelop changes way to often to utilize the cache. We tried generating better patches (and even had a working implementation) but it has other drawbacks in (needs more disk writes and CPU), so we dropped it.
-
And since the files are packed up in zip archives, if a single line in a single file gets changed you have to redownload the entire zip archive again...
-
@askaholic said in Is it possible to cache faf versions?:
And since the files are packed up in zip archives, if a single line in a single file gets changed you have to redownload the entire zip archive again...
There's actually no need for them to be in .zip files as the game can mount folders.
-
I suspect the game (original game) does it to prevent fetching scattered files on disk. E.g., small random reads / writes.
-
@jip yes with most modern machines equipped with NVMe SSDs that should be less of a concern though

-
Tell that to our players with their 10 year old notebooks.
-
It’s more of a web issue. Like we dont want every new client making 3000 web requests to download all the files. Although there’s could probably be some combination of the two like get a Zip the first time and then switch to getting individual files, but that adds a lot of complexity and then of course you gotta hash all 3000 files on disk separately to check for changes.
-
There is an option you can enable in the clients to cache versions of the game so they do not need to be redownloaded.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login