diff --git a/extra_assets/zoomer.CMDL b/extra_assets/zoomer.CMDL new file mode 100644 index 00000000..89396bda Binary files /dev/null and b/extra_assets/zoomer.CMDL differ diff --git a/src/custom_assets.rs b/src/custom_assets.rs index 83d8dcb6..ba8fc84a 100644 --- a/src/custom_assets.rs +++ b/src/custom_assets.rs @@ -1669,9 +1669,8 @@ fn create_zoomer_cmdl_and_ancs<'r>( new_txtr1: ResId, ) -> [structs::Resource<'r>; 2] { let cmdl = { - let cmdl = ResourceData::new(&resources[&resource_info!("Zoomer.CMDL").into()]); - let cmdl_bytes = cmdl.decompress().into_owned(); - let mut cmdl: structs::Cmdl = Reader::new(&cmdl_bytes[..]).read::(()); + let cmdl = include_bytes!("../extra_assets/zoomer.CMDL"); + let mut cmdl = Reader::new(&cmdl[..]).read::(()); cmdl.material_sets.as_mut_vec()[0].texture_ids.as_mut_vec()[0] = new_txtr1;