Options
All
  • Public
  • Public/Protected
  • All
Menu

A class for reading and modifying the GAMEFILE.DAT file on the game disc, as well as some sub-files within GAMEFILE.DAT.

Hierarchy

  • Gamefile

Index

Constructors

  • Parameters

    • blob: Blob
    • Optional sector_map: SectorMap

      A listing of the locations of files within this blob. If not passed in, will try to guess based on the size of the blob.

    Returns Gamefile

Properties

#blob: Blob
#file_cache: Map<number, Blob> = ...
#file_replacements: Map<number, Blob> = ...
#sector_map: SectorMap
EXTERIOR_SIZE_LIMIT: number = 0x9B5000
TRANSITION_SIZE_LIMIT: number = 0x44B000

Accessors

  • get blob(): Blob
  • get num_files(): number

Methods

  • #commit_changes(): void
  • [iterator](): IterableIterator<Blob>
  • get_chunk_file(index: number): Promise<ChunkFile>
  • get_file(index: number): Blob
  • patch_iso(iso_blob: Blob): Promise<Blob>
  • replace_file(index: number, blob: undefined | Blob): Gamefile
  • from_iso(iso_blob: Blob): Promise<Gamefile>

Generated using TypeDoc