igir
Version:
🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.
30 lines (29 loc) • 1.11 kB
TypeScript
import 'reflect-metadata';
interface ClrMameProOptions {
readonly header?: string;
readonly forceMerging?: 'none' | 'split' | 'full';
readonly forceNoDump?: 'obsolete' | 'required' | 'ignore';
readonly forcePacking?: 'zip' | 'unzip';
}
/**
* "CMPro data files use a 'clrmamepro' element to specify details such as the
* emulator name, description, category and the data file version."
* @see http://www.logiqx.com/DatFAQs/CMPro.php
*/
export default class ClrMamePro implements ClrMameProOptions {
/**
* No-Intro DATs use this to indicate what file header has been added before the raw ROM data.
* {@link FileHeader.HEADERS}
*/
readonly header: string;
/**
* "To force CMPro to use a particular merging format (none/split/full). Only
* do this if the emulator doesn't allow all three of the modes!"
*/
readonly forceMerging: 'none' | 'split' | 'full';
readonly forceNoDump: 'obsolete' | 'required' | 'ignore';
readonly forcePacking: 'zip' | 'unzip';
constructor(options?: ClrMameProOptions);
getHeader(): string;
}
export {};