berkmenoo 1
berkmenoo
mavzermete 1
mavzermete
Mt2Hizmet 1
Mt2Hizmet
xranzei 1
xranzei
Hikaye Ekle

Compile client source without opening Visual Studio

  • Konuyu başlatan Konuyu başlatan TuRkiSama
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 1
  • Görüntüleme Görüntüleme 382

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

Hello

Today while browsing Marty Sama's website I found something that I think will be useful for those who compile the client source a lot like me
It is to create a bat file to compile without the need to open Visual Studio

I tried it and it was nice as I was facing a problem of the device hanging a lot while working on the compile with the program so I found it useful and it should be published for the benefit of everyone

Note: I do not know if it has been published before or not and I also know that the method is old for sure but I did not know about it

1-
Metin2Client_CompileRelease.bat

2-
Python:
@echo off
REM استدعاء بيئة Visual Studio 2022
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
cd %~dp0
REM msbuild metin2client.sln /property:Configuration=Release /maxcpucount -target:Clean
REM msbuild metin2client.sln /property:Configuration=Release /maxcpucount
MSBuild.exe metin2client.sln /p:Configuration=Release /p:Platform=Win32 /maxcpucount

pause
Screenshot_2.png


Note: This code is for owners of the 2022 version. You can modify the path as you like.
 
Hello

Today while browsing Marty Sama's website I found something that I think will be useful for those who compile the client source a lot like me
It is to create a bat file to compile without the need to open Visual Studio

I tried it and it was nice as I was facing a problem of the device hanging a lot while working on the compile with the program so I found it useful and it should be published for the benefit of everyone

Note: I do not know if it has been published before or not and I also know that the method is old for sure but I did not know about it

1-
Metin2Client_CompileRelease.bat

2-
Python:
@echo off
REM استدعاء بيئة Visual Studio 2022
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
cd %~dp0
REM msbuild metin2client.sln /property:Configuration=Release /maxcpucount -target:Clean
REM msbuild metin2client.sln /property:Configuration=Release /maxcpucount
MSBuild.exe metin2client.sln /p:Configuration=Release /p:Platform=Win32 /maxcpucount

pause
Ekli dosyayı görüntüle 133991

Note: This code is for owners of the 2022 version. You can modify the path as you like.
Thanks for sharing
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst