Twist Gaming
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Tutorial] How to compile ArcEmu and cores based of it

+4
Lewis
roketman3026
Blachex
Moggie
8 posters

Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Thu Jul 15, 2010 8:58 am

Hello!

Today we are going to learn how to compile your very own core Smile

First of all, we will start with the required things to have installed and ready on your computer:
* Microsoft Visual C++ 2010
* Tortoise SVN
* .NET Framework 4.0

Now, we'll continue

Note: The text in bold is required. The text in italic is optional.

Let's start off then!

First: Make 3 folders on your desktop (or anywhere else) called "ArcEmu", "Database" and "Repack".

Now, right click on the "ArcEmu" folder and choose "SVN Checkout"
URL of Repository: [You must be registered and logged in to see this link.]

It will take some time to download, so here's some things to do meanwhile.
Now, download the "Server" folder,[You must be registered and logged in to see this link.]
Extract that into the "Repack" folder.

Start "Mysql(.bat)" and connect to the database with any SQL-program (eg. HeidiSQL, Navicat, SQLyog)
(If you want to edit the text in Mysql(.bat), right click it and choose "edit".)
Make 3 databases, called logon, world and character.
We will come back to this later.

Now, hopefully, ArcEmu has finished downloading... If not, you'll have to wait untill it finishes.
When it has finished, go to: ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\lib
Copy all the files that are in there, and paste them into the following folder: C:\Program Files\Microsoft Visual Studio 10.0\VC\lib

Do the same thing for "include":
ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\include
Copy all the files to
C:\Program Files\Microsoft Visual Studio 10.0\VC\include


Now, go to: C:\Users\User\Desktop\Emu\trunk\win
Start "arcemuVC100 - All Projects ".
Visual Studio C++ 2010 will open up now, and there will be 15 projects total. At the top, there are 2 drop down menu's.
In the first menu, make sure it stands on "Release". The second on depends on your system, if you have x32, make it Win32, if you have x64, make it Win64.

Now, right-click on the Solution arcemuVC100... and choose "Build Solution"
The program will now start building a solution. You should end up with this at the bottom:
========== Build: 15 succeeded, 0 failed, 0 up-to-date, 0 skipped ====================

The compiling has started, and can take some while, so here's what you can do meanwhile:
Go into the "Repack" folder, and make a folder called "configs".
Then go to C:\Users\User\Desktop\Emu\trunk\configs
and copy all the files in there, to your "configs" folder in the "Repack" folder (\Repack\configs).
You will need to edit some things in the "world" and "logon".conf

Change the following in the world.conf:
Code:
<WorldDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1">

to this:

Code:
<WorldDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "world" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "character" Port = "3306" Type = "1">

Logon.conf: change the following:
Code:
<LogonDatabase Hostname = "host"
Username = "user"
Password = "pass"
Name = "dbname"
Port = "3306"
Type = "1">

to this:

Code:
<LogonDatabase Hostname = "localhost"
Username = "root"
Password = "ascent"
Name = "logon"
Port = "3306"
Type = "1">

Save the files, and close them.

Next; Right-click on the folder database, and choose "SVN Checkout".
Download any DB you want (i would recommend WhyDB, LHDB, IFDB.If you want, you can use the ArcEmu DB too.. Links: Google)

Now let's get back to the "logon, world and character" databases.
Go to: C:\Users\User\Desktop\ArcEmu\trunk\sql
At the bottom there will be 3 SQL files. Logon, Character and World structure.

(If you have already imported a world DB, do not import the world structure from ArcEmu. If you haven't imported any world db, and want to use ArcEmu's db, import it too).

