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



  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

@Old Roman, just to double check, you pasted "svn co https://svn.wildfiregames.com/public/ps/trunk/" without the quotes in command prompt and not "https://svn.wildfiregames.com/public/ps/trunk/", right?


To update SVN, right mouse click the folder where you downloaded it and click "SVN update".

Edited by Grapjas
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




6 hours ago, Grapjas said:

@Old Roman, just to double check, you pasted "svn co https://svn.wildfiregames.com/public/ps/trunk/" without the quotes in command prompt and not "https://svn.wildfiregames.com/public/ps/trunk/", right?


Thank you as well Grapjas

Searching the thread back I see that it was your original suggestion

  • Like 1
Link to comment
Share on other sites

I added a note in the Wiki for the GameDataPaths:


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

  • 3 months later...
4 hours ago, rollieoo said:

Can the SVN version be installed on MacOS 11.6? If so, how?

Yes. Instructions are found here.



I like to work with Homebrew because it allows you to install all the dependencies effortlessly. Here are the steps:

  • install Homebrew (open "Terminal" and enter the command from https://brew.sh/)
    • it will automatically install the command line tools for Xcode as well
  • in "Terminal" enter "brew install cmake rust"
  • Done. You have all the dependencies, you don't need to install the Xcode app from the AppStore, but you can.


  • Now you need the code, I am working with the SVN version because the GIT version lacks one day behind.
  • macOS no longer supports SVN command line tools, you need to install them. Run "brew install subversion" in your terminal.
  • Run the SVN checkout command, you will find it here: wiki/BuildInstructionsGettingTheCode#SubversionSVN2 

Build the game

Start the game

  • Start: ~/0ad/binaries/system/pyrogenesis
  • You will see some greysih textures for a brief moment when running it for the first time, it is just caching.

Keep up to date

For simplicity, add the following to your .zshrc file. Just type "update" in your terminal to get the latest changes and compile them.

  • alias update="cd ~/0ad &&  svn up &&  cd build/workspaces && ./update-workspaces.sh -j5 && cd gcc && make -j5 && cd ~/0ad/binaries/system && ./test && cd ~/0ad && svn info"

Where is the .zshrc file on Mac?

Edited by Langbart
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.

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.


  • Create New...