Add support to old pimg file which don't have diff_id (example game: サノバウィッチ evimage)

This commit is contained in:
2026-04-10 16:55:53 +08:00
parent ca24c31ede
commit 20b3c14807
4 changed files with 85 additions and 3 deletions

View File

@@ -649,6 +649,10 @@ pub struct ExtraConfig {
/// Force decrypt files in Kirikiri xp3 archive even when flags are not set.
/// Some encrypted files in Kirikiri XP3 archive may not set encryption flag, but still encrypted. Enable this to force decrypt these files.
pub xp3_force_decrypt: bool,
#[cfg(feature = "emote-img")]
/// Disable diff handle when exporting Emote PIMG images to PSD files.
/// If enabled, no group layers will be crated if both layer don't have diff_id and group_layer_id attribute.
pub emote_pimg_psd_no_diff: bool,
}
#[cfg(feature = "artemis")]