TrinityCore / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
https://www.trinitycore.org/
34 stars 19 forks source link

Extraction setup is unclear #4

Closed FrancescoBorzi closed 8 years ago

FrancescoBorzi commented 8 years ago

Hello, I don't understand the step 5. of the installation guide. I have downloaded and compiled the MPQExtractor but then:

.. for every locale you are going to use:

/DBFilesClient/

it's not clear what is and how to extract what

Sarjuuk commented 8 years ago

https://gist.github.com/Sarjuuk/e171bf5e7e9f7503a779

give this a try

Kittnz commented 8 years ago

@ShinDarth i can help if you want, i had the same issues, i have to ask you another thing too so jump on IRC

FrancescoBorzi commented 8 years ago

@Kittnz ok, thank you ;)

@Sarjuuk

Extracting files...

Opening '/Users/Shin/WoW-335/Data/enUS/locale-enUS.MPQ'...

Searching for 'interface\calendar\holidays*.blp'... No file found! ./extract.sh: line 154: [: -eq: unary operator expected [OK] successfully extracted /Users/Shin/WoW-335/Data/enUS/locale-enUS.MPQ Opening '/Users/Shin/WoW-335/Data/enUS/expansion-locale-enUS.MPQ'...

Searching for 'dbfilesclient*.dbc'... No file found! Opening '/Users/Shin/WoW-335/Data/enUS/expansion-locale-enUS.MPQ'...

Searching for 'interface\worldmap*.blp'... No file found! Opening '/Users/Shin/WoW-335/Data/enUS/expansion-locale-enUS.MPQ'...

Extracting files...

Failed to extract the file 'interface\framexml\globalstrings.lua' in /Applications/MAMP/htdocs/aowow/setup/mpqdata/enUS/interface/framexml/globalstrings.lua

Kittnz commented 8 years ago

you didn't extract everything and correctly, had the same issue

Sarjuuk commented 8 years ago

I've updated the gist. Apparently backslashes in single quoted strings are escape chars for you, but not for me. also the unary operand error should be gone.

keep in mind, this is my first time with a bash script^^