mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-08 13:58:50 +08:00
Add basic emote psb file export support
This commit is contained in:
@@ -445,6 +445,10 @@ pub struct ExtraConfig {
|
||||
/// Workers count for encode JXL images in parallel. Default is 1.
|
||||
/// Set this to 1 to disable parallel encoding. 0 means same as 1
|
||||
pub jxl_workers: usize,
|
||||
#[cfg(feature = "emote-img")]
|
||||
#[default(true)]
|
||||
/// Process tlg images.
|
||||
pub psb_process_tlg: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]
|
||||
@@ -533,6 +537,10 @@ pub enum ScriptType {
|
||||
/// Circus Differential Image
|
||||
CircusCrxd,
|
||||
#[cfg(feature = "emote-img")]
|
||||
#[value(alias("psb"))]
|
||||
/// Emote PSB (basic handle)
|
||||
EmotePsb,
|
||||
#[cfg(feature = "emote-img")]
|
||||
#[value(alias("pimg"))]
|
||||
/// Emote PIMG image
|
||||
EmotePimg,
|
||||
|
||||
Reference in New Issue
Block a user