project-navigation
Personal tools

Author Topic: problem with compiling maps (r29501)  (Read 11943 times)

ChemBro

  • Guest
problem with compiling maps (r29501)
« on: April 21, 2010, 02:07:55 pm »
Map "maps/city/citybldl_4x4_2a.map" takes really long to compile (actually, I stopped it before it could finish). The part with "Lighting" takes about 30 min in "FACELIGHTS" from 0 to a 2. Other maps compiled in this section in 30 seconds.

Any advise on that one?

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: problem with compiling maps (r29501)
« Reply #1 on: April 21, 2010, 02:33:19 pm »
Wait some hours.

Offline Borsti67

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #2 on: April 21, 2010, 08:32:18 pm »
Kildor, charming as ever. ;D

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #3 on: April 21, 2010, 09:40:34 pm »

ChemBro

  • Guest
Re: problem with compiling maps (r29501)
« Reply #4 on: April 21, 2010, 11:32:57 pm »
Yeah, well, for a "part-time" tester, this is not the answer I was looking for. Oh well... *compiles*

Though I don't think, this is "tester friendly".

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #5 on: April 21, 2010, 11:57:52 pm »
Thx for confirming my point of view ;)

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #6 on: April 23, 2010, 12:29:44 am »
Just for the record:
That map takes nearly 2.5 hours to compile on my i7 :(

Offline Mechatronix

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #7 on: April 23, 2010, 03:43:48 am »
Just downloaded latest svn and it is taking more than 2 hours to compile the maps. This is on an i7...

And Duke, you just said it took 2 hours to compile one map...

What sort of time frame am i looking at for all the maps?

(It started going slow around japan/ja_main)

Offline Mechatronix

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #8 on: April 23, 2010, 03:48:16 am »
nvm... it just finished

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #9 on: April 23, 2010, 09:31:52 am »
all maps done
complete ufo2map time:   03:00:50
AMD K8 2x2GHZ
using optimized ufo2map (make_UfoAI_win32)

by hand ....
speed up ufo2map.exe over 100% (gcc optimization)


Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #10 on: April 23, 2010, 09:49:34 pm »
Just for the record:
That map takes nearly 2.5 hours to compile on my i7 :(

Umpf... actually it was 3.5 hours, but I used the debug version of ufo2map, doh !
With the release verion it's 'only' 40 minutes.

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #11 on: April 24, 2010, 05:06:34 pm »
Umpf... actually it was 3.5 hours, but I used the debug version of ufo2map, doh !
With the release verion it's 'only' 40 minutes.
Is it possible to divide debug and release version for the game and ufo2map?

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #12 on: April 24, 2010, 08:52:20 pm »
Is it possible to divide debug and release version for the game and ufo2map?
Yes, and that's already the case.

ChemBro

  • Guest
Re: problem with compiling maps (r29501)
« Reply #13 on: April 30, 2010, 11:32:04 pm »
Is there a way to let my video card compile these two maps? My dualcore compiles over 6 hours... Or can I exclude these two maps? 6 hours compiling this stuff is 6 hours more I have to wait, until I can begin this savegame-testing...

It's very frustrating.

EDIT: Sorry, it's one map (but two lengthy compile processes day/night).
« Last Edit: April 30, 2010, 11:44:22 pm by ChemBro »

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: problem with compiling maps (r29501)
« Reply #14 on: April 30, 2010, 11:52:05 pm »
You could rename them to sth like *.ma2, but they will come back with every svn update.