SgtFatality 212 Posted December 2, 2014 Share Posted December 2, 2014 (edited) M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is the hidden content, please Sign In or Sign Up ( GitHub ) & This is the hidden content, please Sign In or Sign Up ( GitHub ) Hi guys, Today I'm gonna show you how to build enhanceMT server sources on Windows. Read carefully 1. Softwares needed Git : This is the hidden content, please Sign In or Sign Up CMake : http://www.cmake.org/files/v3.1/cmake-3.1.0-rc2-win32-x86.exe Visual Studio (Express) 2013 : http://go.microsoft.com/?linkid=9832282&clcid=0x40c 2. Get the sources First, create a new folder where you want to checkout the sources then open "Git Bash". A command prompt will open, now you need to go in your folder with the "cd" command. An easy way to do it is to write "cd " (with space after "cd") and drag/drop the folder in the command prompt. The path will be automatically added. Press "Enter". In the command prompt write the following command to checkout the sources from our repo (you need to register here : http://tyron.ovh git clone http://tyron.ovh:81/enhanceMT/Server.git Wait until the download is finished then go into the sources folder "Server" : cd Server Finally get the needed headers and libs with the command below : git clone http://tyron.ovh:81/enhanceMT/Extern.git 3. Configure the solution with CMake Open CMake and choose the path where the source code is (Server folder) and choose the "Server/build" folder for the "Where to build the binaries" field : Click on "Configure" and choose your compiler (Visual Studio (Express) 2013) then press "Finish" : Finally click on "Generate" to build the solution and check that you don't get any errors : 4. Let's build it ! You'll find the VS solution in the folder "Server/build", open "enhanceMT.sln" with Visual Studio (Express) 2013 : In the menu, choose "Release" mode and click on "Build -> Build solution" (or press F7). When building is done you'll find the "db.exe" and "game.exe" binaries in the folder "Server/build/bin/Release". And that's it ! It wasn't to hard right ? I just want you to remember that enhanceMT is an open source and community project, everyone can work on it. So if you have any suggestions, bugs, fix, etc. just open an issue on GitHub here : This is the hidden content, please Sign In or Sign Up ). Sgt Fatality Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 62 2 3 1 1 4 1 25 6 42 Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted December 2, 2014 Share Posted December 2, 2014 Thanks bro! Now i'm at school so I cant tri it, but i'll do it when i'm home! Hope it works :$ Thank you again ^^ Greetz, RachadoPT Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted December 2, 2014 Former Staff Share Posted December 2, 2014 Can someone do a quick video? It would be easier for me. Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 2, 2014 Share Posted December 2, 2014 error : Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output: Change Dir: C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec1113592569.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine versione 12.0.30723.0 [Microsoft .NET Framework versione 4.0.30319.18444] Copyright (C) Microsoft Corporation. Tutti i diritti riservati. Compilazione avviata 02/12/2014 14:25:08. Progetto "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" sul nodo 1 (destinazioni predefinite). PrepareForBuild: Creazione directory "cmTryCompileExec1113592569.dirDebug". Creazione directory "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpDebug". Creazione directory "cmTryCompileExec1113592569.dirDebugcmTryCom.570751AB.tlog". InitializeBuildStatus: Creazione di "cmTryCompileExec1113592569.dirDebugcmTryCom.570751AB.tlogunsuccessfulbuild". Ô stato specificato "AlwaysCreate". ClCompile: C:Program FilesMicrosoft Visual Studio 12.0VCbinx86_armCL.exe /c /I"C:UsersGiovanniDesktopNuova cartella (4)ServerExternboost-1_57include" /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1113592569.dirDebug" /Fd"cmTryCompileExec1113592569.dirDebugvc120.pdb" /Gd /TP /analyze- /errorReport:queue -std=c++11 "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpsrc.cxx" Microsoft (R) C/C++ Optimizing Compiler versione 18.00.30723 per ARM Copyright (C) Microsoft Corporation. Tutti i diritti riservati. cl /c /I"C:UsersGiovanniDesktopNuova cartella (4)ServerExternboost-1_57include" /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1113592569.dirDebug" /Fd"cmTryCompileExec1113592569.dirDebugvc120.pdb" /Gd /TP /analyze- /errorReport:queue -std=c++11 "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpsrc.cxx" cl : warning della riga di comando D9002 : l'opzione sconosciuta '-std=c++11' verr… ignorata src.cxx C:Program FilesMicrosoft Visual Studio 12.0VCincludexlocale(337): warning C4530: utilizzato gestore eccezioni C++, ma la semantica di rimozione non Š abilitata. Specificare /EHsc [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj] Link: C:Program FilesMicrosoft Visual Studio 12.0VCbinx86_armlink.exe /ERRORREPORT:QUEUE /OUT:"C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpDebugcmTryCompileExec1113592569.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1113592569.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1113592569.lib" /MACHINE:ARM /machine:ARM /debug cmTryCompileExec1113592569.dirDebugsrc.obj LINK : fatal error LNK1104: impossibile aprire il file 'libboost_filesystem-vc120-mt-gd-1_57.lib' [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj] Compilazione progetto "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazioni predefinite) NON COMPLETATA. Compilazione NON RIUSCITA. "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazione predefinita) (1) -> (destinazione: ClCompile) -> C:Program FilesMicrosoft Visual Studio 12.0VCincludexlocale(337): warning C4530: utilizzato gestore eccezioni C++, ma la semantica di rimozione non Š abilitata. Specificare /EHsc [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj] "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazione predefinita) (1) -> (destinazione: Link) -> LINK : fatal error LNK1104: impossibile aprire il file 'libboost_filesystem-vc120-mt-gd-1_57.lib' [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj] Avvisi: 1 Errori: 1 Tempo trascorso 00:00:02.49 Source file was: #include <boost/filesystem/path.hpp> #include <boost/filesystem/operations.hpp> int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); } 1 1 Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted December 2, 2014 Premium Share Posted December 2, 2014 Thank you Fata, are you going to post it on FE ? Link to comment Share on other sites More sharing options...
SgtFatality 212 Posted December 2, 2014 Author Share Posted December 2, 2014 Hey, Giovy : Some boost libs where missing, I updated Server and Extern, can you try again please ? Galet : It's already on FE, just waiting to be approved 1 Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 2, 2014 Share Posted December 2, 2014 Bro works good I can add wolfman here Do u have source? P.s U have fogot to add devil lib Link to comment Share on other sites More sharing options...
Mehti 76 Posted December 2, 2014 Share Posted December 2, 2014 Can you post changes ? or its clean? Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 2, 2014 Share Posted December 2, 2014 compiled. work good zero errors Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted December 2, 2014 Premium Share Posted December 2, 2014 For the wolfman, it's not a priority, but there's mine. ^^ Link to comment Share on other sites More sharing options...
SgtFatality 212 Posted December 2, 2014 Author Share Posted December 2, 2014 Giovy : Thanks for your feedback ! LibDevil libs should be in This is the hidden content, please Sign In or Sign Up Mehti : You can check commits here : This is the hidden content, please Sign In or Sign Up 10 1 1 3 Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted December 2, 2014 Share Posted December 2, 2014 Just one thing, if the game and the db are .exe, how will they work? '-' Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted December 2, 2014 Premium Share Posted December 2, 2014 Just one thing, if the game and the db are .exe, how will they work? '-' You have to use windows serverfiles. ^^ Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted December 2, 2014 Share Posted December 2, 2014 Ohh, and if i want to use FreeBSD files, how can i compile it for them? xD Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted December 2, 2014 Premium Share Posted December 2, 2014 Like any other serverfiles I guess (I will try), I will probably make a tutorial. ^^ Link to comment Share on other sites More sharing options...
SgtFatality 212 Posted December 2, 2014 Author Share Posted December 2, 2014 At the moment we support only Windows. Linux / FreeBSD support will come later. Link to comment Share on other sites More sharing options...
Premium Sean 11 Posted December 2, 2014 Premium Share Posted December 2, 2014 question, guide compile binary? // ¹Ý-_-»ç Link to comment Share on other sites More sharing options...
Premium Sean 11 Posted December 3, 2014 Premium Share Posted December 3, 2014 (edited) have error me use Visual Studio 9 2008 update Server and Extern files today. Best regards, 4l0ns0xD Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal // ¹Ý-_-»ç Link to comment Share on other sites More sharing options...
Risan 115 Posted December 3, 2014 Share Posted December 3, 2014 (edited) have error me use Visual Studio 9 2008 update Server and Extern files today. Best regards, 4l0ns0xD added: boost_system-vc90-mt-1_57.lib, boost_thread-vc90-mt-1_57.lib,libboost_system-vc90-sgd-1_57.lib and libboost_thread-vc90-mt-sgd-1_57.lib to lib folder in boost .. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SgtFatality 212 Posted December 3, 2014 Author Share Posted December 3, 2014 Hi, VS 2008 is not supported yet. If you want to try to build it with VS 2008 anyway you must compile Boost yourself to get the VS 2008 libs Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 3, 2014 Share Posted December 3, 2014 Fatality u have source code wilth wolfman? Link to comment Share on other sites More sharing options...
Risan 115 Posted December 4, 2014 Share Posted December 4, 2014 (edited) Error on VS 2008.. Boost Libs is added. But Error comming from cryptlib.lib Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SgtFatality 212 Posted December 4, 2014 Author Share Posted December 4, 2014 Hi, I think you have to compile CryptoPP (and OpenSSL ?) with VS 2008 then. We'll officially supoprt VS 12 / 13 by the way Link to comment Share on other sites More sharing options...
Honorable Member NoFr1ends 751 Posted December 4, 2014 Honorable Member Share Posted December 4, 2014 Wow, GitHub isn't friendly to illegal content... You can't make copyright protected source code, open source, and then on GitHub, wow brave. 1 Link to comment Share on other sites More sharing options...
Sober 37 Posted December 4, 2014 Share Posted December 4, 2014 Can you now make a tutorial for linux? Link to comment Share on other sites More sharing options...
Recommended Posts