added bit about installing liblua5.1-0-dev package to provide lua.h

gpanula 2015-04-05 18:58:15 -05:00
parent 076cd63e9e
commit 642a0c2d2f

@ -21,29 +21,30 @@ Steps
8. `make` 8. `make`
9. If you get errors about CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found, then try `sudo apt-get install build-essential` 9. If you get errors about CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found, then try `sudo apt-get install build-essential`
10. If you get errors about Could NOT find PerlLibs (missing: PERL_LIBRARY), then try running ``cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` `` 10. If you get errors about Could NOT find PerlLibs (missing: PERL_LIBRARY), then try running ``cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` ``
11. Go to http://peqtgc.com/releases and download the peqbeta_ and quests_ files. 11. If you get errors about missing lua.h try `sudo apt-get install liblua5.1-0-dev`
12. The peqbeta archive contains SQL data that needs to be loaded into your database. 12. Go to http://peqtgc.com/releases and download the peqbeta_ and quests_ files.
13. The quests archive contains a quests folder that should be copied to your eqemu directory. 13. The peqbeta archive contains SQL data that needs to be loaded into your database.
14. Inside the quest folder are two folders called `lua_modules` and `plugins`. Move these to the root of your eqemu directory. 14. The quests archive contains a quests folder that should be copied to your eqemu directory.
15. Download the maps from Google Code. From your eqemu directory: `svn checkout http://eqemumaps.googlecode.com/svn/trunk/ .` 15. Inside the quest folder are two folders called `lua_modules` and `plugins`. Move these to the root of your eqemu directory.
16. Copy the default config file: `cp utils/defaults/eqemu_config.xml.full ./eqemu_config.xml` 16. Download the maps from Google Code. From your eqemu directory: `svn checkout http://eqemumaps.googlecode.com/svn/trunk/ .`
17. Create a database named `eq` and load the .sql files from the peqbeta_ archive into it. Also copy the eqtime.cfg file to the eqemu root directory 17. Copy the default config file: `cp utils/defaults/eqemu_config.xml.full ./eqemu_config.xml`
18. Create a user with privileges on `eq` and add the credentials to `eqemu_config.xml`. 18. Create a database named `eq` and load the .sql files from the peqbeta_ archive into it. Also copy the eqtime.cfg file to the eqemu root directory
19. Copy `eqtime.cfg` from the peqbeta_ archive into the eqemu root directory. 19. Create a user with privileges on `eq` and add the credentials to `eqemu_config.xml`.
20. Copy `spells_us.txt` from your Everquest installation into the eqemu root directory. 20. Copy `eqtime.cfg` from the peqbeta_ archive into the eqemu root directory.
21. Create the logs directory: `mkdir logs`. 21. Copy `spells_us.txt` from your Everquest installation into the eqemu root directory.
22. Create the logs directory: `mkdir logs`.
Copy default log.ini to eqemu root `cp utils/defaults/log.ini ./` Copy default log.ini to eqemu root `cp utils/defaults/log.ini ./`
22. Create the shared memory directory: `mkdir shared`. 23. Create the shared memory directory: `mkdir shared`.
23. Run `Bin/shared_memory` to populate the shared directory 24. Run `Bin/shared_memory` to populate the shared directory
24. Run `ln -s utils/patches/patch_RoF.conf patch_RoF.conf` in the eqemu root directory 25. Run `ln -s utils/patches/patch_RoF.conf patch_RoF.conf` in the eqemu root directory
25. Run `ln -s utils/patches/patch_SoD.conf patch_SoD.conf` in the eqemu root directory 26. Run `ln -s utils/patches/patch_SoD.conf patch_SoD.conf` in the eqemu root directory
26. Run `ln -s utils/patches/patch_SoF.conf patch_SoF.conf` in the eqemu root directory 27. Run `ln -s utils/patches/patch_SoF.conf patch_SoF.conf` in the eqemu root directory
27. Run `ln -s utils/patches/patch_Titanium.conf patch_Titanium.conf` in the eqemu root directory 28. Run `ln -s utils/patches/patch_Titanium.conf patch_Titanium.conf` in the eqemu root directory
28. Run `ln -s utils/patches/patch_Underfoot.conf patch_UF.conf` in the eqemu root directory 29. Run `ln -s utils/patches/patch_Underfoot.conf patch_UF.conf` in the eqemu root directory
29. Run `ln -s utils/defaults/mime.types mime.types` in the eqemu root directory 30. Run `ln -s utils/defaults/mime.types mime.types` in the eqemu root directory
30. Run `ln -s utils/defaults/templates/ templates` in the eqemu root directory. This is the magic that makes the HTTP service(default port 9080) work. 31. Run `ln -s utils/defaults/templates/ templates` in the eqemu root directory. This is the magic that makes the HTTP service(default port 9080) work.
31. Run `Bin/world` and wait for it to finish initializing. 32. Run `Bin/world` and wait for it to finish initializing.
32. Once the world server is running, open a new terminal window and run `Bin/eqlaunch zone`. If Bin/zone is not in your path, you can edit your eqemu_config.xml to include:<br /> 33. Once the world server is running, open a new terminal window and run `Bin/eqlaunch zone`. If Bin/zone is not in your path, you can edit your eqemu_config.xml to include:<br />
\<launcher><br /> \<launcher><br />
\<exe>Bin/zone\</exe><br /> \<exe>Bin/zone\</exe><br />
\</launcher><br /> \</launcher><br />