Jump to content

How to easily install SVN (latest development build) on Windows


Recommended Posts

On 25/06/2021 at 1:37 PM, Grapjas said:

My take on how you can easily install SVN (latest development build) on windows: 

  1. Download and install (make sure you check the command line tools option) https://tortoisesvn.net/downloads.html 
  2. Make a folder where you like, name it whatever you like. Open this folder. Click the adress bar, type cmd 
      Reveal hidden contents

    image.thumb.png.97358bec47f3ccbb04f12d2b6c58f82c.png

    481869321_Nieuwproject.thumb.png.48b3d38d5904a23188078b85205aaf57.png

  3. into the screen that popped up copy & paste: svn co https://svn.wildfiregames.com/public/ps/trunk/ 
  4. If it says 'At revivison xxxxx' it's done downloading. run \binaries\system\pyrogenesis.exe to start svn.

To update svn, right mouse click the folder, choose 'svn update'. 

(made this post for revival of the thread to attract new people for testing / showing easability to install)

I found this so useful and therefore quote it here. Maybe it can be pinned, so also new users, who would like to help, can see it immediately?

  • Like 1
Link to comment
Share on other sites

18 minutes ago, Ceres said:

Is my understanding correct that SVN has some advantage over GIT? SVN 1.14.1 or 1.10.5?

svn updates on the instant a patch is approved, so you can get the absolute latest and greatest. 

git waits for 1 day and updates every midnight. That means git is slightly more stable than svn because the devs have a few extra hours to correct any mistakes. But, you are a few hours behind svn people. 

both are fine for submitting diff

 

  • Like 1
Link to comment
Share on other sites

Thank you Ceres for pulling back the veil a little on getting the svn.

Despite including cmd line utilities while installing tortoisesvn my 64bit windows 10 installation was having none of it using the command line. I launched tortoiesvn then setup a new project and pointed at https://svn.wildfiregames.com/public/ps/trunk/  which it contacted successfully but soon realized it hadn't downloaded anything.

This morning I noticed the tortoise listings when right clicking on my created directory(maybe after the extra reboot from last night) and saw 'create repository here'.

Clicking this indeed created a local depository, though still empty.  I went back to right clicking and now noticed 'SVN checkout' and throwing caution to the wind I clicked it and it downloaded the repository.  (I did get some clues from the tortoisesvn online manual)

Clicking pyrogenesis.exe brought up the game which made me disable autociv after which I spent a pleasant morning playing 2 4X4s with the AI.  I will likely post my impressions elsewhere, but my final question is:

To download further revisions do I use SVN checkout?  Will launching from the depository pyrogenesis automatically recognize the changes?

PS I saved my .cfg file in a safe location but I don't think I'm going back to A24 again. Thankfully my beloved Romans seem to still be able to get the job done in A25

thanks again!

  • Like 2
Link to comment
Share on other sites

If you use another version in parallel, please consider that settings etc. might be overwritten.

Today I forgot this and observed the side effect that in the SVN game, a civic centre was from another civ than the other buildings. ;)

You can tell pyrogenesis.exe to store stuff in its root directory. The parameter is described in the readme. Sorry that I don't know if at the moment.

Link to comment
Share on other sites

Posted (edited)

I added a note in the Wiki for the GameDataPaths:

Quote

Note: When starting 0 A.D. with the -writableRoot start parameter, runtime game data are stored in the root data directory (only use if you have write permissions on that directory). In case of using an SVN version, this would be under \trunk\binaries\data\

This start parameter might be helpful for users who want to keep the release version besides an SVN version with the game data kept separate.

 

BTW, does the Atlas editor also make use of the -writableRoot start parameter? Does e.g. the following make sense?

C:\Users\JohnDoe\Documents\0AD\0ad_svn\trunk\binaries\system\pyrogenesis.exe -writableRoot -editor

 

Edited by Ceres
  • Like 1
Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...