Jump to content
  • 0

zanderb

Question

Posted

Hello Again,

I am not having issues getting my maps working.

When I run the extractors (that were built into the bin/tools) on my Linux computer (that will be the server) it fails to load 3 of the MPQ files:common.MPQ,lichking.MPQ,patch.MPQ

| \/ |__ _| \| |/ __|/ _ \/ __|

| |\/| / _` | .` | (_ | (_) \__ \

|_| |_\__,_|_|\_|\___|\___/|___/

DBC Extractor & Map Generator for MaNGOSTwo

________________________________________________

________________________________________________

For help and support please visit:

Website / Forum / Wiki: getMaNGOS | The home of MaNGOS - Home

________________________________________________

Detected locale: enUS

Opening ./Data/enUS/locale-enUS.MPQ

Opening ./Data/enUS/patch-enUS.MPQ

Opening ./Data/enUS/patch-enUS-2.MPQ

Opening ./Data/enUS/patch-enUS-3.MPQ

Detected client build: 12340

___________________________________

Extracting client database files...

Extracted 246 files

Using locale: enUS

Opening ./Data/enUS/locale-enUS.MPQ

Opening ./Data/enUS/patch-enUS.MPQ

Opening ./Data/enUS/patch-enUS-2.MPQ

Opening ./Data/enUS/patch-enUS-3.MPQ

Opening ./Data/common.MPQ

Error opening archive './Data/common.MPQ': Does file really exist?

Opening ./Data/common-2.MPQ

Opening ./Data/lichking.MPQ

Error opening archive './Data/lichking.MPQ': Does file really exist?

Opening ./Data/expansion.MPQ

Opening ./Data/patch.MPQ

Error opening archive './Data/patch.MPQ': Does file really exist?

Opening ./Data/patch-2.MPQ

Opening ./Data/patch-3.MPQ

Extracting maps...

They are all present in the 'Data' directory of the client. It then successfully extracts 3750 maps - when I run the ./mangosd it errors stating still maps missing. I do know the maps that it extracts are working and accessable as it asks for 0004331.map originally and then for 6092742.map after

I then attempted to run the extractors on the client on my Windows system with the tools found in the 'downloads' section for Mangos Two Rel21 (from August 2015) and it worked successfully and it extracted 5744 maps. When I copy these maps over it rejects them as coming from an incompatible extractor version.

I have already tried replacing the MPQ files that will not load in case they were some how corrupted and it made no difference.

Am I missing something basic?

Any help would be appreciated

Thanks

Zander

9 answers to this question

Recommended Posts

Posted

It is barely a helpful hint, but check the file names (they are case-sensitive under Linux, so create the softlink for other extension character case just to be sure) and permissions (ls -l). No other idea comes in mind yet.

Posted

Unfortunately that was the first thing I did, and I checked permissions to make sure there was not some issue there...

I have tried using the MangosTwo_Develop21_Release_x32_August2015 extraction resources (in case it was not obvious above this is what I used to extract them on my window computer, which it stated was an incompatible version of maps) on my Linux computer and it just errors all over the place and quits (I knew it wouldn't work but was trying a last ditch effort)

Posted

Could you try building mangos from the source code as the 'download' packs are normally out of date almost as soon as they are released.

I know there have been a variety of fixes made to the extractors of Zero - Two in recent weeks.

Posted

To clarify:

The error shown in my first post above is when I use the extraction tools that build into (wow server)/bin/tools when the "cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mangos-server make make install" are run in the '(mangos)/server/build'

Which I got by: git clone.... mangostwo/server.git -b develop21

I used these as the section on Extracting the game assets for Linux seems old and did not work as there is no '~/server/contrib/extractor' location and the 'ad' file seems to have been replaced by the 'map-extractor.'

Anyways I could not seem to get it to work as the files it tells you to use are not there.

**************

I have also attempted a server install of Builds One(Rel21) and Zero(Rel21).

On MangosOne(BC) I got an extremely similar error where the extraction tools would not open 'common.MPQ' and therefore did not extract all the maps.

MangosZero - everything went smooth and I have an active server again.

This makes me think there might be some issues with the extractors for MangosOne/Two since it works fine with Zero.

Oh, PS: I found some error in the 'database/World/Setup/mangosdCreateDB.sql' where the databases created have numbers after them (Like someone was setting up multiple servers on same system in originals). These are on all three builds that I checked (Zero/One/Two) so builds sql databases 'mangos0' (or mangos1/2 on other builds) instead of mangos, and 'chatacer0' instead of 'characters'

Someone with access might want to clean that up

And the wiki guide is wrong on Debian-based distributions

It says:

mysql -u root -p realmd < /home/mangos/database/Realm/Setup/realmdCreateDB.sql

mysql -u root -p characters < /home/mangos/database/Character/Setup/characterCreateDB.sql

mysql -u root -p mangos < /home/mangos/database/World/Setup/mangosdCreateDB.sql

Should say:

mysql -u root -p < /home/mangos/database/Realm/Setup/realmdCreateDB.sql

mysql -u root -p < /home/mangos/database/Character/Setup/characterCreateDB.sql

mysql -u root -p < /home/mangos/database/World/Setup/mangosdCreateDB.sql

thanks

Zander

Posted

No one has any ideas?

To sum up:

I am building Mangos using the source code on the Rel21 versions.

I have no issues building a Zero version (running smooth)

On versions One and Two when attempting to extract resources the program fails to load all the .MPQ files and therefore does not make all the maps. (common.MPQ on One, multiple on Two - see first post)

All the .MPQ files are present with proper names and permissions

The clients are clean installed from original disks and patched to top update of each version (not from torrent)

This is on a Linux Mint 17.1 system

***

Extra Question:

Does anyone have an updated set of the windows extraction tools for MangosTwo so I could try those on my other computer and then just copy over (they don't seem to build on the linux system, and I don't have the supporting software to build them on my windows computer)

I have an old set and it extracts everything I need, then they just aren't compatible

Posted

I'm sorry you haven't received an answer till now, I'm not currently at home nor do I ever use the Linux extractors, however I'll definitely hook you up with the windows tools when I get home.

Posted

I have finally been able to get Visual Studios working right (for some reason it wasn't installing everything and causing errors - long story short I have it working now) and was able to create the extractor tools for windows, extracted the maps on windows and copied them over to my linux system and it seems like it's working

So resolved for me (as I bypassed the problem) - though one issue remains - Linux extractor tools don't work for Mangos-One/Two

Posted

Sorry that I didn't reply back, I have been sick for the past week and completely forgot unfortunately. I'm glad it's sorted for you, would you mind opening an issue tracker post for the Linux version of the tools, as well as relevant information like your distro, platform, ace version etc?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use