Technical support > Mac
Trouble getting 2.3 development to compile -- What do I do with the maps?
keybounce:
I'm trying to get 2.3 development to build on a mac.
The contrib/scripts/map-get doesn't work
Kleiman-ibook:trunk michael$ contrib/scripts/map-get
Usage: map-get [options] command
Commands:
upgrade - make sure all maps are up to date
generate DST - generate or update repository dir DST
(probably not what you want)
Options:
-h, --help show this help message and exit
-v, --verbose
Kleiman-ibook:trunk michael$ contrib/scripts/map-get upgrade
getting list of available maps
WARNING ufo2map version mismatch
Continue? [Y|n]n
Alright, this is a flaw. The "How to compile" page says to use this script, but it doesn't work!
Manually fetching ...
curl http://voxel.dl.sourceforge.net/sourceforge/ufoai/ufoai-2.2-maps.zip > ufoai-2.2-maps.zip
*** BUT NOTHING TELLS ME WHERE TO PUT THIS ***
What do I do with this .zip file after I fetch it?
I am stuck. I may have a nice "simple" "script" for getting this all compiling on a virgin mac, but I have no clue what to do with the maps.
keybounce:
Trying to figure out what the "make pk3" wants, hoping that will tell me what's up with the maps
Kleiman-ibook:trunk michael$ make -n pk3
make -f build/data.mk pk3
zipinfo: cannot find or open base/0pics.pk3, base/0pics.pk3.zip or base/0pics.pk3.ZIP.
cd base; zip -u9 0pics.pk3 pics/airfight/forest1.jpg ...
zip -d base/0pics.pk3
zipinfo: cannot find or open base/0models.pk3, base/0models.pk3.zip or base/0models.pk3.ZIP.
cd base; zip -u9 0models.pk3 models/aircraft/craft_arm_plate/plating.md2 ...
It's not doing nothing (the -n flag) -- it's still trying to assemble stuff.
keybounce:
May I suggest not storing this file in .zip form?
Kleiman-ibook:trunk michael$ ls -l *maps*
72160 -rw-r--r-- 1 michael michael 73888236 Jan 11 2008 0maps.pk3
71324 -rw-rw-r-- 1 michael michael 73032542 Mar 13 19:22 ufoai-2.2-maps.zip
A savings of 800K, on a 7 MB file, maybe that should just be stored as a .pk3 file?
keybounce:
Aha! After unzipping, the file goes into base/. Continuing ...
keybounce:
Ok, this is a show stopper. I need help at this point.
curl http://voxel.dl.sourceforge.net/sourceforge/ufoai/ufoai-2.2-maps.zip > ufoai-2.2-maps.zip
unzip ufoai-2.2-maps.zip
mv 0maps.pk3 base
make pk3
Kleiman-ibook:trunk michael$ ls base/0maps.pk3
20 base/0maps.pk3
Only 20?
cd base; zip -u9 0maps.pk3 maps/africa.ump maps/alienbase.ump maps/bomber_city.ump maps/bridge.ump maps/cemetery.ump maps/city_disco.ump maps/community_centre.ump maps/construction.ump maps/country.ump maps/druglord.ump maps/eaglenest.ump maps/farm.ump maps/forest.ump maps/frozen.ump maps/gasstation.ump maps/ice.ump maps/industrial.ump maps/italy.ump maps/japan.ump maps/laboratory.ump maps/mart.ump maps/military_convoy.ump maps/oriental.ump maps/shelter.ump maps/spedition.ump maps/stadium.ump maps/transport.ump maps/tropic.ump maps/ufocrash.ump maps/village.ump
adding: maps/africa.ump (deflated 79%)
adding: maps/alienbase.ump (deflated 68%)
...
Ok, first comment: If I downloaded the maps, why does it need to add more?
zip -d base/0maps.pk3 maps/office06d.bsp maps/stadium06d.bsp ... (very long list of files)
deleting: maps/office06d.bsp
deleting: maps/stadium06d.bsp
deleting: maps/pdi08d.bsp
...
I can do nothing at this point. Help me please.
Navigation
[0] Message Index
[#] Next page
Go to full version