Mangos windows setup for wow 2.3.3 (Chinese edition)

Source: Internet
Author: User
Tags mysql gui
For clients of different languages, the installation of mangos is slightly different. This article will detail the installation steps for the Simplified Chinese version of World of Warcraft 2.3.3.
I. Necessary tools
  • Wow client. You can download it from the official website or buy a DVD installation disk (if the version is earlier than 2.3.3, You need to download the patch and upgrade it ).
  • Compiled mangos. Use Subversion. Can also be directly from http://www.mangosproject.org/forum/index.php? Showtopic = 4088 download the compiled version.
  • “Ad.exe ". To support Chinese versions, you must re-compile them to ad.exe from Langs [] = {"zhcn", "encn", "enus", "frfr", and "eses.
  • Dbcextraction tool mpqe.exe. This tool is compiled by C # And needs to run. NET Framework. From http://www.mangosproject.org/forum/index.php? Showtopic = 7456 download the executable file.
  • MySQL Community Edition
  • MySQL GUI client tools, such as free and easy-to-use sqlyog.

Ii. Install MySQL and create a database

  • Install MySQL Community edition and configure the SQL server.
  • Install sqlyog. Log on to the instance and create the realmd, characters, mangos, and scriptdev2 databases.

3. Create a mangos directory

  • Create a mangos directory, such as "D:/mangos ". (If you directly download the compiled file, skip the following steps)
  • Copy all the EXE and DLL files in/bin/release from the source code directory to the mangos directory.
  • Copy mangosd. conf. In And realmd. conf. In in/src/mangosd and/src/realmd, and remove the suffix ". In.
  • Make sure that "libeay32.dll" and "libmysql. dll" are in the mangos directory.

4. Extract the client Map File

  • Place ad.exe in the Client installation directory, for example, "d:/word of warcraft ".
  • Create a subdirectory named "maps", for example, "d:/World of Warcraft/maps ".
  • Run ad.exe (at least 3400 map files will be extracted ).
  • After ad.exe is run, copy the maps subdirectory to the mangos directory.

5. Extract the client's DBC File

  • Create a DBC subdirectory under mangos.
  • Copy mpqe (including mpqe.exe and sfmpq. dll) to the Client installation directory/data/zhcn.
  • Run: mpqe/P local-zhCN.mpq dbfilesclient/*. DBC on the command line interface.
  • After mpqe is completed, copy all the ddbc files under ../zhcn/mpqout | dbfilesclient to the ddbc subdirectory of mangos, and there should be 176 files.

6. Build a vmap File

  • Vmap is used to handle "line of sight" issues.
  • Find the mangos source code or makevmaps_simple.bat In the compiled version and run it.
  • Copy all vmap files under the vmaps/directory of the generated directory to the vmaps subdirectory under the mangos directory.

7. Install and update the database

  • Use sqlyog to connect to the MySQL database.
  • Right-click the realmd database and select "restore from SQL dump ".
  • Locate realmd. SQL in the SQL directory of mangos and execute.
  • Use the same method to import characters, mangos, and scriptdev2 data.
  • It should be noted that scriptdev2 is a game script for wow. It adds additional monsters and boss ai. Without this script, you can only enter a simple wow world. The compiled version of mangos generally provides scriptdev2 DLL and SQL scripts. If you do not have them, you can.
  • Update the data tables in the SQL directory. If you fail to run mangosd.exe, check the log file and update the corresponding data table.

8. Enrich the gaming world with UDB data
If you use mangos. SQL that comes with mangos, you can only get a fairly simple game world. To enrich the gaming world, another group focuses on developing mangos data scripts. You can go from http://www.udbforums.org/to more about udb. Http://www.udbforums.org/index.php? Showtopic = 6629 provides the latest mangos data script download. You can use the method described in Step 7 to import the SQL script to the mangos database.
9. Configure mangos and client

  • Create the realmlist. WTF file in the WTF subdirectory of the client (if not) and write "set realmlist 127.0.0.1 ".
  • Open the realmd. conf file of mangos and find "logindatabaseinfo =" and change it to "logindatabaseinfo =" 127.0.0.1; 3306; root; [Password]; realmd ".
  • Open the mangosd. conf file, find the "[LIST]" item, and modify it:
    • Datadir = "."
    • Worlddatabaseinfo = "127.0.0.1; 3306; root; [Password]; mangos"
    • Logindatabaseinfo = "127.0.0.1; 3306; root; [Password]; realmd"
    • Characterdatabaseinfo = "127.0.0.1; 3306; root; [Password]; characters"

10. Run the server and client

  • After you start realmd.exeand mangosd.exe, you can also write a batch to run the task. The content is as follows:
@ Echo off
Start realmd.exe
Start mangosd.exe
@ Echo on
  • You do not need to directly click the parameter format on the client side, because it refers to launcher.exe. Run wow.exe.
  • If the client starts a problem (the majority problem is concentrated in mangosd.exe), check the log file and use the data script in SQL/update to update the problematic data table.

Below:

P.s. Since UDB is not in Chinese, English may appear in some parts of the game.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.