Sarjuuk / aowow

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

Installation problem #44

Closed Hoyung closed 8 years ago

Hoyung commented 8 years ago

Sorry, I'm a rookie. I can't understand the fifth of the installation section. Can u tell me the detail.

5 .compile the MPQExtractor (im a win user , so i use MPQEditor directly) extract the following directories (where are directories,can u tell me which directory or which file ? ) from the client(do u mean The World of Warcraft v3.3.5 Client?) archives into setup/mpqdata/(do u mean the aowow folder which i have cloned.=aowow/setup/mpqdata), while maintaining patch order (suffix: 1 -> 9 -> A -> Z) .. for every locale you are going to use:*

<localeCode>/DBFilesClient/
<localeCode>/Interface/WorldMap/
<localeCode>/Interface/FrameXML/GlobalStrings.lua

.. once is enough (still apply the localeCode though):

<localeCode>/Interface/TalentFrame/
<localeCode>/Interface/Glues/Credits/
<localeCode>/Interface/Icons/
<localeCode>/Interface/Spellbook/
<localeCode>/Interface/PaperDoll/
<localeCode>/Interface/GLUES/CHARACTERCREATE/
<localeCode>/Interface/Pictures
<localeCode>/Interface/PvPRankBadges
<localeCode>/Interface/FlavorImages
<localeCode>/Interface/Calendar/Holidays/

.. optionaly (for other uses):

<localeCode>/Interface/GLUES/LOADINGSCREENS/

:sparkles:Forgive my ignorance and bother ! Please tell me the detail ! thx a lot ! :sparkles:

Sarjuuk commented 8 years ago

if you are using a chinese client (enCN or zhCN) you are out of luck. sorry..

Hoyung commented 8 years ago

Thx. Now Im downloading the enUS version wow client. until then i will tell u detail

Hoyung commented 8 years ago

I did the following steps(WIN user without World of Warcraft v3.3.5 private server install. ): 1, copy aowow foder to D:\xampp\htdocs\aowow 2, Created a new database named 'aowow'. then mysql -p aowow < setup/db_structure.sql done 3, Created a new database named 'world'. then mysql -p aowow < TDB_full_world_335.60.sql done 4, extract the following directories from the client archives into setup/mpqdata/.......like this 5, run the initial setup from the CLI php aowow --firstrun.

17:18:24  [INFO]  db setup aborted
17:18:24          SITE_HOST and STATIC_HOST must be set. Also enable FORCE_SSL i
f needed. You may also want to change other variables such as NAME, NAME_SHORT O
R LOCALES.

Press any key to continue:

Can you tell me the wrong place, and I found that the Install chapter does not mention the use of BLPConverter, as a necessary tool, BLPConverter will be used in which step?

thx! (My English is so terrible.)

Sarjuuk commented 8 years ago
  1. ok
  2. ok
  3. um, according to the query you've put the world tables into the aowow-db. This is not critical, as long as you set up the connection for the world DB to use the aowow DB.
  4. no, just mpqdata\enUS\ (thats why the patches may overwrite base files)
  5. [0] aowow and [1] world are required. [2] is only needed if you wan to log in using wow-accounts (which does not apply to you WIN user without World of Warcraft v3.3.5 private server install.). [3+] characters can be omitted, since this is only needed for the profiler which is NYI. just continue from there.

the BLPConverter is not required but if some of the images you will extract look weired, you can convert them using this tool. You probably won't need it.

Hoyung commented 8 years ago

1, copy aowow foder to D:\xampp\htdocs\aowow 2, Created a new database named 'aowow'. then mysql -p aowow < setup/db_structure.sql done 3, Created a new database named 'world'. then mysql -p world < TDB_full_world_335.60.sql done 4, extract the following directories from the client archives into setup/mpqdata/.......like this 5, run the initial setup from the CLI php aowow --firstrun. I've tried the enter button. Wrong exit, i got this:

16:35:13  [INFO]  db setup aborted
16:35:13          SITE_HOST and STATIC_HOST must be set. Also enable FORCE_SSL i
f needed. You may also want to change other variables such as NAME, NAME_SHORT O
R LOCALES.

Press any key to continue:

16:35:53  [WARN]  database not yet set up!
        Please use --dbconfig for setup
Failed to connect to database.

thx a lot !

Sarjuuk commented 8 years ago

the table prefix requires an underscore

aowow => aowow_

/e: although this is wrong, there still is another error somewhere else

Hoyung commented 8 years ago

Thank you for all your help, I will continue to take time to finish it.