Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Getting started the WoTtLK tutorial => Topic started by: Steff on November 26, 2012, 01:00:52 pm

Title: 05 - Create First MPQ Patch and Get Ingame
Post by: Steff on November 26, 2012, 01:00:52 pm

Create MPQ from Folder



Now we have everything done and want to have it ingame.
First we have to pack all of our files into an MPQ archive for the client.

I use MPQEdit 1.1 to pack stuff 'cause "less clicks to result" :)

On first startup.

>> Open MPQEdit1.1
>> Select MENU > Tools > Options
>> Set working directory and file list path to your project folder. In my case:

F:WoWModdingProjectsTutorialProjectpatch

>> Hit ok


Now to build the patch you have to do the following.

>> Open MPQEdit1.1
>> Select MENU > Operations > Build MPQ from directory

(http://modcraft.io/tutorial_images/MPQEdit.jpg)

>> In next window select the paths like you see in the next image fitting to your harddrive.

(http://modcraft.io/tutorial_images/MPQEditPath.jpg)

>> Press the create button. MPQEdit will now pack all your folders and files inside of the patch to the patch-4.MPQ file in your test client folder.

Add DBC´s to the Server



To be able to login and teleport to your map you need to add the DBC's to the server as well.

>> First make a backup copy of the servers DBC folder.

F:WoWModdingTrinityServerServerDBC

>> Then copy the DBC's from your project folder to the server DBC folder

From:
F:WoWModdingProjectsTutorialProjectpatchDBFilesClient

To:
F:WoWModdingTrinityServerServerDBC

>> Start the server and look if it is comming up.

Get Ingame



There is a function in noggit to quickly get the teleport commands for your map.

>> Open up noggit and load your testmap01
>> Press G inside of noggit
>> Close noggit again
>> Open the file:

F:WoWModdingToolsNoggitSDLports.txt

You will find one or more entries like this. Newest one on bottom.

Code: [Select]
Map: Duskwood: The Cemetary on ADT 32 32

Trinity:
.go -131.049 -107.969 6.71927 801

ArcEmu:
.worldport 801 -131.049 -107.969 6.71927

>> Copy the last teleport command fitting to your server. For me Trinity.
>> Start clientTest and login.
>> Create character and after loading of the starting zone get into chat and paste the port command and hit return.

The client should now load your map on the location noggit saved.

(http://modcraft.io/tutorial_images/Ingame.jpg)

This guide has been completely proof-read and corrected in grammar by Mountainlion. Feel free to message him.


06 - Texturing with the predefined 4 layer system (http://modcraft.io/viewtopic.php?f=78&t=3612)
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Lion-WoW on March 08, 2014, 08:53:23 pm
What about those who are with ArcEmu? I can't add this test01 continent hours X_X
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Jøk3r on March 09, 2014, 08:44:28 am
This tutorial is for Trinity. In the thurd part you have to make a trinity servee
r^^
But in arcemu you have to add the map to a specific table 'worldblahblah' Cant remember the right name.
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on March 09, 2014, 02:09:16 pm
If you start new swktch to trinity.
Arcemu develolment is dead for nearly 2 years.
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Lion-WoW on March 16, 2014, 01:47:52 pm
I am working on a edited arcemu server.... We are working from a year and half on the core and we have rewritten almost 80% of the whole code, I am never changing to TrinityCore, since our core is a lot more stable and funserver-friendly than trinitycore. Is it so hard to just tell me the table name? I tried with worldmap_info but nothing happened.
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Milly on March 16, 2014, 08:21:39 pm
Steff doesn't use Arcemu so why would he know more about it than you, who re-wrote 80% of the code ;)
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on March 17, 2014, 06:48:58 am
Some forum search can help
viewtopic.php?f=22&t=255 (http://modcraft.io/viewtopic.php?f=22&t=255" onclick="window.open(this.href);return false;)
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Cobas on May 27, 2014, 01:27:48 am
When iam Port to my test1 area i got a wow.exe error. Everytime when iam in the login screen i get this error....
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on May 27, 2014, 07:15:18 am
What error?
With a new installed envkronment?
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Alastor on May 27, 2014, 01:52:52 pm
Also Don't forget on Comprimation that have MPQ on High LvL
I Personally had Patch (not in MPQ just in folder) that have
- 2GB (Folder)
with right Comprimation Rules Result was
- 1,3GB (MPQ)
( I used MPQEdit3.2 )
(http://i.imgur.com/i0DYd76.png)
(http://i.imgur.com/Jvo0eya.png)
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Doronamo on September 05, 2014, 02:21:25 am
I'm on wotlk 335a, and I remember you used to not need to do anything to the server as long as you have the modified patch in your client.

Is this still possible? If I'm on a 335a wotlk server is it still possible to get custom continents? Because I'm trying to .go and the 'target map or coordinates is invalid'. Did I do something wrong, or is it just not possible without adding stuff to the server?
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on September 05, 2014, 06:57:39 am
Custom maps ways needed server changes.  In the case of trinity the dbcs hold the map data.  So you must update them and restart server.  And you also need to create the maps later to get the map fully working.
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: wilco900 on January 02, 2015, 07:38:28 pm
Were to download MPQ editor 1.1, I can't seem to find a link and I cant get the 3.x to work. :c
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on January 30, 2015, 06:56:57 am
Just folow the guide from start. The larts build on each other till a point.
Part 2 ks what you need.
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: t1on on March 13, 2015, 01:52:50 pm
That's one awesome tutorial! :)
Title: Re: 05 - Create first MPQ patch and get ingame
Post by: Steff on March 20, 2015, 07:38:19 am
Thanks :)
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Yandrack15 on September 30, 2016, 03:15:40 pm
Hey ther,

I know this is a bit old. But I hope u can help me.
When ever I try to put my noggit changes into the Test server using the guide. I get a problem.
When i log into the test server and wanna check out how it look's like it's just the same a bevor. Like nothing happend. I didin't do the Island think, just changed a village a bit so it looks somewhat nicer-
But the Testserver is like "no changes". When I get back into Noggit the changes are ther. I went up and down on your guide (nice job) but no Idea what i can do.
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Steff on October 10, 2016, 06:08:06 am
Put a screenshot here from your opend MPQ file in MPQEdit and how is this MPQ file named and where is it located in your client?
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Yandrack15 on October 14, 2016, 02:43:21 pm
Ok. I hope you mean this
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Steff on October 26, 2016, 10:07:58 am
What is in azeroth folder?
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: sanyi777 on November 21, 2016, 09:28:37 am
[attachment=0:1u6pndrp]WoWScrnShot_112116_092722.jpg[/attachment:1u6pndrp]Hey, nice tutorial, I'm trying to go along with it, but I have a problem.

Whenever I go to the island in game I don't have water, and the swapped texture is bright green, and not like the brownish grass style at all.

How can I fix these problems?
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Magnus on December 10, 2016, 09:43:24 am
About the green texture:

If you have swaped the texture it looks for me that you may swaped it into a very old texture.

The old textures are still existing but missing specular map for reflecting lights. Newer clients render them just in green. In this forum you will find some tutorials how to create your own texture file including specular map. However I don't recommend that because most of the textures are in small 128x128 pixel resolution which look really very old fashioned.
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Amaroth on December 10, 2016, 01:08:22 pm
To test if Magnus is right, try to turn out a specular lighting in graphics settings. If green texture disappears, its _s texture missing. If your textures will be green even with specular lighting turned off, texture you have used is missing in MPQs of your game client.

If a specular mapping is your kind of problem, either use another one (recommended), or check this:
viewtopic.php?f=21&t=9009 (http://modcraft.io/viewtopic.php?f=21&t=9009" onclick="window.open(this.href);return false;)
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Yandrack15 on December 28, 2016, 11:30:59 pm
Sorry, for not posting. Had some probs at home.
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Steff on December 28, 2016, 11:56:35 pm
And you put the mpq inside your wow data folder?
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Yandrack15 on December 29, 2016, 12:37:25 am
Yeah, I even watched it apear in the Data folder.
Title: Re: 05 - Create First MPQ Patch and Get Ingame
Post by: Steff on December 29, 2016, 08:48:49 am
If there is no patch-5 or heigher that overwrites yours.#I have to look with teamviewer
Add me on skype: project.modcraft