Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Chaya_1987 on February 17, 2016, 03:27:57 pm

Title: [C++] [WotLk] How to modify the source ?!
Post by: Chaya_1987 on February 17, 2016, 03:27:57 pm
Hello,

i read many about the vmaps and mmaps. Both extractors ignore actual the custom maps. I need one people who can tell us what files we need to modify and which exactly we have to do that this will work.

Thanks i hope support for that is given.
Title: Re: [C++] [WotLk] How to modify the source ?!
Post by: Amaroth on February 17, 2016, 09:50:49 pm
You can remake extractors, sure, or you can add your DBCs into patch-enGB-3.mpq and all your data into patch-3.mpq. Making backups of both before editing them should be quite obvious thing to do. More info here:
viewtopic.php?f=22&t=8652&p=41609 (http://modcraft.io/viewtopic.php?f=22&t=8652&p=41609" onclick="window.open(this.href);return false;)

Btw, you don't have to use that edited extractor there. In fact, I can't recommend doing so, because its getting outdated.
Title: Re: [C++] [WotLk] How to modify the source ?!
Post by: Chaya_1987 on February 18, 2016, 02:10:05 am
Quote from: "Amaroth"
You can remake extractors, sure, or you can add your DBCs into patch-enGB-3.mpq and all your data into patch-3.mpq. Making backups of both before editing them should be quite obvious thing to do. More info here:
viewtopic.php?f=22&t=8652&p=41609 (http://modcraft.io/viewtopic.php?f=22&t=8652&p=41609" onclick="window.open(this.href);return false;)

Btw, you don't have to use that edited extractor there. In fact, I can't recommend doing so, because its getting outdated.

I am only interesting to do it with modded extractor, i do not touch the blizzard mpq files that is not an option.
Title: Re: [C++] [WotLk] How to modify the source ?!
Post by: Amaroth on February 18, 2016, 10:54:26 am
Creating their backup and using their edited versions (or creating whole new client just for extracting) is an option. As simple as that.
Title: Re: [C++] [WotLk] How to modify the source ?!
Post by: Ascathos on March 06, 2016, 11:31:07 pm
There is a loadup for the files in data.

https://github.com/TrinityCore/TrinityC ... t.cpp#L292 (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/tools/vmap4_extractor/vmapexport.cpp#L292" onclick="window.open(this.href);return false;)

Loads all files automatically. However, with
Code: [Select]
pArchiveNames.push_back(input_path + std::string("lichking.MPQ"));You can make sure custom mpqs are loaded up.

https://github.com/TrinityCore/TrinityC ... em.cpp#L74 (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/tools/map_extractor/System.cpp#L74" onclick="window.open(this.href);return false;)

Takes custom patches into account if they are patch-3 or similar. However, you can add new ones here.