Home » MODDING HQ 1.13 » v1.13 General Development Talk » Instructions for using SVN
Instructions for using SVN[message #56723] Sun, 13 August 2006 05:42 Go to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Installing 1.13 and SVN instructions


1) Download SVN from tortoise here. http://tortoisesvn.tigris.org/

2} Install tortoise after you download it.

3) Install Jagged Alliance 2 ( preferably 1.12 gold edition), it still will work with older versions, but "NOT" work with Wildfire.

4} Create a blank folder on your desktop. And name it anything you wish, the name dosen't matter to SVN.
4a) Word of caution! Always download to a new empty folder, then copy the files to your game directory. There seems to be a problem of missing files happening if you download directly into your JA2 install.

5} Right click the new folder you just created. A menu will popup. At the top of this menu you will see "SVN CHECKOUT" and just below that "TORTOISE SVN". You want to click on "SVN CHECKOUT". That will bring up the URL request. Type this in. "https://ja2svn.mooo.com/source/ja2/trunk/Documents/". Now it will ask you for a username nad password. "Username will be "TestUser" note the capital letters. "Password is testreadonly" then check the little box in the corner. Now your 1.13 should be downloading into the folder you created. It will take a while to download, it is approxmately 300 megabytes now.

6) Now that your finished downloading from the SVN it is time to add those files into your Jagged 2 folder. First open your JA2 directory. Probably be C: program files/jagged alliance 2 gold. Open that folder up. Now squeeze the size of it down a little to make room for you to now open the folder you just downloaded the 1.13 files from SVN. Open that folder up and put both folders side by side so you can view the contents of both folders fairly easily.

7) Ok, now "MOVE" or drag and drop each inividual file and or folder from the SVN folder you downloaded the files to into the JA2 folder. Let them overwrite everytime it asks you. Just say "YES" or "ALL" to overwrite the older files from the original JA2. The first one you move should be the one called "svn" move that 1st. Then move the other single files. Now move the folder called "DATA" this will take a few minutes because it is fairly big, and just say "ALL" when it stops and asks you if you want to overwrite. Now move the folder called "1.13 DATA", and do the same thing with your overwrite stops. "ALL" to everything.

Cool Now that you have "MOVED" all those files and folders from the folder you created for the SVN download, the folder should now be totally empty. You now have the option of dowloading the 1.13 again if you want a backup and want to keep that up to date with your JA2 folder. You only need to do this if you need to reinstall the game again. It just saves you from having to download it again.

9) Ok. Close both folders up. Now your back to the desktop. Now you want to see if there is any "UPDATES" available from the SVN. Open your JA2 directory again. Probably this time it will be "My computer, local disk C:, Program files, and then Jagged Alliance 2 Gold. "DON"T"open Jagged Alliance 2 Gold, instead "RIGHT CLICK" the folder. You will again see a menu popup. At the top you will see "SVN UPDATE" then "SVN COMMIT..." and "TORTOISE SVN". You want to choose "SVN UPDATE". It will now go to the URL that you put in at the begginning and automatically check for any updates that the modders have updated. They will download automatically into the appropriate places in your game, you don't have to do anything else there automatically updated. After they update it will give you the latest revision number. You can then view the log or say ok and close the process. That's all there is to it for the updating part. If you want to view only what is available before you update, "RIGHT CLICK" again and go to this time "TORTOISE SVN" there is right arrow there let it open and another bigger menu pops up. Click "VIEW LOG" and you can view all the files that are at the URL without updating.

10) One last thing. It is a good idea to backup your latest .EXE. To do this just "RIGHT CLICK" the exe called Ja2. "NOT" the one called "Ja2debug" that one is only used for testing the game for bugs. You should never need to use this. Now right click Ja2 and say "COPY", now go to your desktop and right click again and say "PASTE". Now you have a copy sitting there. Right click it and say "RENAME" and I usually reanme it to what the current exe is so if it your running JA2 429.exe then thats what you call it. After you rename it, drag and drop it back into your JA2 folder. What I do now is right click it once again and say "SEND TO" "desktop(create shortcut). Now you have that shortcut on your desktop and you can run the game from there without having to open JA2 folder to run the game.

That's about all there is to it. Refer to other forum posts for more info.

Edit: that there is no JA2.exe coming with the SVN repository


Good Luck big grin

[Updated on: Tue, 08 October 2019 04:28] by Moderator



