Ceres Posted June 29, 2021 Report Share Posted June 29, 2021 On 25/06/2021 at 1:37 PM, Grapjas said: My take on how you can easily install SVN (latest development build) on windows: Download and install (make sure you check the command line tools option) https://tortoisesvn.net/downloads.html Make a folder where you like, name it whatever you like. Open this folder. Click the adress bar, type cmd Reveal hidden contents into the screen that popped up copy & paste: svn co https://svn.wildfiregames.com/public/ps/trunk/ 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? 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted June 29, 2021 Author Report Share Posted June 29, 2021 (edited) @Grapjas Is my understanding correct that SVN has some advantage over GIT? SVN 1.14.1 or 1.10.5? (currently, I have only TortoiseGIT installed but will add TortoiseSVN) Edited June 29, 2021 by Ceres Quote Link to comment Share on other sites More sharing options...
Yekaterina Posted June 29, 2021 Report Share Posted June 29, 2021 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 1 Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted June 29, 2021 Report Share Posted June 29, 2021 And svn handles binary data(ie: images) better than Git. Enjoy the Choice 1 Quote Link to comment Share on other sites More sharing options...
Old Roman Posted June 30, 2021 Report Share Posted June 30, 2021 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! 2 Quote Link to comment Share on other sites More sharing options...
Grapjas Posted June 30, 2021 Report Share Posted June 30, 2021 (edited) @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 June 30, 2021 by Grapjas Quote Link to comment Share on other sites More sharing options...
Old Roman Posted June 30, 2021 Report Share Posted June 30, 2021 You're probably right! It was late and I was wondering why the command line didn't include the program name at the time. I think I was focused on getting the link alone properly copied 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted June 30, 2021 Author Report Share Posted June 30, 2021 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. Quote Link to comment Share on other sites More sharing options...
Old Roman Posted July 1, 2021 Report Share Posted July 1, 2021 Quote 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 1 Quote Link to comment Share on other sites More sharing options...
Ceres Posted July 1, 2021 Author Report Share Posted July 1, 2021 This is the parameter I mentioned: -writableRoot store runtime game data in root data directory https://github.com/0ad/0ad/blob/master/binaries/system/readme.txt Quote Link to comment Share on other sites More sharing options...
Ceres Posted July 2, 2021 Author Report Share Posted July 2, 2021 (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 July 2, 2021 by Ceres 1 Quote Link to comment Share on other sites More sharing options...
rollieoo Posted October 25, 2021 Report Share Posted October 25, 2021 Can the SVN version be installed on MacOS 11.6? If so, how? Quote Link to comment Share on other sites More sharing options...
Langbart Posted October 26, 2021 Report Share Posted October 26, 2021 (edited) 4 hours ago, rollieoo said: Can the SVN version be installed on MacOS 11.6? If so, how? Yes. Instructions are found here. wiki/BuildInstructions#macOS Spoiler Dependencies 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. Code 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 Everything is laid out here: wiki/BuildInstructions#Buildthegame Building takes about ~60min 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 October 26, 2021 by Langbart Quote Link to comment Share on other sites More sharing options...
rollieoo Posted October 27, 2021 Report Share Posted October 27, 2021 Gracias 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.