Home » MODDING HQ 1.13 » v1.13 General Development Talk » Instructions for using SVN
Re: Instructions for using SVN[message #280026] Mon, 16 May 2011 20:51 Go to previous messageGo to next message
JMich

 
Messages:552
Registered:January 2011
Location: Greece
Specific compilation fail message? It is quite possible that VS2005 is no longer supported, but doubt that as well. So, post your "Failed" message (not the warning ones, they are a lot but you can ignore them) so we can see if we can help more.
P.S. You could also try updating your VS with the express version, and see if that helps.
Re: Instructions for using SVN[message #280042] Tue, 17 May 2011 14:31 Go to previous messageGo to next message
n30cr0n
Messages:4
Registered:May 2011
Hey, I can confirm blacklists problem. Getting the latest SVN gamesource ... in the trunk directory results in having the project with several VS version project files (I believe 2005 2008 and 2010. So the project files are already there and should be configured properly. Can't anyone tell who's responsible for it, so I can ask directly?
All I know is that downloading it results in a chunk of code you cannot compile right away. I get errors about arbitrary function (abs) which I can resolve, and about missing VFS files. Which I cannot resolve. VFS used to be in the ext directory ... with another structure (subdirectories like "aspect" or "core" ...) now it's is the base directory and many header files have been restructured for some reason. It just seem like someone tried a huge restructuring of the whole thing and just didn't go through with it ...
anyways, you can't compile it in that state. but there are 4057 exes out for download, someone had to be compiling them. so where did they get it from, or what did they do? who can I ask about it?
Re: Instructions for using SVN[message #280044] Tue, 17 May 2011 15:07 Go to previous messageGo to next message
wanne (aka RoWa21)

 
Messages:2001
Registered:October 2005
Location: Austria
You should get the latest development source code from here, which should compile out of the box without any changes:
https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP

The official source code (which is outdated) here
https://81.169.133.124/source/ja2/trunk/GameSource/ja2_v1.13
gets updated with the one from the development trunk after the 2011 release, which should be in 2-3 days.

[Updated on: Tue, 17 May 2011 15:08] by Moderator



Re: Instructions for using SVN[message #280047] Tue, 17 May 2011 16:33 Go to previous messageGo to next message
n30cr0n
Messages:4
Registered:May 2011
uuuhhh sweet, I'll try that later today, thanks for the heads up ...
I wanna check out the mp and see if one can update it to further include coop games in the campaign ...
thx for now
Re: Instructions for using SVN[message #280133] Wed, 18 May 2011 18:27 Go to previous messageGo to next message
Blacklist
Messages:3
Registered:May 2011
The MP branch builds fine for me. The main one builds if I copy its files over the MP branch. I haven't tried playing yet, so there may be other issues. Thanks for pointing me in the MP direction.
Re: Instructions for using SVN[message #280429] Sun, 22 May 2011 11:34 Go to previous messageGo to next message
MasterN

 
Messages:44
Registered:February 2011
Location: Berlin - Ger
does somebody know if there have been any changes in the Ja2_options.ini from the version on SVN to the newest?
Re: Instructions for using SVN[message #286600] Fri, 15 July 2011 11:24 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Hi all I am using the 1.13 4552 I see the latest version on SVN is 4574.

Should I use SVN then as me and my mates are playing a lot of MP at the moment.

All so does 4574 contain any cool fixes for MP like alowing us to climb onto roofs yet?.

P.S

What would be cool is different floors for buildings but I assume the JA2 engine cant do this....yet?.

Thanks
Re: Instructions for using SVN[message #286601] Fri, 15 July 2011 11:29 Go to previous messageGo to next message
PasHancock

 
Messages:730
Registered:February 2011
Location: Estonia,Tallinn
There is no Guarantee that there will be a bugfix for your problem in SVN,ask RoWa about bug and tell him about it(if he doesnt know this bug) and climbing on a roof is disabled,its not a bug,its disabled because it could make problems i think.

And if there is a Bugfix(es) of MP in SVN then your friend should update game to 4574 too,or else you guys wont be able to play
Re: Instructions for using SVN[message #286610] Fri, 15 July 2011 13:10 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Hey thanks for the fast reply`s PasHancock.

Would we ever see roof climbing?.

Where can I see a list of changes in the latest SVN version to see if there was any MP stuff added/fixed?.

Sorry for all the noob questions but damn this game is huge in scale and there is so much to learn.

Thanks
Re: Instructions for using SVN[message #286615] Fri, 15 July 2011 17:04 Go to previous messageGo to next message
PasHancock

 
Messages:730
Registered:February 2011
Location: Estonia,Tallinn
Roof climbing feature in MP is developing(i hope) by RoWa or someone else,i hope they didnt forgot about it.

I think there is no list of changes for SVN,we only can see updates when latest version will come out.It would be great if someone could make a thread about fixed bugs with revision.
Re: Instructions for using SVN[message #286616] Fri, 15 July 2011 17:19 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Yeah I would love that I dont want to sound rude though because i have kinda just come to this forum and dont want to sound like I am demanding I just cant believe what you lot have achieved I have had so much fun with 3 way DM so far that I really want it to develop more and more.

I wanted to get on a roof to snipe but could not Sad.

I wonder if we will all so see multiple level buildings that would be great for sniping Smile.

All so a thread that lists changes to SVN versions would be great.

I seem to be having a fair few crashes to and want to know if there could be a crash log on me PC if so where could I send it as I want to help.


[Updated on: Fri, 15 July 2011 17:20] by Moderator

Re: Instructions for using SVN[message #286618] Fri, 15 July 2011 18:39 Go to previous messageGo to next message
PasHancock

 
Messages:730
Registered:February 2011
Location: Estonia,Tallinn
All crash reports are in C:\Jagged Alliance 1.13\MULTIPLAYER\Servers i think

Choose server,find a crash report in it and you can report it to RoWa

If you play with your friend thru your IP then its in "My Server" Folder,if you play thru someones server,it could be in other Server Folder
Re: Instructions for using SVN[message #286620] Fri, 15 July 2011 19:02 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Great thanks I found one crash report and one error report I opened them up but tbh they dont seem to contain any thing really.

I may just zip my whole MP my server folder and send that?.

Re: Instructions for using SVN[message #286635] Fri, 15 July 2011 21:48 Go to previous messageGo to next message
PasHancock

 
Messages:730
Registered:February 2011
Location: Estonia,Tallinn
no,only file
Re: Instructions for using SVN[message #286636] Fri, 15 July 2011 21:54 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
this is from a text file called

Crash Report_15_07_2011___13_42

and in it is loads of lines reading

Release v1.13.4552 (Official Release): Build 11.07.01. Z

File:
C:\Program Files\Jagged Alliance 2 Gold\ja2.exe
Release v1.13.4552 (Official Release): Build 11.07.01. Z

and this goes on for a long time

other text file is called

ERROR_REPORT.iniErrorMessages

and in it is

*** Fri Jul 15 11:40:51 2011 ***
[ 5GOMV-AP6T3-AQ0VS-VXDX5-5YOTA ]

[1.64825e-005] :

and thats it.

I do have other text files called

game_log

LiveLog

Sound

vfs

Stack_trace

MPDebug

etc.





[Updated on: Fri, 15 July 2011 21:54] by Moderator

Re: Instructions for using SVN[message #286866] Mon, 18 July 2011 11:16 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Hi all I have followed the instructions for the SVN and when I launch the game I still see build 4552 not the latest one.

I only copied files from the GameDir folder not the other folders called

Build
Developer_Docs
etc

I wonder if I need to copy files from the Build folder into my JA2 Dir?.

Thanks
Re: Instructions for using SVN[message #286872] Mon, 18 July 2011 14:14 Go to previous messageGo to next message
Logisteric

 
Messages:3271
Registered:December 2008
Location: B
eh? why not just update them?
Re: Instructions for using SVN[message #286879] Mon, 18 July 2011 14:57 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Hey what I did was download the files to a folder on me desktop as per instructions.
I then copyed the files over to the the JA2 game dir as per instructions.

then I did an SVN update and started the game but it still shows at the top left corner version 4552 not the latest 4579.

I did how ever copy my old JA2 game dir and used that but in a different location maybe I should have done a clean install.
Re: Instructions for using SVN[message #286880] Mon, 18 July 2011 15:01 Go to previous messageGo to next message
Wil473

 
Messages:2841
Registered:September 2004
Location: Canada
That's normal, the compiled .exe is only kept up to date with the official release (4552). I think the newest unofficial compile is in Tais SCI for AIMNAS.

EDIT: I ran into the same problem while testing something a few weeks back.

[Updated on: Mon, 18 July 2011 15:02] by Moderator



Re: Instructions for using SVN[message #286881] Mon, 18 July 2011 15:04 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Hi there so even though it shows I am running version 4552 I still have the latest and greatest updates from 4579 as long as I have copied the files over as per instructions?.

Re: Instructions for using SVN[message #286883] Mon, 18 July 2011 15:09 Go to previous messageGo to next message
Wil473

 
Messages:2841
Registered:September 2004
Location: Canada
What is showing is the revision number from the .exe, which is still 4552 on the SVN. The SVN will give you the most up to date supporting files, and files to compile your own JA2.exe based on the newest code.

I checked Tais' thread, AIMNAS includes a JA2.exe based on Rev.4561, newer than the standalone SCI and UC-1.13 SCI's also there. As I am only aware of this one source fro unofficial builds made available to the general public, I suggest you get the AIMNAS SCI. AIMNAS is VFS compliant, so if you are just after the newest .exe just change the .INI file to point at the mod you want (the mod has nothing to do with the .exe).

[Updated on: Mon, 18 July 2011 15:10] by Moderator



Re: Instructions for using SVN[message #286884] Mon, 18 July 2011 15:12 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Wow ummm you have lost me completely now Sad.

So I need to compile a new .EXE I assume the files in the Build folder that gets downloaded with the SVN is what I do that form but my problem is how do I actually make a .EXE.

Sorry to ask what may seem to you like a dumb question but I have no idea.

Thanks

Re: Instructions for using SVN[message #286885] Mon, 18 July 2011 15:15 Go to previous messageGo to next message
Wil473

 
Messages:2841
Registered:September 2004
Location: Canada
No idea myself, but if you absolutely must have the newest bug-fix it is do it yourself. Otherwise just be thankful that Tais will occasionally release something newer (and riskier) than the official patches.


Re: Instructions for using SVN[message #286890] Mon, 18 July 2011 15:43 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Thanks I am speaking to DepressivesBrot.

Re: Instructions for using SVN[message #288599] Sun, 07 August 2011 18:13 Go to previous messageGo to next message
takami

 
Messages:11
Registered:August 2011
Ah great, that works now.

But the source code still seems inaccessible.
At least I'm getting a SSL certificate error now, so someone's probably working on it.
Re: Instructions for using SVN[message #289024] Sun, 14 August 2011 15:05 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Holy crap I see in the latest version that throwing items is now fixed does this mean that I can use grenades now in MP Smile.
Re: Instructions for using SVN[message #289025] Sun, 14 August 2011 15:08 Go to previous messageGo to next message
PasHancock

 
Messages:730
Registered:February 2011
Location: Estonia,Tallinn
How can you know that?

Re: Instructions for using SVN[message #289026] Sun, 14 August 2011 15:17 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
use SVN and once its updated click show log tells ya all the latest fixes in that build.
Re: Instructions for using SVN[message #289684] Tue, 23 August 2011 12:47 Go to previous messageGo to next message
STK

 
Messages:107
Registered:December 2010
Location: UK
Damn this keeps getting better and better.

Thanks 1.13 team.

Cant wait to now play MP with grenades Smile
Re: Instructions for using SVN[message #290976] Thu, 22 September 2011 05:26 Go to previous messageGo to next message
Esgaro

 
Messages:11
Registered:September 2008
So what is the current procedure for putting together a full setup of the newest version? I checked out
https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP
and
https://81.169.133.124/source/ja2/trunk/GameSource/ja2_v1.13

I was able to build the 1.13MP checkout just fine. The first build went fine, and gave me a "JA2_EN_Debug.exe". "Whoops" I think, "I accidentally made a debug build". So I switch the dropdown to release and get "JA2_PO_Release.exe". That is somewhat unexpected. Did it switch languages somehow, or does that "EN" and "PO" mean something other than what I think it means?

I assume one copies the contents of the gamedir directory from MP over the directory in the base setup in order to get things up to date. Is that right?
Re: Instructions for using SVN[message #292720] Tue, 25 October 2011 11:58 Go to previous messageGo to next message
JMich

 
Messages:552
Registered:January 2011
Location: Greece
I just reinstalled VS2010, checked out the svns (both official and developer's) and tried to do a clean compile to see that my VS works as intended. Both code versions cannot compile due to
Error	8	error C2440: '=' : cannot convert from 'const ModifiedMapFile *' to 'ModifiedMapFile *'	c:\code projects\svn code\tileengine\saveloadmap.cpp	203	1	TileEngine
Error	9	error C2440: '=' : cannot convert from 'const ModifiedMapFile *' to 'ModifiedMapFile *'	c:\code projects\svn code\tileengine\saveloadmap.cpp	215	1	TileEngine
which are the lines
*ppMMF = &(*itr);
and
pResult = &(*itr);
introduced in revision 4665.
Is this a VS10 specific error, or do I need to modify some setting to allow the code to compile?
Re: Instructions for using SVN[message #292838] Sat, 29 October 2011 17:20 Go to previous messageGo to next message
Jenilee

 
Messages:15
Registered:May 2011
If you want to just compile with the caching stuff disabled, you can modify the following:

TryGetModifiedMapFile function

Quote:

//Jenilee: disabled
bool TryGetModifiedMapFile( UINT32 uiType, INT16 sMapX, INT16 sMapY, INT8 bMapZ, ModifiedMapFile** ppMMF )
{
return false;

/*
if (ppMMF == NULL)
return false;

ModifiedMapFile key(uiType, sMapX, sMapY, bMapZ);
ModifiedMapFileSet::iterator itr = g_mapFileSet.find(key);
if (itr == g_mapFileSet.end())
{
*ppMMF = NULL;
return false;
}

*ppMMF = &(*itr);

return true;
*/
}


GetOrCreateModifiedMapFile function

Quote:


//Jenilee: disabled
ModifiedMapFile& GetOrCreateModifiedMapFile(UINT32 uiType, INT16 sMapX, INT16 sMapY, INT8 bMapZ)
{
ModifiedMapFile* pResult = NULL;
return *pResult;

/*
if ( TryGetModifiedMapFile(uiType, sMapX, sMapY, bMapZ, &pResult) )
return *pResult;

ModifiedMapFile key(uiType, sMapX, sMapY, bMapZ);
ModifiedMapFileSet::iterator itr = g_mapFileSet.insert(g_mapFileSet.end(), key);

pResult = &(*itr);

if (pResult)
GetMapTempFileName( pResult->uiType, pResult->szMapName, pResult->sMapX, pResult->sMapY, pResult->bMapZ );

return *pResult;
*/
}


SaveModifiedMapStructToMapTempFile function

insert the following as the first line:

Quote:

g_useSaveCache = false; //Jenilee: force disabled!


It won't fix the caching issue but you can compile and run the game fine.
Re: Instructions for using SVN[message #292914] Mon, 31 October 2011 21:56 Go to previous messageGo to next message
tais

 
Messages:674
Registered:February 2008
Location: NL
Hereby repeating JMich's report, code does not compile unless using Jen's fix, after that all goes well, someone gonna fix this?


Re: Instructions for using SVN[message #311167] Sun, 14 October 2012 06:27 Go to previous messageGo to next message
Julix

 
Messages:105
Registered:June 2010
Location: Canada

I installed it, it worked. Then I changed Dr.Q's stats using "Merc Profile Editor", and was about to change ini settings, but I can't find the changes anywhere (nor the file that I thought I was changing), instead I"m getting this:


JA2 Fatal Error
File : sgp.cpp
Line : 788
Location: InitializeStandardGamingPlatform
Initializing Virtual File System failed


Has anyone seen this one before? What is the sgp.cpp file? can't find that one either.

Also the icons change randomly when I run any of the applications in the JA2 folder. Sofar I've seen 4 different symbols that they become instead of the normal version... :-S



EDIT: No idea what caused it - but I downloaded the SVN again, and without changing anything else I just copied it over (and told it to overwrite) - and then half way through I remembered I should probably reinstall JA2 first, so I cancelled - then I thought I should test again. So I did, and it worked. And the stat change is still there, must not have gotten there before overwriting the one that caused the problem. What ever it was....

EDIT2: I just found it: I started the old JA2.exe once and that reset the JA2.ini and replaced everything in it with a line about where the CD is... haha Very Happy Definitively deleting the file, or at least moving it out of the main folder unless you know a reason not to.

[Updated on: Sun, 14 October 2012 20:34] by Moderator

Re: Instructions for using SVN[message #312968] Tue, 11 December 2012 20:52 Go to previous messageGo to next message
K0ukku

 
Messages:190
Registered:December 2009
I am little bit confused: What is the right address to download the latest 1.13 trunk by the SVN Tortoise software?
Re: Instructions for using SVN[message #312969] Tue, 11 December 2012 20:58 Go to previous messageGo to next message
Sam Hotte

 
Messages:1999
Registered:March 2009
Location: Middle of Germany
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/293324/New_SVN_address.html#Post293324
says:
https://ja2svn.dyndns.org/source/ja2/
Re: Instructions for using SVN[message #314500] Mon, 21 January 2013 14:33 Go to previous messageGo to next message
Voteslave

 
Messages:28
Registered:July 2005
DepressivesBrot
Get a new exe from my sig and reapply tje svn files. Starting the Vanilla exe tends to f'up some files.


Hi

I have the newest SVN and downloaded the latest exe file but when i run it it crashes (VFS_INIT.CPP error, could not initiate library [Data\Ambient.slf] - i can provide exact details if needed)

also my JA2.ini file now has a red exclamation mark

Maybe i've missed something - what does the bit in bold in the quote above mean?

thanks
Re: Instructions for using SVN[message #314504] Mon, 21 January 2013 15:55 Go to previous messageGo to next message
DepressivesBrot

 
Messages:3731
Registered:July 2009
You did copy the svn stuff and exe to an existing JA2 installation, right? Also, check if the ja2.ini is empty and re-download if that is the case (just delete the file and let svn update again)


Re: Instructions for using SVN[message #316422] Wed, 20 March 2013 23:10 Go to previous messageGo to next message
tbird94lx

 
Messages:690
Registered:April 2002
Location: ohhhhhh canada
gave up months ago as svn just wouldnt work period..am glad i decided to d/l new tortoise svn thingie and try again..works fine now..just instaleld..created folder named svn for the crud and copied the link to the checkout thingie..easy peasy..didnt hafta do diddly squat else..is downloading fine and dandy like a bear with candy.bobs your uncle...YES..i'm still alive..go figure o.O


Re: Instructions for using SVN[message #316428] Thu, 21 March 2013 01:53 Go to previous messageGo to previous message
tbird94lx

 
Messages:690
Registered:April 2002
Location: ohhhhhh canada
pity whats in svn dosnt run ..did fresh install of ja2 then added the svn contents..game wont load..errors galore followed by a hit esc ..hohumm


Previous Topic: Release Notes
Next Topic: Quick Guide for Compiling and Debugging Source Code in Visual Studio
Goto Forum:
  


Current Time: Thu Oct 22 00:03:02 EEST 2020

Total time taken to generate the page: 0.02446 seconds