Skip to content

unpacking

aspadm edited this page Oct 21, 2018 · 2 revisions

На русском

Common principle

  1. Serially loads file data into inner representation (recursive lists with base data types).
  2. Converter consistently process data and form file in new format.
  3. Generated data written to the file.

General unpacking process

  1. Recursively copying all needed game files into working folder.
  2. Recursively unpacking game archives using some iterations. After unpacking, archive is deleting.
  3. Cleaning and rebuilding some folders (figures folder).
  4. Converting all files, except composite formats. Deleting source files after conversion.
  5. Converting composite files (maps and figures). Deleting source files.
  6. Merging game texts and deleting source files.

As result, we'll get original file tree structure, but original files are replaced by converted ones.

Clone this wiki locally