Re: Instructions for using SVN[message #56728] Mon, 14 August 2006 03:56 Go to previous messageGo to next message
bkp57

 
Messages:11
Registered:July 2006
Location: Washington, PA, USA
here's my method... it sounds a bit different from what Marlboro Man describes... I want someone to tell me if I am doing something wrong?

I did steps 1 through 5 above. But, here is where I do something different.

I right-click the downloaded content folder -> SVN Update. After the updates are done, I right-click the folder again -> TortoiseSVN -> Export.. and export the whole content folder to another temporary folder.

Once it is exported, I simply cut-and-paste the whole thing into my JA2 folder, overwriting all files.

Is this the wrong way to do it? I had heard that TortoiseSVN doesn't like to copy and paste, so I came up with this. I've had no game problems, so I assume that I am doing something right... the only thing I have to do is check my JA2_options.ini and edit a couple of parameters because my game crashes with reinforcements enabled...

All input is welcome, please!

bkp57
Re: Instructions for using SVN[message #56729] Mon, 14 August 2006 04:43 Go to previous messageGo to next message
NonWonderDog
Messages:2
Registered:July 2006
You don't need to export, and I believe that all "Export" does is download everything without the version information.

I'm probably wrong, since I've never used it, but I thought "Export" was used when you wanted a static copy with nothing but the program files. Since it doesn't contain the version information, you won't be able to update it directly.
Re: Instructions for using SVN[message #56730] Mon, 14 August 2006 07:36 Go to previous messageGo to next message
Biernath_J

 
Messages:167
Registered:August 2003
Location: Poland
I don't care about automatic updates and copy&paste galore.
I set my ja2 folder as svn checkout. Then I launch the repo-browser, sort by date and export/save as the newest files I see. That's all.
Re: Instructions for using SVN[message #56742] Wed, 16 August 2006 22:27 Go to previous messageGo to next message
Toast
Messages:3
Registered:June 2002
Quote:
The first one you move should be the one called "svn" move that 1st. Then move the other single files.
I don't see an actual file or folder called SVN in my download folder.
Re: Instructions for using SVN[message #56743] Wed, 16 August 2006 22:40 Go to previous messageGo to next message
Snakus
Messages:3
Registered:June 2006
Location: Finland
Quote:
Originally posted by Toast:
Quote:
The first one you move should be the one called "svn" move that 1st. Then move the other single files.
I don't see an actual file or folder called SVN in my download folder.
You have to display the hidden files too.
Re: Instructions for using SVN[message #56744] Thu, 17 August 2006 12:46 Go to previous messageGo to next message
Toast
Messages:3
Registered:June 2002
thanks! I'm actually a bit embarassed that I didn't think of that myself...
Re: Instructions for using SVN[message #56745] Fri, 18 August 2006 02:47 Go to previous messageGo to next message
LazyPete

 
Messages:8
Registered:June 2002
Location: Tallinn, Estonia

Uuuuuuuh, does this program require opening any ports? Dang, it's downloading so slowly.

Isn't it possible to have TortoiseSVN just overwrite the initial files of my 11.3-modded JA2 install off the bat, so I don't have to download all the files by Tortoise? Right now when I try to SVN Update, it say's there's already a file named fmod.dll. Can't I have it overwrite it at once?
Re: Instructions for using SVN[message #56746] Fri, 18 August 2006 08:03 Go to previous messageGo to next message
Scooly

 
Messages:56
Registered:June 2003
Location: Lublin - Poland

My polish version using TortoiseSVN for update v1.13:
http://jaggedalliance.pl/forum/topics19/jak-byc-na-biezaco-z-v113-vt1359.htm
Re: Instructions for using SVN[message #56747] Sat, 19 August 2006 04:49 Go to previous messageGo to next message
NonWonderDog
Messages:2
Registered:July 2006
Unfortunately, you must check out every file with a SVN client before you can use automatic updates. Otherwise, there is no way for the program to know what version your files are, or if you've modified them.

In addition, TortoiseSVN is designed to NEVER overwrite unversioned files with versioned ones, and there is no option to do so.

The only way to set up a SVN working copy is to check out everything to a temp folder and copy it over your JA2 folder.
Re: Instructions for using SVN[message #56748] Thu, 24 August 2006 08:07 Go to previous messageGo to next message
abradley

 
Messages:227
Registered:December 2001
Can I install JA2 Urban Combat on my system or will this interfer with SVN and JA2 113?
Re: Instructions for using SVN[message #56749] Fri, 25 August 2006 01:20 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Since that is a seperate mod, you will need a seperate install of JA2. Like on another harddrive if you have another available.

Smile


Re: Instructions for using SVN[message #56752] Sat, 26 August 2006 21:16 Go to previous messageGo to next message
Doomhunk

 
Messages:26
Registered:October 2004
Location: england
I have just done the impossible thanks to your help Marlboro Man and installed (i think correctly!)SVN thanks to your help.

Thats one of the reasons i think JA has done so well as a game due to the community of people such as yourself (muggsy,kaiden etxc..) willing to help others.
Re: Instructions for using SVN[message #56754] Sun, 27 August 2006 05:38 Go to previous messageGo to next message
SharkD

 
Messages:359
Registered:July 2003
In the past I've heard that the versioning information SVN uses to keep track of files can be distributed with the releases so that new users don't have to download the entire SVN hierarchy when they want to update. Am I correct?
Re: Instructions for using SVN[message #56755] Sun, 27 August 2006 06:02 Go to previous messageGo to next message
ShadoWarrior

 
Messages:248
Registered:January 2006
Location: Twilight Zone
The SVN directories are normally hidden on a user's machine. But I don't see any technical reason why they couldn't be included in a distribution. Whether it's desirable to do so is another matter. Bear in mind that the majority of new users have no idea what SVN is and the inclusion of all the SVN files might confuse them, even if there's a README file explaining everything. People are notorious about not reading README files.

Re: Instructions for using SVN[message #56756] Sun, 27 August 2006 06:11 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
I am not exactly sure I am following what your asking. Do you mean the big "releases" like the one back in July? And then updating using Laliens .EXEs ? Laliens .EXE stopped at 407. So your wanting to know if SVN will just pick up from that point? And only update from there up. To be honest I really dont know. I have never actually tried it that way. Seems logical that it "might". Somebody more in the know could probably help you better than I can. Lalien or Mugsy will surely know.

All I can say is try it and see.

Smile


Re: Instructions for using SVN[message #56757] Sun, 27 August 2006 06:15 Go to previous messageGo to next message
ShadoWarrior

 
Messages:248
Registered:January 2006
Location: Twilight Zone
@MM: I think Mikail is asking that the "big" release packages include all the SVN info so that any new user who installs the big package, and then installs SVN, doesn't have to download the entire repository the first time they use SVN, only any files that have changed since the big package was released.

Re: Instructions for using SVN[message #56758] Sun, 27 August 2006 06:47 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Thats actually a good question. I suppose if you know where the big release files stop, and where the SVN files should pickup from, then you would only need to download from SVN to that point. I really don't think SVN will see this on it's own and will download the full repository reguardless, unless you specify a starting and stopping point. You would still need to download 1st time dumps into it's own folder. And move them into your game. Since SVN will not be associated with your game until after you move the files to it.

By the time you go to all that trouble trying to figure out what files you will need, the download would probably be already completed.

Another thing I don't think the big releases have included the SVN info. How could it? I have read that some other people don't even use tortoise, there using another type of downloader.

I'll stop now I think I am making it more complicated than it really is.

Smile


Re: Instructions for using SVN[message #56759] Mon, 28 August 2006 06:11 Go to previous messageGo to next message
flybyu

 
Messages:44
Registered:August 2005
Location: Indiana U.S.A
OK I just followed your steps and it is D/L the updates now but it didn't ask for a password or anything else it just started D/L.
Re: Instructions for using SVN[message #56760] Mon, 28 August 2006 06:17 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
That whole password thing is squirrely has hell. Some people use nothing and others use only username. I was just going by how it worked for me in the instructions. But if you are downloading then thats a good thing.

Smile


Re: Instructions for using SVN[message #56761] Sun, 24 September 2006 13:51 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
Hi, I've been away for a long time, how do I download 1.13 if I just want to play it in it's current state? Do I still need this SVN thing? I also tried using the links in...I believe...Madd Mugsy's sig line, but the links were broken.

So again...How do I download this so I can actually play it?
Re: Instructions for using SVN[message #56762] Sun, 24 September 2006 13:58 Go to previous messageGo to next message
ShadoWarrior

 
Messages:248
Registered:January 2006
Location: Twilight Zone
Please define what you mean by "it's current state".

There was a packaged release on Sept. 01, available on the Wiki site. But there have been many changes since then. If you want those newer changes you'll need SVN to get them, unless you wait for the next packaged release.

Re: Instructions for using SVN[message #56763] Mon, 25 September 2006 05:13 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
The current version?
Re: Instructions for using SVN[message #56764] Mon, 25 September 2006 06:20 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
You can download the latest 502 build here.

http://files.moddb.com/4065/download-full-version-502-september-2006/

Here is the wiki site for alot of 1.13 info.

http://ja2v113.schtuff.com/

SVN is the way to go though. And you can keep it up to date as bug fixes and additions are added to the game. Just follow these instructions at the top of this page.

Smile


Re: Instructions for using SVN[message #56765] Mon, 25 September 2006 09:01 Go to previous messageGo to next message
ShadoWarrior

 
Messages:248
Registered:January 2006
Location: Twilight Zone
Longshot, "current" is a vague question. The "current" version on the Wiki (the links that Marlboro just gave you) is 502. The "current" version on SVN is 555. Which "current" are you referring to?

Re: Instructions for using SVN[message #56766] Mon, 25 September 2006 12:04 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
Quote:
Current is a vague question
It is?...

Anyway, I think I meant 555, but as I now have been playing 502, I'm relativley happy though I notice a couple bugs...Ah well, at least I finally go this.
Re: Instructions for using SVN[message #56767] Mon, 25 September 2006 12:34 Go to previous messageGo to next message
Kaiden

 
Messages:510
Registered:September 2003
@Longshot, you're not alone playing the official releases. I know RoWa21 wants to release one monthly, so you won't have to wait long for bugfixes and new features. Even better, 502 was released on September 2nd, which means the next release could only be a few weeks out.

EDIT: Also, the confusion was over SVN releases, which are more development builds still in testing versus Official Release builds which are packaged with installers and released for download without having to have access to the SVN.

502 is the official latest release build. 555 is the latest SVN development release.


Re: Instructions for using SVN[message #56768] Mon, 25 September 2006 16:28 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
Ahhhh...ok, now I see what he meant by confusing. My original question then, should have been, "DO I have to download this SVN thing to play the latest official release?" To which the answer, I presume, would have been "No, version 502 was released on September 02, with a newer release in the works hopefully within a few weeks".

BTW- have the bugs with the multiple IMPS been worked out already?
Re: Instructions for using SVN[message #56769] Mon, 25 September 2006 17:14 Go to previous messageGo to next message
ShadoWarrior

 
Messages:248
Registered:January 2006
Location: Twilight Zone
Quote:
Originally posted by Longshot:
BTW- have the bugs with the multiple IMPS been worked out already?
Not fully. Please go look at the thread in the BUG forum where that bug is being discussed, rather than ask about it in this thread where it's way off-topic. thx

Re: Instructions for using SVN[message #56770] Tue, 26 September 2006 10:40 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
Quote:
Please go look at the thread in the BUG forum where that bug is being discussed, rather than ask about it in this thread where it's way off-topic. thx
Jeez...what is everyone so touchy for? I looked in the bug thread first, but didn't see anything relating to what I'm talking about.

Anyway, The reason I asked was to determine whether or not I should try the svn thingy or just stick with the official builds, not to...critisize anyone. So it wasn't as off-topic as you thought. I guess...
Re: Instructions for using SVN[message #56771] Tue, 26 September 2006 10:51 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
@ Longshot

Yes. The multiple IMPs is working great now. Roman just stomped the last bug problem today. Smile

And yes if you want to stay up to date and get all the new stuff early I would go the SVN route. It is a very good system and fairly easy to use once you get the hang of it.

If you use SVN you join the ranks of bug testers too. Which is a good thing too. Smile


Re: Instructions for using SVN[message #56772] Wed, 27 September 2006 12:34 Go to previous messageGo to next message
Longshot

 
Messages:44
Registered:November 2002
Location: Columbia, Mo.
Thank You, MM. I appreciate the info, when I get time I'll consult this thread further to see about getting it working.
Re: Instructions for using SVN[message #56773] Wed, 27 September 2006 13:08 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Quote:
Originally posted by Longshot:
Thank You, MM. I appreciate the info, when I get time I'll consult this thread further to see about getting it working.
NP Smile If you have any questions don't hesitate to ask.


Re: Instructions for using SVN[message #56775] Fri, 03 November 2006 08:04 Go to previous messageGo to next message
cmorgan
Messages:3
Registered:October 2006
raw recruit question... (by the way, I truly appreciate returning to JA2 to find it so much improved and fixed; got completely taken to the woodshed last night and realized that it was time to learn small arms combat tactics!!! You folks have been seriously overhauling this game.)

If I make a change to xml files (for example, starting cash or assigned IMP items), will I be stopping SVN from updating those files with changes and corrections?
Re: Instructions for using SVN[message #56776] Fri, 03 November 2006 08:55 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Anything you change in your .ini file, the little notepad in your 1.13 data folder where you make changes to the game, starting cash and all that, is OK with SVN, it will just merge if they make any changes to it. But if you change XMLs they will probably get conflicted. Your best bet is copy the original and save it somewhere. Then make your changes. Then copy that and save it somewhere too. Then when you update and get a conflicted file you can just delete the conflicted file and run SVN again and it will replace the original. After your all updated then you can copy and paste back in your modified XML and start playing again.


Re: Instructions for using SVN[message #56777] Sat, 04 November 2006 06:29 Go to previous messageGo to next message
cmorgan
Messages:3
Registered:October 2006
Got it... if I change the .ini, changes merge. If I change the IMPItems xml materials, I should backup the original data, edit, back up the personalized version file, and continue to play. If I run into a conflicted file (identified by a red exclamation point?), restore the original and rerun SVN; then either add back my personalized xml or (better yet) toss up the new version with my personal version in ConTEXT or Crimson or some such editor, and re-edit.
Re: Instructions for using SVN[message #56778] Sat, 04 November 2006 07:33 Go to previous messageGo to next message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Only the ones that say conflicted need to be fixed. Usually you will see a yellow triangle and it will tell you that you have a conflicted file. The red exclamations are OK, you will see those when make changes. It is just telling you that the files are different from the original, and SVN noticed it. You can pretty much ignore them. I look at it at least as a way of knowing what I changed.


Re: Instructions for using SVN[message #56779] Fri, 10 November 2006 07:22 Go to previous messageGo to next message
cmorgan
Messages:3
Registered:October 2006
Thank you for the info - and (though off-topic) a huge thank you to the whole modding team. I have replayed game start to the end of the attempted retake of Drassen 6 times now, just enjoying exploring the changes. I am forcing myself to continue, although it will be "lambs to the slaughter" time until I work out better tactics. This is more times than I played the original game from start to finish... Cool
Re: Instructions for using SVN[message #56780] Tue, 21 November 2006 21:45 Go to previous messageGo to next message
R34

 
Messages:22
Registered:November 2006
Location: France
I've a problem with the svn update.
I've dowloaded, installed SVN and reinstalled ja2 (1.06 french version) to refresh my ja2 installation (i was 1.13.407).
SVN didn't ask me any password or username before dowloading the entire mod. When SVN finished downloading I dragged and dropped all files in my ja2 folder and closed all windows. Then I runned the game to see what was changed. I've seen the ja2 version (1.13.631) but after that there is a melting-pot of different screen of the game.
I arrive directly to the laptop screen with the little box "You have new E-mail." And there is behind this box the first menu with "New game Continue game Credits Quit etc..."
And over all this I've the help menu when we arrive in Arulco which explains shorts cuts keyboards, mercs characteristics and ohters infos.
I can't do anything, just close the help menu. After that nothing is functional.
I have to use ctrl+alt+suppr to return to windows.
An other thing when i decide to update my ja2 version with svn by right-clicking on my ja2 folder I didn't have tortoise svn in the pop-up menu. I can just updating the 1.13 data folder in the ja2 folder after asked me the username and the password which doesn't work !
What's wrong ?
Sorry for my poor english.
Re: Instructions for using SVN[message #56781] Wed, 22 November 2006 13:50 Go to previous messageGo to previous message
Marlboro Man

 
Messages:1203
Registered:October 2005
Location: USA
Hello R34,
First off SVN, sometimes asks you for a username and password and sometimes it dosen't. It's kind of strange really, but as long as you put in the correct URL and it downloads then your fine. One other thing I need to change in those SVN Instructions, is that copy and pasting works also, other than dragging and dropping. If you copy and paste then you get to keep all the files you just downloaded in the folder and you can keep that as a backup and keep it updated too.
My question for you is, do have "hidden files" enabled. And if so did you also copy the folder labeled .svn into your game directory as well, you need that for SVN to work.
All I can suggest is to do it all over again. You must have missed a step or something was corrupted in the download. Just follow those SVn instructions again and let us know how you make out.

Edit: @ Roman or Lesh or Kaiden. Is 1.13 able to work with the french version of JA2 ?


Previous Topic: Quick Guide for Compiling and Debugging Source Code in Visual Studio
Next Topic: SVN Server Support
Goto Forum:
  


Current Time: Sat Jun 06 07:07:38 EEST 2020

Total time taken to generate the page: 0.01879 seconds