Skip to content

About

Library to decode dlc files

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlc-decoder

A simple library to decode dlc files to a readable format.

Usage

Add dlc_decoder as a dependency in Cargo.toml:

[dependencies]
dlc-decoder = "0.3.1"

Use the `dlc_decoder::DlcDecoder' to decrypt a .dlc file or datapackage:

extern crate dlc_decoder;

use dlc_decoder::DlcDecoder;
use std::env;

fn main() {
    let decoder = DlcDecoder::new();

    for arg in env::args().skip(1) {
        let dlc_package = decoder.from_file(arg);
        dbg!(dlc_package.unwrap());
    }
}

Run the example of this repository with:

cargo run --example cli -- path/to/your/file.dlc

Credits

Maintained by Deimos Hall.

Thanks

License

Distributed under the MIT License.

About

Library to decode dlc files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages