• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Remere's Map Editor from the latest source with MSVC 2013.

dominique120

Science & Reason
Senator
Premium User
Joined
Jun 16, 2013
Messages
3,881
Solutions
3
Reaction score
1,043
Location
Númenor
Hello and welcome to a tutorial that should have been done a long time ago. I've seen many people asking for a tutorial for compiling RME and here I am to deliver.

Before we start I'm going to assume that you already have some experience compiling programs. If you don't, I recommend you go through my "Compiling TFS 1.0" and "Compiling OTC" tutorials just to get the hang of things. I'm going to abbreviate a few steps and this tutorial is for people who think and can logically deduce that some of the things here are different in their case.


Lets get to work!

We will need the following:
  • MSVC 2013. Express will do.
  • Next lets get boost for 32 bit programs from here.
  • We need to use WxWidgets and since it takes a while to compile I've done it for you, download from here(this is version 3.0.1).
  • And of course, we need the RME Source Code.

Now lets get started:

1. Install boost:
HveKXo2.png


2. Next extract the wx folder to your C:/ drive(can be anywhere but in this tutorial I have it there)

FVvIr6b.png


3. Download and extract the RME source and open the file RME.sln that is inside of the folder vcproj.

4. We have to set our build type to Release: Leave it at x32, this tutorial is only for compiling it to x32, you can still use it on a x64 system if you have one.

kkJjORz.png


5. Now lets set up our include directories:
FkYNK3s.png


  • The first listed directory is located inside of your RME source code folder.
  • The second one is the place where you installed boost from the fist step.
  • The third one is the /include/msvc directory inside of the wx archive you extracted in the second step.
  • The fourth is the /include directory of the wx archive you extracted in the second step.
6. Now lets adjust our library directories:
l8FIwFh.png

  • The first listed one is the place where you installed boost from the fist step + the lib32-msvc-12.0 directory.
  • The second listed directory is located inside of your RME source code folder.
  • The third one is the /lib directory inside of the wx archive you extracted in the second step.
  • The fourth is the /lib/vc_lib directory of the wx archive you extracted in the second step.
7. Now let is parse the files.
EdWjnOL.png


8. Then it will be.
mbJWC7w.png


9. Press rebuild and it should compile.
hFdFKP8.png


10. When its done you will find the exe file here:
4OF8OcX.png


11. You only need one dll file that you can find here.

There you go you have compiled RME developed by @Remere !
 
Last edited:
Great one ... i will try to check it for 64x bit ....
the problem is remere include only 32x libs :D .. but i will try to get 64x libs and tell you if i'm done
 
Wow thanks

Edit: Hey what do I change in sources to get RME to use the new dat structure?
 
Last edited:
x64 building "because we can" and faq

I have a question

Any chance you compile it to x64 byts and make a tutorial about it soon?

Specialy for librarys & knowing the changes than are necesary, i already compile it to x32 but i love if i can take more use of my pc, besides you have a placeholder then since inmemorial times. ;)

Also, How can i make it work for tibia 10.76?, i saw the option to user tibia 10.77, but i'm using OTClient and it feels weird download another client 0.01 version after just to use the editor, i know, it musn't be any trouble but still.

Thats it

Thanks in advance & for the tutorial
;)


¡¡¡Have a great day!!
 
Error C1083 Cannot open include file: 'boost/utility.hpp': No such file or directory RME c:\rme-master\source\main.h 52
 
I have a question

Any chance you compile it to x64 byts and make a tutorial about it soon?

Specialy for librarys & knowing the changes than are necesary, i already compile it to x32 but i love if i can take more use of my pc, besides you have a placeholder then since inmemorial times. ;)

Also, How can i make it work for tibia 10.76?, i saw the option to user tibia 10.77, but i'm using OTClient and it feels weird download another client 0.01 version after just to use the editor, i know, it musn't be any trouble but still.

Thats it

Thanks in advance & for the tutorial
;)

¡¡¡Have a great day!!

Right now I just dont have the time to participate here on OTland as much as I'd like to apart from any moderation duties that come up once in a while. I'm still thinking if I can make some time to make a TFS 1.2 compiling tutorial with MSVC 2015, RME is not a huge priority for me now unfortunately.

To compile it to x64 just use x64 libs and select the x64 compiler, simple as that. You might have to compile some of the libs yourself but if you read the readme's from those dependencies it will be clear.

I dont want to make any promises but maybe if I have time in the future I might update my tutorials and complete some things that needed completing here on otland.
 
Right now I just dont have the time to participate here on OTland as much as I'd like to apart from any moderation duties that come up once in a while. I'm still thinking if I can make some time to make a TFS 1.2 compiling tutorial with MSVC 2015, RME is not a huge priority for me now unfortunately.

