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

Confusion when loading database from shared folder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None
    • Platform:
      Windows 10
    • Platform type:
      64 bits

      Description

      According to a number of people reporting issues on the WMV Discord, there can be confusion when WMV tries to load a database from a shared folder. This most often occurs with retail (currently 8.2.5) and Classic. The user selects 8.2.5 from the pop up selector, and WMV reports that 8.2.5 is loaded, but models won't load and the file tree is reduced to that of Classic.

      This isn't a bug I've experienced personally (although I do have both Classic and 8.2.5 installed in the same folder), but it seems to be a common problem.

      I'm pretty sure the reason is that the product code isn't being passed to CascOpenStorage(). According to CascLib documentation, the arg you should pass to that function is <folder path> + ":" + <product code>, where the code is something like wow, wow_classic or wowt. Currently we just pass the path string. I suspect the version it selects is then random, or based on the quirks of the user's particular installation.

        Attachments

          Activity

            People

            • Assignee:
              Wain Wain
              Reporter:
              Wain Wain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: