UFO:Alien Invasion

Development => Coding => Topic started by: Sticky Mcbud on September 11, 2008, 09:17:27 pm

Title: About updating from svn
Post by: Sticky Mcbud on September 11, 2008, 09:17:27 pm
ok when i update the svn and recompile two questions.


First does it overwrite the already compiled maps ect...

Second do i have to recompile all the maps again and rebuild the pk3 files for the new build.



Sorry once again i am very new to this. 
Title: Re: About updating from svn
Post by: Mattn on September 12, 2008, 06:59:00 pm
no, it only compiles the binaries - not the maps - and calling the batch file will only (re-)compile those maps, that were changed in the meantime. you also don't need pk3 files if you are using a svn checkout.
Title: Re: About updating from svn
Post by: blondandy on September 15, 2008, 07:21:16 pm
your working copy has versioned and non-versioned files. the *.map files will be changed when you checkout or update your working copy.

when you compile them you get *.bsp files (which ufo uses). these files are not versioned, so svn update will not change them. hope that's clear!

so if you can't be bothered to recompile the maps you can keep using the old compiled ones. this works until a smart-arse dev introduces new maps or renames some or whatever. then you will get an error in the ufo console about a missing bsp (or something). then you must recompile the maps.
Title: Re: About updating from svn
Post by: Sticky Mcbud on September 15, 2008, 09:08:47 pm
no worries on the recompileing the maps i was just making sure i was not doing too much when i get a new build to test. 

another question about the svn updateing... i am presuming when a file is taken out of the svn like just recently when the industrial map was removed as it was not needed anymore.   I have to manually delete it from my working version correct?
Title: Re: About updating from svn
Post by: ghosta on September 15, 2008, 10:06:20 pm
just the industrial.bsp file. industrial.map gets deleted