MPQ components order

Technical Support topics will be moved here when they are Resolved.

Moderators: Oversight Staff, Processing Staff

WaterEnt
Resource Storage
Posts: 12
Joined: Mon Sep 02, 2013 3:53 pm

MPQ components order

Postby WaterEnt » Wed Apr 06, 2016 1:17 pm

Hi,

ENT and some other hosting bots fail to work with maps whose hash and block tables are positioned between header and the included files, albeit wc3 can read them.

User avatar
HazarDous
Staff Department
Posts: 9051
Joined: Mon Jan 12, 2015 9:36 pm
Has thanked: 70 times
Been thanked: 227 times

Re: MPQ components order

Postby HazarDous » Wed Apr 13, 2016 5:42 pm

@WaterEnt

Can you elaborate on your technical difficulty?

What's the issue exactly and how can we help you?

WaterEnt
Resource Storage
Posts: 12
Joined: Mon Sep 02, 2013 3:53 pm

Re: MPQ components order

Postby WaterEnt » Wed Apr 13, 2016 6:09 pm

I can try.

Warcraft III maps are mpq archives, the rough format is specified here (http://zezula.net/en/mpq/mpqformat.html). You can open a map file with Ladik's mpq editor (http://zezula.net/en/mpq/download.html) for instance, go >Tools >MPQ Tables to display all the components with their respective memory address. Normally the Hash Table and Block Table, which hold meta information about the to the archive added files and lookup stuff, are stored after the included files. However, we have some mpq editors/techniques that can produce a version where those tables come right after the header/before the files. While Wc3 generally accepts them, the ENT bots (ENT Link) seem to be troubled by it, it cannot create the game. So there has to be some mismatch between how the game reads a map and how your bots do. For reference see attached map.
Attachments
Forest_Defense_0.14x.w3x
(702.3 KiB) Downloaded 43 times

User avatar
aRt)Y
Protector of Nature
Posts: 13142
Joined: Fri May 03, 2013 9:15 pm
Has thanked: 10 times
Been thanked: 174 times
Contact:

Re: MPQ components order

Postby aRt)Y » Tue May 03, 2016 1:40 pm

Mostly the minority, afaik. And sounds more like something map developers should fix and not ENT.
    Information, Rules, Guides and everything else you need to know about ENT is on the ENT Wiki.
      Ignorantia juris non excusat • Quis custodiet ipsos custodes? • Fallacy of composition


Return to “Processed Support Cases”

Who is online

Users browsing this forum: No registered users and 26 guests