feat: amnet integration

This commit is contained in:
2025-03-17 01:58:09 +00:00
parent 8d55e92fc9
commit af4929a5b3
10 changed files with 184 additions and 41 deletions

View File

@ -7,7 +7,7 @@ export interface Package {
version: string;
path: string;
dependencies: string[];
kind: 'Unchecked' | 'Unsupported' | 'Mod' | 'Hook' | 'IO';
status: Status;
} | null;
rmt: {
version: string;
@ -22,6 +22,20 @@ export interface Package {
};
}
export enum Feature {
Hook = 0b00001,
GameIO = 0b00010,
Aime = 0b00100,
AMNet = 0b01000,
}
export type Status =
| 'Unchecked'
| 'Unsupported'
| {
OK: Feature;
};
export type Game = 'ongeki' | 'chunithm';
export interface ProfileMeta {
@ -36,8 +50,13 @@ export interface SegatoolsConfig {
amfs: string;
option: string;
appdata: string;
enable_aime: boolean;
aime: { AMNet: string } | { Other: string } | null;
intel: boolean;
amnet: {
name: string;
addr: string;
physical: boolean;
};
}
export interface DisplayConfig {