[xoreos-git] [xoreos/xoreos] a800b7: AURORA: Write files with kFileTypeNone as kFileTyp...

GitHub noreply at github.com
Wed Jun 27 15:32:08 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: a800b7d59999a48d2497226164bbc5f2bf4a344d
      https://github.com/xoreos/xoreos/commit/a800b7d59999a48d2497226164bbc5f2bf4a344d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-06-27 (Wed, 27 Jun 2018)

  Changed paths:
    M src/aurora/erfwriter.cpp

  Log Message:
  -----------
  AURORA: Write files with kFileTypeNone as kFileTypeRES into ERFs

That's how, for example, NWN's original nwhak.exe tool does it.
Our kFileTypeNone type is not a real, existing type anyway.


  Commit: 03516643cd274ba6659d8f503fae5042aa03b693
      https://github.com/xoreos/xoreos/commit/03516643cd274ba6659d8f503fae5042aa03b693
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-06-27 (Wed, 27 Jun 2018)

  Changed paths:
    M src/aurora/types.h

  Log Message:
  -----------
  AURORA: Add kFileTypeMAXArchive, for range checks

Many archives in BioWare games don't save extensions of files.
Instead, they use a numerical type ID. Our FileType enum maps these
to code-useable, human-readable values, and we have functions to
convert these to and from file extensions.

However, xoreos also indexes files that are not found in archives at
all. These don't have a numerical ID usable for those archives.
Instead, we just allocate those numbers arbitrarily.

The new value kFileTypeMAXArchive defines the upper limit for file
types with numerical IDs for archives. All file types above that limit
are "virtual".


  Commit: 9887e97665788fd7eaa8e22aa69b94e901a09bd7
      https://github.com/xoreos/xoreos/commit/9887e97665788fd7eaa8e22aa69b94e901a09bd7
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-06-27 (Wed, 27 Jun 2018)

  Changed paths:
    M src/aurora/erfwriter.cpp

  Log Message:
  -----------
  AURORA: Write files with virtual types as kFileTypeRES into ERFs


Compare: https://github.com/xoreos/xoreos/compare/5bdbb1885adb...9887e9766578
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list