Add compress support for softpal pgd image file

This commit is contained in:
2025-09-17 21:32:21 +08:00
parent 6e64a85950
commit 8afc11b943
5 changed files with 231 additions and 8 deletions

View File

@@ -468,6 +468,10 @@ pub struct Arg {
#[arg(long, global = true, action = ArgAction::SetTrue, visible_alias = "psb-no-tlg")]
/// Do not process TLG images in PSB files.
pub psb_no_process_tlg: bool,
#[cfg(feature = "softpal-img")]
#[arg(long, global = true, visible_alias = "pgd-fc")]
/// Whether to use fake compression for Softpal Pgd images
pub pgd_fake_compress: bool,
#[command(subcommand)]
/// Command
pub command: Command,