tiger-pkg 0.20.0

Tiger engine package reading library for Destiny 1/2 and Marathon
Documentation
# Tiger PKG Library

[![Latest version](https://img.shields.io/crates/v/tiger-pkg.svg)](https://crates.io/crates/tiger-pkg)
[![Documentation](https://docs.rs/tiger-pkg/badge.svg)](https://docs.rs/tiger-pkg)

You need an oo2core DLL to be able to decompress packages.
When using tiger-pkg with a Destiny 2/Marathon installation, PackageManager will automatically search for oo2core
under `bin\x64`.

In any other case, you will need to get oo2core_3_win64.dll from somewhere (an old game for example), and place it in
the
directory where you run tiger-pkg from. Check below for the version of oo2core that is required for your game.

On Linux, liblinoodle is used for oo2core_3 support (which requires the respective Windows DLL), while liboodle-data-shared.so is used for oo2core_9 support (which does not require the Windows DLL and can be used on it's own). `liboodle-data-shared.so` can be downloaded [here](https://github.com/WorkingRobot/OodleUE/releases/latest) (you will want to download clang.zip or gcc.zip)

## Package format support

| Version                         | Platform          | Works? | Oodle Library                                     |
| ------------------------------- | ----------------- | ------ | ------------------------------------------------- |
| Destiny Internal Alpha          | X360              || `oo2core_3_win64.dll`                             |
| Destiny Legacy (The Taken King) | PS3/X360/PS4/XONE || `oo2core_3_win64.dll`                             |
| Destiny (Rise of Iron)          | PS4/XONE          || `oo2core_3_win64.dll`                             |
| Destiny 2 (Beta)                | Any               || `oo2core_3_win64.dll`                             |
| Destiny 2 (Pre-BL)              | Any               || `oo2core_3_win64.dll`                             |
| Destiny 2 (Post-BL)             | Any               || `oo2core_9_win64.dll` / `liboodle-data-shared.so` |
| Marathon                        | Any               || `oo2core_9_win64.dll` / `liboodle-data-shared.so` |

## Game version codes

### Destiny

| Version                     | Code           |
| --------------------------- | -------------- |
| Destiny (Internal Alpha)    | `d1_devalpha`  |
| Destiny (First Look Alpha)  | `d1_fla`       |
| Destiny: The Taken King     | `d1_ttk`       |
| Destiny: Rise of Iron       | `d1_roi`       |
| Destiny 2 (Beta)            | `d2_beta`      |
| Destiny 2: Forsaken         | `d2_fs`        |
| Destiny 2: Shadowkeep       | `d2_sk`        |
| Destiny 2: Beyond Light     | `d2_bl`        |
| Destiny 2: Witch Queen      | `d2_wq`        |
| Destiny 2: Lightfall        | `d2_lf`        |
| Destiny 2: The Final Shape  | `d2_tfs`       |
| Destiny 2: The Edge of Fate | `d2_eof`       |
| Destiny 2: Renegades        | `d2_renegades` |

### Marathon

| Version                      | Code            |
| ---------------------------- | --------------- |
| Marathon (Alpha/Test Builds) | `goliath_alpha` |
| Marathon\*                   | `goliath`       |

###### \* Includes server slam build

## Platform codes

| Platform      | Code      |
| ------------- | --------- |
| Xbox 360      | `x360`    |
| Xbox One      | `xboxone` |
| PlayStation 3 | `ps3`     |
| PlayStation 4 | `ps4`     |
| Windows (x64) | `w64`     |