Jump to content
MMOdev Moderator Applications ×

[TUTORIAL] Install & Compilare Sources Metin2


Uffo

Recommended Posts

  • Administrator
 

Hello MMOdev, :)

I noticed there's not a very detailed tutorial on how to set up and work on a source, so I decided to take the initiative and make a very straightforward guide to help everyone understand.


I. INSTALLING VDI & SOURCE

  1. Install the .VDI file I provided for download onto a VM on your PC.

  2. After installation, place the sursagame archive (.tar.gz) in /usr/src.

  3. Extract it using Putty with the command: tar -zxvf sursagame.tar.gz, and make any desired changes to the source files.


II. COMPILING THE SOURCE

Note from White:
If you downloaded and installed the VDI I provided, you can skip the steps in the next section. The following ports installation is for VDIs that aren’t pre-configured for compiling.

  1. To compile the source, install the necessary ports in Putty with these commands:

     
    bash
    Copy code
    cd /usr/ports/devel/gmake && make install clean cd /usr/ports/devel/makedepend && make install clean cd /usr/ports/devel/subversion && make install clean cd /usr/ports/graphics/devil && make install clean cd /usr/ports/lang/gcc48/ && make install clean cd /usr/ports/lang/python && make install clean
  2. To compile a source, use the following commands:

     
    bash
    Copy code
    cd /usr/src/sursata/Server/game/src gmake dep gmake clean gmake -j20

    (For the database, replace /game/src with /db/src)

Note from White:
If you get an error like "No rule to make target [...]," go to /usr/src/sursata/Server/game/src, run these two commands, then try compiling again:

 
bash
Copy code
mv Depend Depend.bak gmake dep
  1. Wait for the compilation to finish.

III. COMPILED GAME/DB

After compiling game/db, go to /Server/db and /Server/game to find the new game and db files. Replace them on your server (using FileZilla/WinSCP) and set permissions to 777 (important)!

 

This is the hidden content, please

Detali VDI:

ID: root
PW: dev
  • Happiness 1
Link to comment
Share on other sites

  • Bot

Thank you for the post Uffo
Now we will take care that your topic reaches many people by adding tags

Forum Description : Metin2 Server Files, Server Files, Metin2 Private Servers, Metin2, Metin2 Systems, C++ and Python, Metin2 Home Pages, Metin2 Private Server, Metin2 Download, Metin2 Support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.

Tags:  #Metin2 Server Files, #Server Files, #Metin2 Private Servers, #Metin2, #Metin2 Systems, #C++ and Python, #Metin2 Home Pages, #Metin2 Private Server, #Metin2 Download, #Metin2 Support, #Metin2 Forum, #Metin2 Pvp Servers, #Errors, #Bugs, #Requests, #Metin2 Pvp #Forum .

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Service