To compile it to x64 just use x64 libs and select the x64 compiler, simple as that. You might have to compile some of the libs yourself but if you read the readme's from those dependencies it will be clear.

I dont want to make any promises but maybe if I have time in the future I might update my tutorials and complete some things that needed completing here on otland.

Thats totally understandable, i wish you to have time for yourself at least, regardless not necesarely for this.

But then, what are exactly that libs i will need to compile? if you can add links to where i can find it even better

Thanks in advance!
 
Thats totally understandable, i wish you to have time for yourself at least, regardless not necesarely for this.

But then, what are exactly that libs i will need to compile? if you can add links to where i can find it even better

Thanks in advance!

You have to compile WxWidgets(takes a few hours on my 6 year old Core2Duo) and most likely libarchive because the included one is for x32. You can download x64 boost from my compiling TFS tutorial.

Compiling WxWidgets can be a bit tricky so I'll do it for you but dont get your hopes high because I dont know if RME will even compile to x64.

Thats totally understandable, i wish you to have time for yourself at least, regardless not necesarely for this.

But then, what are exactly that libs i will need to compile? if you can add links to where i can find it even better

Thanks in advance!
https://www.mediafire.com/?yn21qzns9xk6c8j

WxWidgets compiled for MSVC 2013 x64. To compile RME you still need to compile LibArchive but its not that hard.
 
Last edited by a moderator:
Project 'RME' could not be loaded because it's missing install components. To fix this launch Visual Studio setup with the following selections:
Install Visual C++ 2015 Tools for Windows Desktop

D:\vcproj\Project\RME.vcxproj : error : Exceção de HRESULT: 0x80041FE2

:'(
 
I followed your tutorial step by step, downloaded the exact files you uploaded and this is the result:

Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: 'qos.h': No such file or directory    RME    C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h    882
 
01:32:45: Signatures are incorrect.
Dat signature: 4C2C7993
Spr signature: 4C220594
01:32:45: Signatures are incorrect.
Dat signature: 4C2C7993
Spr signature: 4C220594
01:32:50: Signatures are incorrect.
Dat signature: 4C2C7993
Spr signature: 4C220594
 
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: '../../../lib/vc_x64_lib/mswu/wx/setup.h': No such file or directory    RME    C:\wx\include\msvc\wx\setup.h    119

Getting thaat error :S
 
Hello and welcome to a tutorial that should have been done a long time ago. I've seen many people asking for a tutorial for compiling RME and here I am to deliver.

Before we start I'm going to assume that you already have some experience compiling programs. If you don't, I recommend you go through my "Compiling TFS 1.0" and "Compiling OTC" tutorials just to get the hang of things. I'm going to abbreviate a few steps and this tutorial is for people who think and can logically deduce that some of the things here are different in their case.


Lets get to work!

We will need the following:
  • MSVC 2013. Express will do.
  • Next lets get boost for 32 bit programs from here.
  • We need to use WxWidgets and since it takes a while to compile I've done it for you, download from here(this is version 3.0.1).
  • And of course, we need the RME Source Code.

Now lets get started:

1. Install boost:
HveKXo2.png


2. Next extract the wx folder to your C:/ drive(can be anywhere but in this tutorial I have it there)

FVvIr6b.png


3. Download and extract the RME source and open the file RME.sln that is inside of the folder vcproj.

4. We have to set our build type to Release: Leave it at x32, this tutorial is only for compiling it to x32, you can still use it on a x64 system if you have one.

kkJjORz.png


5. Now lets set up our include directories:
FkYNK3s.png


  • The first listed directory is located inside of your RME source code folder.
  • The second one is the place where you installed boost from the fist step.
  • The third one is the /include/msvc directory inside of the wx archive you extracted in the second step.
  • The fourth is the /include directory of the wx archive you extracted in the second step.
6. Now lets adjust our library directories:
l8FIwFh.png

  • The first listed one is the place where you installed boost from the fist step + the lib32-msvc-12.0 directory.
  • The second listed directory is located inside of your RME source code folder.
  • The third one is the /lib directory inside of the wx archive you extracted in the second step.
  • The fourth is the /lib/vc_lib directory of the wx archive you extracted in the second step.
7. Now let is parse the files.
EdWjnOL.png


8. Then it will be.
mbJWC7w.png


9. Press rebuild and it should compile.
hFdFKP8.png


10. When its done you will find the exe file here:
4OF8OcX.png


11. You only need one dll file that you can find here.

There you go you have compiled RME developed by @Remere !
What i Do iF i need Compile it For A custom Client ? i Do A New Client For 860 And Want to Compile IT for Remers what i Should DO And i need Dirct Link For mvsc 2013 not FOr m the Company . :D thanks
 
Back
Top