arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
13 lines (12 loc) • 450 B
TypeScript
import type { Simplify } from 'type-fest';
import { type ArxKeyFrame } from './KeyFrame.js';
import { type ArxTeaHeader } from './TeaHeader.js';
export type ArxTEA = {
$schema?: string;
header: Simplify<Omit<ArxTeaHeader, 'numberOfKeyFrames' | 'numberOfGroups' | 'version'>>;
keyframes: ArxKeyFrame[];
};
export declare class TEA {
static load(decompressedFile: ArrayBufferLike): ArxTEA;
static save(json: ArxTEA): ArrayBuffer;
}