Instructions for using SVN[message #56723]
|
Sun, 13 August 2006 05:42
|
|
Marlboro Man |
  |
Messages:1171
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.
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
LATEST LINKS:
Development GameDir:
https://ja2svn.mooo.com/source/ja2_v1.13_data/GameDir/
Development Code:
https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13
For a development exe you either compile your own from the source code or use one from Depri's SCIs: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20380&prevloaded=1&&start
Good Luck
[Updated on: Tue, 11 October 2022 21:27] by Moderator Report message to a moderator
|
|
|
|
Re: Instructions for using SVN[message #56728]
|
Mon, 14 August 2006 03:56 
|
|
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
Report message to a moderator
|
Private
|
|
|
Re: Instructions for using SVN[message #56729]
|
Mon, 14 August 2006 04:43 
|
|
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.
Report message to a moderator
|
Civilian
|
|
|
|
Re: Instructions for using SVN[message #56742]
|
Wed, 16 August 2006 22:27 
|
|
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.
Report message to a moderator
|
Civilian
|
|
|
Re: Instructions for using SVN[message #56743]
|
Wed, 16 August 2006 22:40 
|
|
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.
Report message to a moderator
|
Civilian
|
|
|
|
|
|
Re: Instructions for using SVN[message #56747]
|
Sat, 19 August 2006 04:49 
|
|
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.
Report message to a moderator
|
Civilian
|
|
|
|
|
|
|
|
|
|
|
Re: Instructions for using SVN[message #56759]
|
Mon, 28 August 2006 06:11 
|
|
flybyu |
 |
Messages:43
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.
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Instructions for using SVN[message #56775]
|
Fri, 03 November 2006 08:04 
|
|
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?
Report message to a moderator
|
Civilian
|
|
|
|
Re: Instructions for using SVN[message #56777]
|
Sat, 04 November 2006 06:29 
|
|
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.
Report message to a moderator
|
Civilian
|
|
|
|
|
|
|