PDA

View Full Version : (Share){Ultimate Tutorial} Compiling ArcEmu and Emu's



Noblebeastx
17-03-10, 10:00 PM
All Text that is in green is optional
everything that is in Red is essential

Visual Studio C++ 2008 (http://www.microsoft.com/express/Downloads/) When it comes to registering this you must use either Firefox or Internet Explorer. Why? because with Safari the Registering page doesn't open for some reason. YOU MUST USE 2008 NOT 2010 BETA 2 (doesn't work for me, i might just be doing something wrong)
Tourtoise SVN (http://tortoisesvn.net/downloads) This is the program that downloads ArcEmu and the database.

Ok now were Ready to start http://www.ac-web.org/forum/venise/smilies/smile.gif

Firstly make 3 folders on your Desktop, call them 'ArcEmu' 'Repack' and 'Database' (if your compiling Realion there's no need for the 'Database' folder if your going to use Light Hope DB)

Next Right click the folder ArcEmu and then Click SVN Checkout (addressees are below). that is about 90mb of size. a window will open and it will show you what is downloading at that precise time.


Quote:
svn://arcemu.info/svn/
^ArcEmu

Quote:
http://svn.xp-dev.com/svn/realionsvn/ (http://svn.xp-dev.com/svn/realionsvn/)
^Realion

Quote:
http://netheremu.svn.beanstalkapp.com/netheremu/ (http://netheremu.svn.beanstalkapp.com/netheremu/)
^NetherEmu

Quote:
http://svn2.assembla.com/svn/ShyEMU/ (http://svn2.assembla.com/svn/ShyEMU/)
^ShyEmu


http://i46.tinypic.com/29cq9l2.jpg

While the ArcEmu core is downloading you can download the 'Server' folder that can be downloaded
Here (http://filebeam.com/e6707ea2438ba7b610121ca9b7df9f64) (i don't take any credit for it, i don't know who does http://www.ac-web.org/forum/venise/smilies/frown.gif) extract that into the 'Repack' folder.

you can edit the text in 'MySQL.bat' by right clicking it and pressing edit. thought i might say that http://www.ac-web.org/forum/venise/smilies/smile.gif

Start MySQL.bat and connect to the database with HeidiSQL, Navicat or any other program like it. make 3 new databases
'Logon'
'World'
'Character'

^ We'll come back to that later http://www.ac-web.org/forum/venise/smilies/smile.gif

Hopefully ArcEmu has finished downloading (probably not, lol)
When it has finished go to


Code:
ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\lib
copy all the files that are in there
and then paste them in the address below

Code:
C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
do the same for include

Code:
ArcEmu\Trunk\Extra's\arcemu-windows-libraries\VC\include
copy all those files and paste them into

Code:
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
now that is done go to.

Code:
C:\Users\User\Desktop\Emu\trunk\win
and start

Quote:
arcemuVC90 - All Projects
visual studio C++ will open now. there will be 15 projects total. at the top there will be 2 drop down menu's (look at picture) once you have changed them (for those with 64-bit make your second drop down menu and click 'x64' (i tried compiling 64-bit, didn't work for me, don't know why so don't ask)
then right click what is highlighted and click 'Build Solution' (look at picture)
The compile will end once it gets to around line 440 (look at picture, bottom right)

http://i46.tinypic.com/v6om5k.jpg

Now the compiling has started there is some other stuff that you can be doing

go into the 'Repack' folder and make a new folder called 'configs' then go to

Code:
C:\Users\User\Desktop\Emu\trunk\configs
and copy all the files (and tips if you want)
and paste them into the 'configs' folder in the 'Repack' folder.
There is some editing to be done in 'World.conf and logon.conf

you will see that in logon.conf at the top it will say this

Quote:
<LogonDatabase Hostname = "host"
Username = "user"
Password = "pass"
Name = "dbname"
Port = "3306"
Type = "1">
change it to this


Quote:
<LogonDatabase Hostname = "localhost"
Username = "root"
Password = "ascent"
Name = "logon"
Port = "3306"
Type = "1">
open up world.conf You will notice at the top, this.


Quote:
<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">
Change it to this


Quote:
<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">
save all the files.

Now right click the folder 'Database' and click SVN Checkout.
Download whatever DB you wish http://www.ac-web.org/forum/venise/smilies/smile.gif Once it has finished open the importer tool. Now see the picture below for what to put in the Batch file.

http://i49.tinypic.com/noiyr5.jpg

As i said we would go back to the bit about 'Logon' 'Character' and 'World'

go to


Quote:
C:\Users\User\Desktop\ArcEmu\trunk\sql
At the bottom there will be 3 SQL files. Logon, Character and World structure. Now that you have imported the DB there is no need for the 'World' Structure SQL to be imported. Open the two remaining SQL files with HeidiSQl or whatever you use. (any errors use Navicat and select execute without errors)

When the compile has finished it should say 15 successful.
Depending on what computer requires. go to


Code:
C:\Users\User\Desktop\ArcEmu\trunk\bin
One of the 4 folders will be full of what a repack will look like (apart from 10-12 unnecessary files) copy everything and paste it into the 'Repack' folder.

the 'DBC' folder will have no dbc files in it, just copy and paste them from some other repack with the same client/patch that you compiled.







This is a share and if u cant say any thing helpful, or nice plz dont psot at all enless ure a mod or admin thank you

I have also tested this twice and both times it has worked for me so if u have any issues plz jsut ask

StickyIcky
17-03-10, 11:42 PM
Credits?

Noblebeastx
18-03-10, 06:22 AM
i don't take any credit for it, i don't know who does is what i said