UFO:Alien Invasion

Development => Mapping => Topic started by: nemchenk on February 12, 2008, 04:39:38 pm

Title: Trying to "make maps"
Post by: nemchenk on February 12, 2008, 04:39:38 pm
Hi All,

I've got a "make maps" running (for like 24 hours now :( ) and I just notice this in the output of each map:
Could not load image pk3 (/home/dn/Documents/dev/ufoai/trunk/base/0pics.pk3)

Looks kinda fatal to me -- should the make not abort at that point? I've looked, and "make" has not produced any pk3 files in ufoai/trunk/

Any ideas?


Thanks in advance,

nemchenk
Title: Re: Trying to "make maps"
Post by: mattheus on February 12, 2008, 05:48:43 pm
Dont worry! This is not fatal, game works still if you have finished make maps. Game even runs before, but until some maps are not compiled you may encounter missions where map is not available.
make maps produces from every mapname.map file mapname.bsp file. They aren't packed together.
Title: Re: Trying to "make maps"
Post by: nemchenk on February 12, 2008, 05:50:30 pm
Ah ok :) Just worried that 24h later I will have maps without textures or smth :D


Thanks!

nemchenk
Title: Re: Trying to "make maps"
Post by: nemchenk on February 12, 2008, 07:44:31 pm
ooh... neat new Geoscape!  ;D
Title: Re: Trying to "make maps"
Post by: nemchenk on February 12, 2008, 08:53:52 pm
but no textures in Battlescape :( Trying archives.sh right now...
Title: Re: Trying to "make maps"
Post by: nemchenk on February 26, 2008, 01:54:55 am
I just noticed, while "make maps"ing on a quad-core Xeon at work, that ufo2map does not seem to be CPU or IO bound! Even on this mega-machine :) one ufo2maps is leaving about 75% CPU free. I wonder what is holding ufo2map up?

For those compiling slowly: If your CPU can take it, you can speed up the map compilation by using "make maps -j X", where X is the number of jobs you want to run in parallel. So, in the example above "-j 3" should triple the compilation speed while still leaving the machine responsive.
Title: Re: Trying to "make maps"
Post by: Mattn on February 26, 2008, 07:26:38 am
but no textures in Battlescape :( Trying archives.sh right now...

should also work without archives.sh - this just generates the pk3 files.