Difference between revisions of "Update Repository"
Imathrowback (Talk | contribs) |
Imathrowback (Talk | contribs) |
||
Line 29: | Line 29: | ||
− | The | + | The last set of lines indicate the latest version in that depot. |
The depots contain PAK files which are like ZIP's that contain an archive of related files. You can also access some files directly such as the manifest: | The depots contain PAK files which are like ZIP's that contain an archive of related files. You can also access some files directly such as the manifest: |
Revision as of 05:58, 3 November 2018
Glyph stores it's updates in an online repository. The URL for each game can be found in the file GlyphLibrary.xml in the element "RemoteUrl".
- LIVE RIFT: http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch
- PTS RIFT: http://update2.triongames.com/ch1-live-streaming-client-patch
Each of these depots can have anywhere from 1 to 5 (or more?) patches. To access these patches the following is appended (where the question mark is the index of the depot):
- LIVE: patchlive0?
- PTS: patchpts0?
The current depot can be seen in the current version file:
- LIVE: http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch/public/ch1-live.txt
- PTS: http://update2.triongames.com/ch1-live-streaming-client-patch/public/ch1-pts.txt
These depots are re-used in a round-robin fashion anytime a patch is released. Sometimes a patch is uploaded to the depot but not released.
For example, to access the files from the LIVE index 1 depot you would use:
To get the versions you parse the manifest file in each depot:
- http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch/content/patchlive01/recovery64/recovery64.manifest
- http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch/content/patchlive02/recovery64/recovery64.manifest
- http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch/content/patchlive03/recovery64/recovery64.manifest
- http://rift-update.dyn.triongames.com/ch1-live-streaming-client-patch/content/patchlive04/recovery64/recovery64.manifest
The last set of lines indicate the latest version in that depot.
The depots contain PAK files which are like ZIP's that contain an archive of related files. You can also access some files directly such as the manifest:
The manifest file will contain a list of PAK file names.
To download a specific file, you would look up the hash in the manifest, find the PAK file that hash is associated with, then download the PAK file and extract it.
A feature of PAK files is that the position of the individual files is stored as a byte offset from the start which allows a downloader to request only the bytes relevant to the file rather than the whole PAK through the use of the HTTP Range header. The glyph launcher/rift does NOT use this method, instead downloading the entire PAK file.