Skip to content

Athe81/dlc-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlc-decrypter

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

Usage

Add dlc_decrypter as a dependency in Cargo.toml:

[dependencies]
dlc-decrypter = "0.2.1"

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

extern crate dlc_decrypter;

fn main() {
    // Create the DlcDecoder
    let dd = dlc_decrypter::DlcDecoder::new();

    // loop over all arguments for the programm
    // skip the first one because it's the programm
    // own name
    for arg in std::env::args().skip(1) {
        // hand over the file path
        let dlc = dd.from_file(arg);

        // print the result
        println!("DLC: {:?}", dlc);
    }
}

Thanks

License

Distributed under the MIT License.

About

Library to decode dlc files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages