Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do you Compile the code in the svn?

Опубликовано:

I have read a few topics on this project and come across the

IW4M status topic[http://fourdeltaone.net/viewtopic.php?f=7&t=2014#p5172] and after reading all the post I was drawn to Pigophone's post.

Code works fine as it is, server is up and running, just compile the code in the svn ;)

Now, I'm wondering how you could compile the code in the svn sins I (and probably other's in the community)

want to start playing as soon as possible.

 

-ShotDown

 

Edit: By the way, I am not a software expert (only hardware) so if you would be kind enough and give me a step by step tutorial or something.

Featured Replies

Опубликовано:

I try to compile it but I have an error :

 

1>------ DГ©but de la gГ©nГ©rationВ : ProjetВ : steam_api, ConfigurationВ : Normal Win32 ------
1>  'svn' n'est pas reconnu en tant que commande interne                               ( svn isn't known as an internal command )
1>  ou externe, un programme exГ©cutable ou un fichier de commandes.          ( or external, a program or a command file. )
1>  Current revision is 
1>  Last revision is 1
1>  La syntaxe de la commande n'est pas correcte.                                         ( The "command syntax"(?) isn't correct. )
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: La commande "pushd "C:\Users\GAETAN\Documents\iw4m\clientdll\\dependencies\tools"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: call "C:\Users\GAETAN\Documents\iw4m\clientdll\\dependencies\tools\svnrev.cmd"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: popd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" s'est arrГЄtГ©e avec le code 255. ( stop with this code : 255. )
========== GГ©nГ©rationВ : 0 a rГ©ussi, 1 a Г©chouГ©, 0 mis Г  jour, 0 a Г©tГ© ignorГ© ==========

Опубликовано:
Try with Visual Basic ;)

 

Visual basic? :shock:

I assume you mean Visual Studio. xD

 

On topic: Yeah, visual studio is the way to go. The only thing stopping me is some nasty error. Not sure if it's because my visual studio converts it to a VS2010 solution while it's written in VS2009. Ah well, I'll just wait till the next version.

Опубликовано:
Try with Visual Basic ;)

 

Visual basic? :shock:

I assume you mean Visual Studio. xD

 

On topic: Yeah, visual studio is the way to go. The only thing stopping me is some nasty error. Not sure if it's because my visual studio converts it to a VS2010 solution while it's written in VS2009. Ah well, I'll just wait till the next version.

 

Haha oh shit, sorry:p

 

also, how did you download all the code? 1by1?

 

Well you can't ''download'' it afaik.

Опубликовано:

 

Visual basic? :shock:

I assume you mean Visual Studio. xD

 

On topic: Yeah, visual studio is the way to go. The only thing stopping me is some nasty error. Not sure if it's because my visual studio converts it to a VS2010 solution while it's written in VS2009. Ah well, I'll just wait till the next version.

 

 

I try Visual C++ 2010 express but I have an error ( see on top ).

Опубликовано:

 

Visual basic? :shock:

I assume you mean Visual Studio. xD

 

On topic: Yeah, visual studio is the way to go. The only thing stopping me is some nasty error. Not sure if it's because my visual studio converts it to a VS2010 solution while it's written in VS2009. Ah well, I'll just wait till the next version.

 

 

I try Visual C++ 2010 express but I have an error ( see on top ).

 

Same, I get this error to be specific:

Error	84	error MSB3073: The command "pushd "C:\Users\Janek\Desktop\source\IW4M converted\clientdll\\dependencies\tools"
call "C:\Users\Janek\Desktop\source\IW4M converted\clientdll\\dependencies\tools\svnrev.cmd"
popd

:VCEnd" exited with code 255.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets	103	6	steam_api

 

What do you do after having compiled the code? [used TortoiseSVN :D ]

I ended up with a folder full of files and don't know what to do now.

 

-ShotDown

 

You only used SVN to get the files on your computer, nothing's compiled just yet. Use visual studio to compile it (even though you probably still get the same error as the one mentioned above).

Опубликовано:

svnrev.cmd :

@echo off
IF NOT EXIST lastrev.txt (
   echo 0 > lastrev.txt
)

set REVISION=
FOR /F "tokens=2 skip=4" %%G IN ('svn info --revision HEAD ..\..') DO IF NOT DEFINED REVISION SET REVISION=%%G
FOR /F %%H IN (lastrev.txt) DO SET LASTREVISION=%%H

echo Current revision is %REVISION%
echo Last revision is %LASTREVISION%

IF %LASTREVISION% NEQ %REVISION% (
   echo // generated by svnrev.cmd > ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER %REVISION% >> ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER_STR "%REVISION%" >> ..\..\steam_api\buildnumber.h
   echo %REVISION% > lastrev.txt
)

What we have to do for this f***ing file ? xD

 

EDIT : I try to change the value of REVISON with this --> set REVISION=0 but I have an error at the end. Maybe an admin can explain us what we have to do.

 

