feat: initial chunithm support

This commit is contained in:
2025-03-19 17:39:12 +00:00
parent 1191cdd95c
commit 8ac45df3e1
31 changed files with 1368 additions and 884 deletions

View File

@ -24,11 +24,12 @@ export interface Package {
}
export enum Feature {
Mod = 0b00001,
Hook = 0b00010,
GameIO = 0b00100,
Aime = 0b01000,
AMNet = 0b10000,
Mod = 1 << 0,
Aime = 1 << 1,
AMNet = 1 << 2,
Mu3Hook = 1 << 3,
Mu3IO = 1 << 4,
ChusanHook = 1 << 5,
}
export type Status =
@ -45,6 +46,14 @@ export interface ProfileMeta {
name: string;
}
export interface ProfileData {
mods: string[];
sgt: SegatoolsConfig;
display: DisplayConfig;
network: NetworkConfig;
bepinex: BepInExConfig;
}
export interface SegatoolsConfig {
target: string;
hook: string | null;
@ -83,12 +92,9 @@ export interface BepInExConfig {
console: boolean;
}
export interface Profile extends ProfileMeta {
mods: string[];
sgt: SegatoolsConfig;
display: DisplayConfig;
network: NetworkConfig;
bepinex: BepInExConfig;
export interface Profile {
meta: ProfileMeta;
data: ProfileData;
}
export type Module = 'sgt' | 'display' | 'network';