Obnoxiously Large Linux Updates

Discussion in 'Support!' started by RealTarget, June 16, 2014.

  1. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Ok, I am guilty of not posting sooner. And I admit that I refused to use the forums until I could figure out a way to not use my real name (user name).

    BUT, these Linux updates are obnoxious. 1 GB when Windoze only has 28 MB. And I am bandwidth limited.

    Can we have the Uber Linux guru write a script that uses rdiff, and rsync at the command prompt to only update the relevant files? (they require username password so you can tie it to PAMM - no that is not Planetary... - or whatever auth scheme you implement and use your existing database)
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
  3. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
  4. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    Sniped.
    RealTarget and SXX like this.
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Hrm. OS X is usually over 100MB with the UberLauncher. Still a lot better than 1GB
  6. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    I personally don't get who would care about update size if game itself use a lot more bandwidth :)
  7. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Good file. Still downloading, not thinking this is what I wanted (no shorter than downloading the complete build). And the code looks like it just downloads the entire package in a scheduled manner. (need to look at that more closely)
    Do you have a directory I can rsync to?
  8. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    I will concede that the game uses a lot of bandwidth, but the optimizations let me play all night (with less than 2k total units) with no lag. *2k or more total units and the system is very laggy

    The update download takes me over 2 hours to download on a straight download.

    So my evening is ruined if I was planning on PA for the evening.

    I just want to get to playing ~something~ in the same evening I download. My rate limit is 10 MB (probably per hour).
  9. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Once you have one of versions downloaded already it's will use a lot less bandwidth. At least this updater work exactly as one with GUI on Windows.

    Unfortunately rsync won't help you any more because some of game assets like audio ad 3D models already pre-compressed so once they chanced a bit it's required to re-download full file.
  10. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Thanks, you all have been real supportive. I will try again tonight and see if I can get an error free download (last night had three files corrupt after three hours. :( ) and then do just updates. - First glance it looked like it unzipped the tarball and then downloaded only what I needed - more work than just downloading the tarball.
  11. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Did it! Second run of the "paupdater" did only take 30 minutes on my slow connection. I have an expect script half finished and will upload when done so anyone can automate the download using their username and password.
  12. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Ok, anyone that wants an unsupported script, here it is.

    Basically, it just updates PA for you without you needing to type your username and password everytime. Open it in a text editor to get the instructions. Save it in your papatcher directory and chmod 555 the Update_PA file. Run it like any bash script: ./Update_PA.

    Enjoy!

    Attached Files:

  13. RealTarget

    RealTarget New Member

    Messages:
    14
    Likes Received:
    1
    Dang.

    Looking through paupdate.go to turn off auto start of PA, I see that the username and password can be passed as arg0 and arg1, so my small script is worthless.

    Good code UberWilliam.
  14. yrrep

    yrrep Member

    Messages:
    67
    Likes Received:
    79
    You might also want to check out my python rewrite of UberWilliam's Go patcher.

Share This Page