UNPKG

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.

16 lines (15 loc) • 729 B
import File from '../files/file.js'; import Patch from './patch.js'; /** * @see https://zerosoft.zophar.net/ips.php * @see https://github.com/btimofeev/UniPatcher/blob/a5a69cc607fadef43734589b311e5ef1bcde6941/app/src/main/java/org/emunix/unipatcher/patcher/IPS.java * @see https://github.com/Lyrositor/EBPatcher/blob/f722878c60f476e4f8e92322aaefa579807bd58f/EBPPatch.py */ export default class IPSPatch extends Patch { static readonly SUPPORTED_EXTENSIONS: string[]; static readonly FILE_SIGNATURES: Buffer<ArrayBuffer>[]; static patchFrom(file: File): IPSPatch; createPatchedFile(inputRomFile: File, outputRomPath: string): Promise<void>; private static writeOutputFile; private static applyPatch; }