diff --git a/src/add_modify_obj_patches.rs b/src/add_modify_obj_patches.rs index 0cc8d2bf..3c8cb7fa 100644 --- a/src/add_modify_obj_patches.rs +++ b/src/add_modify_obj_patches.rs @@ -1431,6 +1431,7 @@ pub fn patch_add_platform<'r>( ( vec![ (0x27D0663B, b"CMDL"), + (0x964E98AC, b"DCLN"), (0x19AD934F, b"TXTR"), (0xFF6F41A6, b"TXTR"), ], @@ -1442,6 +1443,7 @@ pub fn patch_add_platform<'r>( ( vec![ (0x27D0663B, b"CMDL"), + (0x910FF59C, b"DCLN"), (0x19AD934F, b"TXTR"), (0xFF6F41A6, b"TXTR"), ], @@ -1453,6 +1455,7 @@ pub fn patch_add_platform<'r>( ( vec![ (0x27D0663B, b"CMDL"), + (0xA87758DC, b"DCLN"), (0x19AD934F, b"TXTR"), (0xFF6F41A6, b"TXTR"), ], diff --git a/src/custom_assets.rs b/src/custom_assets.rs index cfb27ff0..cdb0bc06 100644 --- a/src/custom_assets.rs +++ b/src/custom_assets.rs @@ -502,6 +502,16 @@ fn extern_assets_compile_time<'r>() -> Vec> extern_asset!(SCAN_VISOR_METAL_TRIM_TXTR , "scan_visor_metal_trim.TXTR" ), ]; + /* If you ever needed more than just TXTR you would chain like so: + + extern_assets_txtr.iter().map(|&(res, ref fourcc, bytes)| { + build_resource(res, ResourceKind::Unknown(Reader::new(bytes), fourcc.into())) + }).chain(extern_assets_dcln.iter().map(|&(res, ref fourcc, bytes)| { + build_resource(res, ResourceKind::Unknown(Reader::new(bytes), fourcc.into())) + })).collect() + + */ + extern_assets.iter().map(|&(res, ref fourcc, bytes)| { build_resource(res, ResourceKind::Unknown(Reader::new(bytes), fourcc.into())) }).collect()