Uploaded image for project: 'WowModelViewer'
  1. WowModelViewer
  2. WMV-437

Implement CASC / file handling changes for 8.2+


    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.rc2
    • Component/s: None
    • Labels:
    • Platform:
      Windows 10
    • Platform type:
      64 bits


      In patch 8.2 and aboveĀ (1) it's no longer possible to brute force file names from hashes, or get file ID from a hash of the file name. This changes the way we have to handle file names. Also, (2) the header for CASC files has been modified so we'll need a new version of CascLib to open it.

      For (1): The community is working on a new listfile, in CSV format, consisting of ID;Name pairs. All new names will be guessed/made up by the community since we can no longer brute force check their official ones. So in WMV we need to read listfile.csv and add the files using the supplied ID, instead of our current approach of reading in just file names and obtaining the ID from CascLib. I can do this now, as it's backwards compatible with old / current game versions. What I think may be best (please correct me if it's the wrong approach) is to add listfile.csv to our database.xml. Then, when we add files we can query our database for all the file names and IDs. We can also use the database for querying file IDs or names in other places, if we want to.

      For (2): Ladik Zezula is working on a new version of CascLib but it's not ready yet.




            • Assignee:
              Wain Wain
              Wain Wain
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: