DISCLAIMER: I, ARCEMU, NOR MMOWNED IS RESPONSIBLE FOR WHAT YOU DO FOLLOWING THIS GUIDE. IF YOU, AT ANY POINT DO NOT FEEL THAT IT IS IN YOU INTEREST TO CONTINUE, PLEASE PRESS "CONTROL-C" TO SAFELY SHUTDOWN ANY TERMINAL OPERATIONS THAT ARE OCCURRING. THIS GUIDE HAS BEEN TESTED MULTIPLE TIMES BY ME AND THE MAC COMMUNITY. THIS DOES NOT MEAN IT IS 100% BUG-FREE!!
-------------
Summary
-------------
In this tutorial I will explain how to obtain and safely run a Arcemu 3.x.
There are two options: Arcemux (currently only supporting 3.3.2) or my guide on compiling the 3.3.2 source (which can be updated and configured to your standards).
-----------------------
Option 1: Arcemux
-----------------------
Requirements: Mac OS X Snow Leopard 10.6.1
Time Required: ~ 20-30 minutes
Versions supported: 3.3.2
Difficulty: Newbie-Medium
Download it here.
This option is Newbie friendly because it gives excellent support,
multi-language databases and direct downloads.
It even compiles it for you and extracts all the files and puts them in your /Arcemu/ directory.
----------------------
Option 2: Compile it yourself
----------------------
Requirements: Mac OS X Leopard 10.5 / Apple Developer Tools (2 GB) / Admin privileges for your computer (because some steps call for a "sudo" command; a powerful command forcing operations not allowed by normal means)
Time required: ~ 30-50 minutes
Versions supported: 3.0.1-3.3.2
Difficulty: Medium-Hard
Note: It is suggested that you copy and paste from this post into the terminal to avoid the risk of messing up your Mac (since you are playing around with the inner kernel and such ...no pressure!)
For those of you who believe that I copied this directly from the Arcemu Wiki, that is partially true, yet they have not updated their wiki since 2.4.3.
1. Open Terminal: /Applications/Utilities/Terminal.app
2. Type: You can cd to any directory, but we will be using this as our base for simplistic purposes.
3. Then type:
Code:
svn co svn://arcemu.info/svn/trunk
4. Give it about 3 minutes. You should have a directory on your desktop named "trunk" now.
5. We need to prepare Mysql now. If you do not have it, download it and install it here.
6. Type:
Code:
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
Note: This requires you to enter your administrative password to continue. You MUST be the administrator and have mysql installed on the administrative user, else you will not be able to continue.
7. If you get an error that says "ln: /var/mysql/mysql.sock: No such file or directory" do the following:
- type:
Code:
sudo mkdir /var/mysql
- Then:
Code:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
- then repeat step 6
8. Then export the following in your .bash_profile:
Code:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
9. Now close that window and open a new one. Type:
Code:
cd ~/desktop/trunk/
10. Then type: This prepares the code for compiling.
11. Download the PCRE Library:
Code:
http://sourceforge.net/project/showfiles.php?group_id=10194
12. Cd to the PCRE folder and type:
Code:
./configure --prefix=/usr/local
13. Then:
Code:
./configure --prefix=/usr/local
14. Then close the window and open a new one. Cd back to your source and type:
Code:
./configure --prefix=/arcemu/server--with-mysql=/usr/local/mysql/bin/mysql_config
15. Up until now has all been preparation for compiling the source. To optimize the code for compiling, type:
Code:
sh make_precompiled_header.sh
Please note that this will take about 10 minutes. DO NOT INTERRUPT!
16. Then type: - replace the # with the number of cores (+ 1) that you have free. The higher the number, the faster it will compile, but it will make you computer lag and you will not be able to run heavy applications such as games or emulators. Add 1 to the number of cores you'd like to use. So... "sudo make -j3" would mean that I'm using 2 cores.
This requires about 10 more minutes. Again, DO NOT INTERRUPT!
17. Now to finish off the process... Type: This requires around 10-20 minutes. DO NOT INTERRUPT!
18. In most cases, when it was compiling, it left out the part about establishing an etc directory under "/Arcemu/Server/"
Type the following to create that:
Code:
sudo mkdir /arcemu/server/etc
19. Then type:
Code:
sudo cp configs/*.conf /arcemu/server/etc/
This copies all the configuration files over to the etc folder
20. Download this. Place the folder in your "/Arcemu/Server/bin" directory.
Note: Maps are not needed unless you're running 40 man raids or want working battlegrounds
-------------------
Database Setup:
-------------------
1. Navigat to the directory: ~/Desktop/trunk/src/
2. You should see 3 files with the extension ".sql"
3. Download Sequel Pro - the best Mysql Manager out there (in my opinion).
5. Fill in your database's information.
6. Create a new database named "world"
7. Navigate to that database and then select the menu tab named "Query"
8. Go into you /trunk/src/ folder and open one of the .sql files. Then copy it into the Query and run it. This shouldn't take to long since there are only 3 sql files.
9. Go into accounts and create a new account.
10. Wahalh! You're good to go!
--------------------------------
Time to rev up that engine!
--------------------------------
Here's how you start it up each time...
1. Open up terminal
2. Type:
Code:
cd /arcemu/server/bin
3. Then:
Code:
./arcemu-logonserver
4. Press Command-T (⌘-T) to make a new tab and type:
Code:
cd /arcemu/server/bin
5. Then: Note: To safely shut it down at any time, simply type: - Replace the # with the seconds until shutdown. 1 meaning 1 second, 0 meaning instant. This will be echoed in game.
To force quit, press
Code:
Control-C DO NOT TYPE THIS! IT WILL DO NOTHING
The guide on the Arcemu wiki page is for 10.5.8. So I updated it for snow leopard. Yes, some things ARE different.
Please do not flame because I/we are mac users. I hate the whole "I'm better than you!" argument. Grow up and build your own PC or Mac ()
Need live help? AIM/iChat: [email protected]