Title: how to download latest openarena content with subversion Post by: vertexoteric on February 18, 2007, 01:37:12 PM hello,
i'm using ubuntu and i've just downloaded the most recent openarena content using subversion. i've written a little howto for anyone who's interested. firstly i installed subversion with this command... sudo apt-get install subversion ... then i made sure i was in my home directory by typing... cd ...then i used subversion with the co (checkout) subcommand to download all the files... svn co http://openarena.ws/svn/ ...this created a folder called svn in my home directory and downloaded everything into it. i then renamed the svn folder to something more memorable, openarena-subversion, with this command... mv svn openarena-subversion ...i now have an up to date copy of all the files for openarena. any time i want to update it all i had to do is go into the folder and get subversion to update with... cd openarena-subversion svn update ...i hope this will be useful to someone. vertexoteric Title: Re: how to download latest openarena content with subversion Post by: dmn_clown on February 18, 2007, 03:04:24 PM svn co http://openarena.ws/svn/ ...this created a folder called svn in my home directory and downloaded everything into it. i then renamed the svn folder to something more memorable, openarena-subversion, with this command... mv svn openarena-subversion You, don't need that step: Code: svn co http://openarena.ws/svn/ /openarena-subversion/ Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 18, 2007, 03:12:52 PM thanks for the tip.
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 18, 2007, 04:30:55 PM i've noticed a file called Build-pieced.bat that seems to be designed to package the files into pk3 files. am i right in assuming this is a windows batch file? is there a linux equivalent?
Title: Re: how to download latest openarena content with subversion Post by: Blaenk on February 18, 2007, 05:07:36 PM It's almost identical in linux, just rename it to .sh and use bash to run it, you might have to change a couple things around but it's almost identical.
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 18, 2007, 05:50:21 PM thanks, i did that and it worked pretty well. it stumbled a few times on the rem command, which i guess i should replace with a # and there were a few times it tried to zip stuff that doesn't seem to be there anymore, but apart from that it was pretty good. i might go through it, swap the rems for #s and tidy up the references to the bits that aren't in the svn.
i haven't had a chance to use the pk3s yet, but i'll try them out tomorrow. Title: Re: how to download latest openarena content with subversion Post by: dmn_clown on February 18, 2007, 11:53:37 PM It's almost identical in linux, just rename it to .sh and use bash to run it, you might have to change a couple things around but it's almost identical. No, actually it's not. The syntax is wrong for the Unix Zip. Code: #!/bin/sh That would be the correct syntax for a GNU/Linux buildpk3 script. The windows batch script only appears to work properly while ignoring several files that it should be including and including files that it should be ignoring. Title: Re: how to download latest openarena content with subversion Post by: Blaenk on February 19, 2007, 01:14:35 AM Woops, sorry. I use my own scripts, that work perfectly on either Operating System (Mac as well), I simply cd into the folder and recursively add it's contents to a pk3, it's that easy, of course, I'm not contaminating my tree with svn so that explains the exclusion parts.
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 19, 2007, 03:18:48 PM hello dmn_clown,
is that code you posted the correct linux code? or just the windows batch script with #!/bin/sh put at the start. Title: Re: how to download latest openarena content with subversion Post by: dmn_clown on February 19, 2007, 04:28:49 PM That is the correct code for a make pk3 script using the GNU/Linux version of zip.
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 19, 2007, 05:26:27 PM nice one, thanks for that.
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 21, 2007, 01:29:05 PM i used the linux script to build the paks and it worked fine. lots of improvements and it looks great, but i can't connect to games servers. is that because my paks aren't standard and the servers are pure?
it's not a problem, i made a copy of my openarena folder to put the new paks in, so i can still use the original to connect to servers. Title: Re: how to download latest openarena content with subversion Post by: dmn_clown on February 22, 2007, 08:08:02 AM Yes, and if you do connect to a non-pure server that has earlier versions of maps you will get an "inline model error."
Title: Re: how to download latest openarena content with subversion Post by: vertexoteric on February 22, 2007, 12:34:37 PM interesting, thanks for the info.
Title: Re: how to download latest openarena content with subversion Post by: BlackHawk22 on March 17, 2007, 02:07:36 AM w...t...f...
Am I a complete moron...? What about XP users? Title: Re: how to download latest openarena content with subversion Post by: Blaenk on March 17, 2007, 12:19:35 PM Yes, you are a complete moron. Follow the instructions in the first post or google for TortoiseSVN, download it and install it, then right click somewhere and for the checkout url, type in http://openarena.ws/svn/ then choose where you want to download the stuff. Once that's done, you can build/package everything (The pk3's) with the batch file, simply double click on it :)
Don't ask questions again until you've tried. |