mercs2_probe 4.0.0

Mercenaries 2 modernization — headless WAD diagnostic/export tool. Runs the carved-out diagnostics from mercs2_engine::diag as subcommands (no window).
1
2
3
4
5
6
//! Print `pmc_sites.gen.h`, the site table pmc_bb's C scanner compiles, from `mercs2_formats::pmc_sites`.
//! Run it into the pmc_bb repository: `cargo run -p mercs2_probe --bin pmc_sites_header > pmc_sites.gen.h`.

fn main() {
    print!("{}", mercs2_formats::pmc_sites::c_header());
}