Closed Qartar closed 5 years ago
I just tried with CascView and I can download every file you mentioned. Are you absolutely sure that you have the newest listfile (https://github.com/wowdev/wow-listfile)?
Yes, as mentioned above I can get filenames for the affected files if I ignore the missing EKey which means they're in the listfile. Does CascView publish source? It's possible I'm just using the API incorrectly, would be helpful to compare.
I was calling CascOpenStorage
with CASC_LOCALE_ALL
under the impression that doing so meant 'any'. It looks I should be using CASC_LOCALE_NONE
for that use-case, is that correct?
It looks I should be using CASC_LOCALE_NONE for that use-case, is that correct?
Aye, that's what CascView does.
Using CASC_LOCALE_NONE
gives me everything so I'll close as user-error. Thanks!
I'm seeing an issue where roughly 80k files aren't being associated with an EKey (
FindEKeyEntry
inDoStorageSearch_RootFile
returnsNULL
) and consequently cannot be searched by name, either directly or with a wildcard. By removing thecontinue
a couple lines down I was able to getCASC_FIND_DATA
withszFileName
populated for these files but still couldn't open them due to the missing EKey.It looks like most or possibly all of these files are either using enUS/enGB locales or have the LowViolence content flag set (as seen in CASCExplorer). Here's a very small sample:
All of the above files are visible and exportable in CASCExplorer but I'm not sure if this is just because the files aren't present/indexed on my local data due to locale. The fact that the CKeys still exist makes me suspect this is an issue in CascLib but maybe I'm misunderstanding how CKeys are populated. Let me know if you'd like me to provide a more comprehensive list.