1>  steam_api.vcxproj -> C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll
1>  Le fichier spГ©cifiГ© est introuvable.              ( The file isn't found. )
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: La commande "copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "S:\Games\Steam\steamapps\common\zero gear\Server\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: rem copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "T:\Games\CoD6\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" s'est arrГЄtГ©e avec le code 1.
========== GГ©nГ©rationВ : 0 a rГ©ussi, 1 a Г©chouГ©, 0 mis Г  jour, 0 a Г©tГ© ignorГ© ==========

Опубликовано:
svnrev.cmd :

@echo off
IF NOT EXIST lastrev.txt (
   echo 0 > lastrev.txt
)

set REVISION=
FOR /F "tokens=2 skip=4" %%G IN ('svn info --revision HEAD ..\..') DO IF NOT DEFINED REVISION SET REVISION=%%G
FOR /F %%H IN (lastrev.txt) DO SET LASTREVISION=%%H

echo Current revision is %REVISION%
echo Last revision is %LASTREVISION%

IF %LASTREVISION% NEQ %REVISION% (
   echo // generated by svnrev.cmd > ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER %REVISION% >> ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER_STR "%REVISION%" >> ..\..\steam_api\buildnumber.h
   echo %REVISION% > lastrev.txt
)

What we have to do for this f***ing file ? xD

 

EDIT : I try to change the value of REVISON with this --> set REVISION=0 but I have an error at the end. Maybe an admin can explain us what we have to do.

 

1>  steam_api.vcxproj -> C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll
1>  Le fichier spГ©cifiГ© est introuvable.              ( The file isn't found. )
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: La commande "copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "S:\Games\Steam\steamapps\common\zero gear\Server\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: rem copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "T:\Games\CoD6\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" s'est arrГЄtГ©e avec le code 1.
========== GГ©nГ©rationВ : 0 a rГ©ussi, 1 a Г©chouГ©, 0 mis Г  jour, 0 a Г©tГ© ignorГ© ==========

Where did you get that bat code?

Опубликовано:

Error 1 error MSB3073: The command "pushd "C:\Users\Pedro\Documents\IW4M\clientdll\\dependencies\tools"

call "C:\Users\Pedro\Documents\IW4M\clientdll\\dependencies\tools\svnrev.cmd"

popd

 

:VCEnd" exited with code 255. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 103 6 steam_api

 

Compile error, Pigophone where are you?

Опубликовано:

.............

EDIT : I try to change the value of REVISON with this --> set REVISION=0 but I have an error at the end. Maybe an admin can explain us what we have to do.

 

1>  steam_api.vcxproj -> C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll
1>  Le fichier spГ©cifiГ© est introuvable.              ( The file isn't found. )
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: La commande "copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "S:\Games\Steam\steamapps\common\zero gear\Server\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: rem copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "T:\Games\CoD6\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" s'est arrГЄtГ©e avec le code 1.
========== GГ©nГ©ration : 0 a rГ©ussi, 1 a Г©chouГ©, 0 mis Г  jour, 0 a Г©tГ© ignorГ© ==========

 

Go to the top menu "project" then "steam_api properties" then "Configuration Properties" then "Build events" then "Post-Build Event" and then remove the line in "Command line"

Опубликовано:

.............

EDIT : I try to change the value of REVISON with this --> set REVISION=0 but I have an error at the end. Maybe an admin can explain us what we have to do.

 

1>  steam_api.vcxproj -> C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll
1>  Le fichier spГ©cifiГ© est introuvable.              ( The file isn't found. )
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: La commande "copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "S:\Games\Steam\steamapps\common\zero gear\Server\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: rem copy /y "C:\Users\GAETAN\Documents\iw4m\clientdll\Normal\steam_api.dll" "T:\Games\CoD6\iw4m.dll"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" s'est arrГЄtГ©e avec le code 1.
========== GГ©nГ©ration : 0 a rГ©ussi, 1 a Г©chouГ©, 0 mis Г  jour, 0 a Г©tГ© ignorГ© ==========

 

Go to the top menu "project" then "steam_api properties" then "Configuration Properties" then "Build events" then "Post-Build Event" and then remove the line in "Command line"[/quote]

Error	1	error MSB3073: The command "pushd "C:\Users\Pedro\Documents\iw4m\clientdll\\dependencies\tools"
call "C:\Users\Pedro\Documents\iw4m\clientdll\\dependencies\tools\svnrev.cmd"
popd

:VCEnd" exited with code 255.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets	103	6	steam_api

 

SVNREV.bat file:

@echo off
IF NOT EXIST lastrev.txt (
   echo 0 > lastrev.txt
)

set REVISION=
FOR /F "tokens=2 skip=4" %%G IN ('svn info --revision HEAD ..\..') DO IF NOT DEFINED REVISION SET REVISION=%%G
FOR /F %%H IN (lastrev.txt) DO SET LASTREVISION=%%H

echo Current revision is %REVISION%
echo Last revision is %LASTREVISION%

IF %LASTREVISION% NEQ %REVISION% (
   echo // generated by svnrev.cmd > ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER %REVISION% >> ..\..\steam_api\buildnumber.h
   echo #define BUILDNUMBER_STR "%REVISION%" >> ..\..\steam_api\buildnumber.h
   echo %REVISION% > lastrev.txt
)

 

What am I doing wrong? :S

Опубликовано:

I have compiled and I have this <3 :

 

http://img534.imageshack.us/img534/3082/iw4mm.jpg

 

I try to copy my mw2 folder and launch the game ;)

 

 

EDIT : Steam Screen :

1st : http://steamcommunity.com/profiles/7656 ... tab=public

2nd : http://steamcommunity.com/profiles/7656 ... tab=public

Опубликовано:
I have compiled and I have this <3 :

 

http://img534.imageshack.us/img534/3082/iw4mm.jpg

 

I try to copy my mw2 folder and launch the game ;)

 

 

EDIT : Steam Screen :

1st : http://steamcommunity.com/profiles/7656 ... tab=public

2nd : http://steamcommunity.com/profiles/7656 ... tab=public

 

how :o

Join the conversation

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

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.