FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Is it possible to cache faf versions?

    Scheduled Pinned Locked Moved General Discussion
    13 Posts 8 Posters 907 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SpikeyNoobS Offline
      SpikeyNoob Global Moderator
      last edited by

      As someone will a low download speed it is always a pain to have to redownload the game files whenever i am joining a different version of fa. For instance i wanted to try the faf dev games that were hosted today but i simply cant be bothered to wait for it to download for ages everytime. Something like this could help to get people to help with beta / development testing.

      1 Reply Last reply Reply Quote 0
      • S Offline
        snoog
        last edited by

        Pretty sure when you join a dev, it's only downloading the most recent version. Caching wouldn't help, because they're constantly updating it right now.

        1 Reply Last reply Reply Quote 0
        • SpikeyNoobS Offline
          SpikeyNoob Global Moderator
          last edited by

          ah ok thats fair, is there a way to update files instead of downloading all of it

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sheikah
            last edited by

            It only updates the files that have changed already

            1 Reply Last reply Reply Quote 0
            • SpikeyNoobS Offline
              SpikeyNoob Global Moderator
              last edited by

              oh ok, interesting it is always so slow. Maybe i should do some more research lol

              1 Reply Last reply Reply Quote 0
              • Brutus5000B Offline
                Brutus5000 FAF Server Admin
                last edited by Brutus5000

                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.

                He said, "I've been to the year 3000
                Not much has changed, but they live underwater
                And your great-great-great-granddaughter
                Is playin' FAF, playin' FAF"

                1 Reply Last reply Reply Quote 0
                • AskaholicA Offline
                  Askaholic
                  last edited by

                  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...

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sheeo @Askaholic
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • JipJ Offline
                      Jip
                      last edited by

                      I suspect the game (original game) does it to prevent fetching scattered files on disk. E.g., small random reads / writes.

                      A work of art is never finished, merely abandoned

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Sheeo @Jip
                        last edited by Sheeo

                        @jip yes with most modern machines equipped with NVMe SSDs that should be less of a concern though 🙂

                        1 Reply Last reply Reply Quote 0
                        • Brutus5000B Offline
                          Brutus5000 FAF Server Admin
                          last edited by

                          Tell that to our players with their 10 year old notebooks.

                          He said, "I've been to the year 3000
                          Not much has changed, but they live underwater
                          And your great-great-great-granddaughter
                          Is playin' FAF, playin' FAF"

                          1 Reply Last reply Reply Quote 0
                          • AskaholicA Offline
                            Askaholic
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • ThomasHiattT Online
                              ThomasHiatt
                              last edited by

                              There is an option you can enable in the clients to cache versions of the game so they do not need to be redownloaded.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post