Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

Setup is unable to find DBC files. #430

Closed Ikatzuki closed 2 months ago

Ikatzuki commented 2 months ago

Describe the bug and how to reproduce it I'm trying to run the setup file but it seems to be unable to find any DBC files. I've extracted all the required game files and put them inside of the setup/mpqdata/ folder (i.e: setup/mpqdata/DBFilesClient/Achievement_Criteria.dbc)

This exact same setup works fine on my Ubuntu machine and finds the DBC files just fine but on my Win11 computer, it's unable to find any of them. Any help would be greatly appreciated, tyvm!

16:42:08          [setup] resuming from step 3...
16:42:09          [setup] step 3 / 79
16:42:09          [sql] filling aowow_achievementcriteria with data
16:42:09          [sql] copying achievement_criteria.dbc into aowow_achievementcriteria
16:42:11  [INFO]  indexing game data from setup/mpqdata/ for first time use... done!
16:42:11  [ERR]   no suitable files found for achievement_criteria.dbc, aborting.
16:42:11  [ERR]   [sql] subscript 'achievementcriteria' returned with errors

System:

virgo77 commented 2 months ago

Hi! Your extraction seems not good, if the folder path you typed in your post is the one you try to use.

All the locale extraction must be in a locale folder:

Like this: image

I suggest you to do extractions like this:

You may have to convert again your sounds.

Good luck! :)

Regards, V.

Sarjuuk commented 2 months ago

Nah, he is correct. Even when you apply the localeCode to your mpqdata path it will not be found. (But yeah, you should apply it anayway)

I'm still liberally applying DIRECTORY_SEPARATOR constants until the problem goes away.

virgo77 commented 2 months ago

Nah, he is correct. Even when you apply the localeCode to your mpqdata path it will not be found. (But yeah, you should apply it anayway)

I'm still liberally applying DIRECTORY_SEPARATOR constants until the problem goes away.

oki doki, I wasn't aware of that. But what about multiple locales? You just can't put EN/FR/DE in the mpqdata folder as files could be replaced? I'm wondering... or I did not understand your explaination :)

Sarjuuk commented 2 months ago

You are right, this will not work. It's a failsafe for single language users that skipped over that part in the readme. It will be assigned enus regardless of the files you put there.

Anyway, should work under WIN again.