Imperator Save
Imperator Save is a library to ergonomically work with Imperator Rome saves (debug + standard).
use ;
let data = read?;
let file = from_slice?;
assert_eq!;
let mut zip_sink = Vec new;
let parsed_file = file.parse?;
let save = from_deserializer?;
assert_eq!;
assert_eq!;
Ironman
By default, standard saves will not be decoded properly.
To enable support, one must supply an environment variable
(IMPERATOR_TOKENS
) that points to a newline delimited
text file of token descriptions. For instance:
0xffff my_test_token
0xeeee my_test_token2
In order to comply with legal restrictions, I cannot share the list of tokens. I am also restricted from divulging how the list of tokens can be derived.