Denis 1474 Posted February 21, 2014 Share Posted February 21, 2014 Today I'm gonna show you how to compile the mainline_released client binary. Tools we will need: VS2008,Visual Studio 2008 SP1 We will need to make two folders on our hard drive for example include_stuff and lib_stuff after that we go to srcnovalineSrcsToolsWorldEditorexterninclude and copy all that things into include_stuff next go to srcnovalineSrcsToolsWorldEditorexternlib and copy all that things into lib_stuff next open srcnovalineSrcsToolsRAD Game Toolsgrannycommongranny_common_2_9_12_0_release.zip go to lib then win32 and copy all that into lib_stuff next go to srcnovalineSrcsExternlib and copy all into lib_stuff after this go to srcnovalineSrcsExterninclude and copy all into include_stuff In VS 2008 go to Tools->Options->Project and Solutions->VC++ Directories=>Select Include files and include there your include_stuff folder then select Library files and include there your lib_stuff files. Finally we did it Select to release mode and press ctrl+shift+b Kind Regards, Denic 32 1 4 2 2 1 1 6 1 18 2 83 Link to comment Share on other sites More sharing options...
HITRON 694 Posted February 21, 2014 Share Posted February 21, 2014 Thanks you for shared:) Link to comment Share on other sites More sharing options...
Tasho 243 Posted March 3, 2014 Share Posted March 3, 2014 (edited) what I did worng? Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Denis 1474 Posted March 3, 2014 Author Share Posted March 3, 2014 No it's right 2 Link to comment Share on other sites More sharing options...
Tasho 243 Posted March 3, 2014 Share Posted March 3, 2014 when I press ctrl+alt+b it shows me this: ------ Build started: Project: WindowsApplication1, Configuration: Debug Any CPU ------ WindowsApplication1 -> C:Documents and SettingsGEOMy DocumentsVisual Studio 2008ProjectsWindowsApplication1WindowsApplication1binDebugWindowsApplication1.exe ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== I don't think is the right thing Link to comment Share on other sites More sharing options...
Denis 1474 Posted March 3, 2014 Author Share Posted March 3, 2014 To build the binary, you need to have the source of the binary. 4 Link to comment Share on other sites More sharing options...
Tasho 243 Posted March 3, 2014 Share Posted March 3, 2014 you mean : novalineSrcsClient? Link to comment Share on other sites More sharing options...
Denis 1474 Posted March 3, 2014 Author Share Posted March 3, 2014 Yeap 2 Link to comment Share on other sites More sharing options...
Tasho 243 Posted March 3, 2014 Share Posted March 3, 2014 and how I add the source to the studio? I'm a begginer and I whant to learn:D Link to comment Share on other sites More sharing options...
Denis 1474 Posted March 3, 2014 Author Share Posted March 3, 2014 Start visual studio go to open a project and open the .sln file from client source 2 Link to comment Share on other sites More sharing options...
Tasho 243 Posted March 3, 2014 Share Posted March 3, 2014 (edited) :-? I update the program Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 Open the .sln with Notepad++ and change the first two lines from something like this: Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 To this: Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2008 3 Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 When i compile i get one Error: fatal error LNK1104: cannot open file 'python22.lib' does somebody know how to fix it? Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 You have to link to the project from Scriptlib/libs Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 You have to link to the project from Scriptlib/libs How can i do that? Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 Right click on the Project - > Properties - > Linker - > General: Add here the the path of the lib to the Additional Library Directories 1 Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 (edited) Right click on the Project - > Properties - > Linker - > General: Add here the the path of the lib to the Additional Library Directories Thanks for your help, but i cant find somthing called "Linker". Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 (edited) You trying to link to the Solution, but you need to link to the UserInterface project. Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 (edited) You trying to link to the Solution, but you need to link to the UserInterface project. Thanks, but i just dont know how to do it. I never really worked with VS, i´m sorry :S Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 (edited) As you can see on the picture: ../ScriptLibPython-2.2libs Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 (edited) As you can see on the picture: ../ScriptLibPython-2.2libs Ok, thank you i managed to compile the maineline_release binary but i cant find it, do you know were it is? Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 In the bin folder. Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 In the bin folder. There is no .exe or new file :S Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted March 3, 2014 Premium Share Posted March 3, 2014 Are you sure you compiled? What the output window says? ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 1 Link to comment Share on other sites More sharing options...
.CHNoel 3 Posted March 3, 2014 Share Posted March 3, 2014 (edited) Edited August 15, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Recommended Posts