| Crates.io | l4d2_addon_parser |
| lib.rs | l4d2_addon_parser |
| version | 1.3.1 |
| created_at | 2025-11-07 18:41:36.400943+00 |
| updated_at | 2025-11-15 05:40:52.797777+00 |
| description | Parse L4D2 VPK files and extract info from addoninfo.txt data and the mission data for campaigns, and other utilities |
| homepage | |
| repository | https://git.jackz.me/jackz/l4d2-addon-parser |
| max_upload_size | |
| id | 1921995 |
| size | 68,402 |
A simple library that lets you parse l4d2 vpk files and extract useful information.
let file = File::open("addons/my-addon.vpk").unwrap();
let mut vpk = L4D2Addon::new(file).expect("failed to open vpk");
let info = vpk.info().expect("failed to parse addon").expect("addon does not include addoninfo.txt");
println!("Addon Title: {:?}", info.title);
println!("Addon Author: {:?}", info.description);
println!("Is Map: {}", info.content.is_map);
MIT