Import logon, character (and world, if you haven't already imported another world DB)
If you get any errors while importing, use Navicat (dont stop at errors).
--
When the compile has finished, it should say 15 Successful. If not, reply on this thread.

Now go to: C:\Users\User\Desktop\ArcEmu\trunk\bin

One of the 4 folders will be full of what a repack will look like
Copy everything and paste it into the 'Repack' folder.

The "DBC" folder will have no DBC files in it. Copy them from a repack with the same client/patch as yours, or get a DBC-extractor.

The DLL files:
Go to:
C:\Users\User\Desktop\ArcEmu\extras\arcemu-windows-libraries

There are 4 folders altogether, two of which have been previously been used while compiling.
The two folders are "DLL Files" and "DLL Files (x64)".
32bit Computers = DLL Files- folder
64bit Computers = DLL Files (x64)- folder
Click the folder that suits your computer needs and paste the files from the DLL/DLL x64 into: Repack\ArcEmu

Lastly change this in logon.conf:
Code:
 <LogonServer RemotePassword = "change_me_logon"
to this
Code:
<LogonServer RemotePassword = "Ascent"

and in world.conf, this:
Code:
<LogonServer DisablePings = "0"
RemotePassword = "change_me_world">

to this:

Code:
<LogonServer DisablePings = "0"
RemotePassword = "Ascent">

Now close and save both files.

And that should be it Smile

Congratulations!

Any question, PM me or reply to this thread.


Moggie


Last edited by Moggie on Wed Jul 21, 2010 8:34 am; edited 4 times in total (Reason for editing : fixed some things not showing up in the post ([CODE]))
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Blachex Thu Jul 15, 2010 3:53 pm

I hate compiling , but gj with the tutorial Smile
Blachex
Blachex
TwistGaming Admin
TwistGaming Admin

Posts Posts : 375
Location Location : Romania
Reputation Reputation : 38
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Thu Jul 15, 2010 10:15 pm

ty Smile

it took 30 minutes to make. Hope its useful for you all Very Happy

Compiling can be a real pain, yes. But since i release repacks, im used to it by now.
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  roketman3026 Fri Jul 16, 2010 7:16 pm

one question....where do i put my dll files
because i really dont understand the last part
roketman3026
roketman3026
Veteran
Veteran

Posts Posts : 70
Location Location : waseca,Minnesota USA
Reputation Reputation : 1
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sat Jul 17, 2010 5:58 am

sry, forgot to write that, editing ^^
will be done in a moment

EDIT: added info into the tutorial Smile
(you should place the files in the Repack/ArcEmu folder)

(Also: warning, double-post. made it to one post)
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Lewis Sun Jul 18, 2010 12:57 am

Very nice tutorial Moggie, I give you rep for that.

Lewis
Lewis
Lewis
TwistGaming Admin
TwistGaming Admin

Posts Posts : 198
Location Location : United Kingdom
Reputation Reputation : 26
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.TwistGaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sun Jul 18, 2010 6:23 am

Lewis wrote:Very nice tutorial Moggie, I give you rep for that.

Lewis

Thank you very much Smile
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Patter123 Tue Jul 20, 2010 8:42 pm

Fucking amazing one, really good tutorial. 10/10
Patter123
Patter123
Member
Member

Posts Posts : 2
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Patter123 Tue Jul 20, 2010 9:29 pm

ahhh bah, all was perfect just to SVN Check Out on the ArcEmu, it downloaded fine until the 2 lastes files, there there stood Error Folder is damaged and cant be read.

Any help??
Patter123
Patter123
Member
Member

Posts Posts : 2
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Wed Jul 21, 2010 12:37 am

Try making a new folder and repeat the progress.
Also make sure you've got enough space on your computer (minimum 300mb for the SVN checkout, and 3-4gb for all compiling files)
Pm'd you, also.
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Wed Jul 21, 2010 8:36 am

edited, some codes weren't showing up. Now they do, so Fixed Very Happy
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  suilles Sun Jul 25, 2010 4:47 am

i dont have the required to make a server but how can i get them

* Microsoft Visual C++ 2010
* Tortoise SVN
* .NET Framework 4.0
help?
suilles
suilles
Member
Member

Posts Posts : 1
Location Location : belguim menen
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Mon Jul 26, 2010 1:12 am

[You must be registered and logged in to see this link.]
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  roketman3026 Tue Jul 27, 2010 12:29 am

sigh~ if i new my scripting then of course id try making my own core and server but f*** everyone says u gotta know this u gotta know that lol
roketman3026
roketman3026
Veteran
Veteran

Posts Posts : 70
Location Location : waseca,Minnesota USA
Reputation Reputation : 1
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Tue Jul 27, 2010 8:46 am

Going to add pictures to the tutorial soon Smile
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  bandaid Sun Aug 08, 2010 6:56 am

Moggie wrote:
The "DBC" folder will have no DBC files in it. Copy them from a repack with the same client/patch as yours, or get a DBC-extractor.

The DLL files:
Go to:
C:\Users\User\Desktop\ArcEmu\extras\arcemu-windows-libraries
Moggie[/b]

Well, I made it up to here. I don't know where I would get a repack the same as my Warcraft client. (3.3.5 v12340) . I have version 3599(ArcEmu) and I used WhyDB for the database. Any suggestions on a repack?
bandaid
bandaid
Member
Member

Posts Posts : 4
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sun Aug 08, 2010 6:57 am

You could use a regular map extractor, i think most of them generate a dbc folder too, am i right?
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  bandaid Sun Aug 08, 2010 7:00 am

Where would I grab one?
bandaid
bandaid
Member
Member

Posts Posts : 4
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sun Aug 08, 2010 7:15 am

I can upload one for you, 2 sec. ill post download link Wink
EDIT: [You must be registered and logged in to see this link.]
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  bandaid Sun Aug 08, 2010 7:29 am

Even though it's going to take a while, I got it extracting. I actually had one from Johved's Repack but it was from an earlier version. I didn't know if it would work or not.

So, once it's all extracted, I put the "Maps" folder into the dbc folder inside the repack folder, correct?
bandaid
bandaid
Member
Member

Posts Posts : 4
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sun Aug 08, 2010 7:50 am

No, you should get a "Maps" and a "DBC" folder there in your wow folder.
Copy the dbc into your repack, and the maps (maps are not necessary).
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  bandaid Sun Aug 08, 2010 8:28 am

There wasn't any DBC that showed up into my Warcraft folder.
bandaid
bandaid
Member
Member

Posts Posts : 4
Reputation Reputation : 0

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Moggie Sun Aug 08, 2010 11:16 pm

Ill get a dbc extractor for you..
In the meanwhile, try searching for a 3.3.5a repack (like lord-kings if im right?) and copy the dbc's from there Smile
Moggie
Moggie
Super Moderator
Super Moderator

Posts Posts : 125
Location Location : Sweden
Reputation Reputation : 13
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

http://www.twistgaming.com

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  2yomama1994 Thu Aug 12, 2010 1:54 am

server download doesnt work
2yomama1994
2yomama1994
Member
Member

Posts Posts : 1
Reputation Reputation : 0
Warning : [Tutorial] How to compile ArcEmu and cores based of it Warnba10

Back to top Go down

[Tutorial] How to compile ArcEmu and cores based of it Empty Re: [Tutorial] How to compile ArcEmu and cores based of it

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum