// List MPQ for extract from
const char *CONF_mpq_list[]={
"common.MPQ",
"common-2.MPQ",
"lichking.MPQ",
"expansion.MPQ",
"patch.MPQ",
"patch-2.MPQ",
"patch-3.MPQ",
"patch-4.MPQ",
"patch-5.MPQ",
};
Hi all,
i have 5 custom mpq with maps, these mpqs doesnt have listfile.
I edited mapextractor to read these mpqs but i dont know how to edit vmap extractor to load these files too..
Anyone can give any tip on the procedure?
THanks ED
// open locale expansion and common files
printf("Adding data files from locale directories.\n");
for (std::vector<std::string>::iterator i = locales.begin(); i != locales.end(); ++i)
{
pArchiveNames.push_back(in_path + *i + "/locale-" + *i + ".MPQ");
pArchiveNames.push_back(in_path + *i + "/expansion-locale-" + *i + ".MPQ");
pArchiveNames.push_back(in_path + *i + "/lichking-locale-" + *i + ".MPQ");
}
// open expansion and common files
pArchiveNames.push_back(input_path + std::string("common.MPQ"));
pArchiveNames.push_back(input_path + std::string("common-2.MPQ"));
pArchiveNames.push_back(input_path + std::string("expansion.MPQ"));
pArchiveNames.push_back(input_path + std::string("lichking.MPQ"));
hmm I did find something in src\tools\vmap4_extractor\vmapexport.cpp,
it looks like another patch list :
Code:// open locale expansion and common files printf("Adding data files from locale directories.\n"); for (std::vector<std::string>::iterator i = locales.begin(); i != locales.end(); ++i) { pArchiveNames.push_back(in_path + *i + "/locale-" + *i + ".MPQ"); pArchiveNames.push_back(in_path + *i + "/expansion-locale-" + *i + ".MPQ"); pArchiveNames.push_back(in_path + *i + "/lichking-locale-" + *i + ".MPQ"); } // open expansion and common files pArchiveNames.push_back(input_path + std::string("common.MPQ")); pArchiveNames.push_back(input_path + std::string("common-2.MPQ")); pArchiveNames.push_back(input_path + std::string("expansion.MPQ")); pArchiveNames.push_back(input_path + std::string("lichking.MPQ"));
https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/tools/vmap4_extractor/vmapexport.cpp#L330
I also have this tool that will just run ALL the maps,vmaps and mmaps tools so you don't have to do anything until its all done:
https://github.com/BlackWolfsDen/Toolz/blob/master/Make_ALL_Maps.bat
you just start it and walk away ,, walk away.