project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - keybounce

Pages: 1 2 3 [4]
46
Mac / Still cannot load a map
« on: March 22, 2009, 09:57:21 pm »
I am still unable to load a locally compiled map.

I took a breakpoint right after loading a map, and looked through curTile. There are two fields that look crazy -- curTile -> brushes -> numsides (over 100 million), and curTile -> tnodes -> children (looks like {-1, MININT} ).

(gdb) p curTile->brushes[0]
$63 = {
  contentFlags = 16777472,
  numsides = 100663296,
  firstbrushside = 0,
  checkcount = 0
}

(gdb) # Is children valid???
(gdb) p curTile->tnodes[0]@3
$74 = {{
    type = 0,
    normal = {1, 0, 0},
    dist = 544,
    children = {1, -2147483648},
    pad = 0
  }, {
    type = 0,
    normal = {1, 0, 0},
    dist = 628,
    children = {-2147483648, 2},
    pad = 0
  }, {
    type = 1,
    normal = {0, 1, 0},
    dist = 352,
    children = {3, -2147483648},
    pad = 0
  }}
(gdb)

Everything else in curTile looks reasonable.

47
Mac / Disabling the signal handler
« on: March 20, 2009, 07:18:40 pm »
How can I disable the signal handler for ufo-ai so that the macintosh can actually give the full stack backtrace?

Change gametype to 'Skirmish mode'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
Could not find rank 'rifleman'
------- Loading game.dylib -------
LoadLibrary (./base/game.dylib)
==== InitGame ====
Map:wilderness  Offset:(0, 0, 0)
wpMins:(128, 118, 0) wpMaxs:(193, 197, 7)
Shifted wpMins:(128, 118, 0) wpMaxs:(193, 197, 7)
Tile bounds: (128, 118, 0) to (193, 197, 7)
Source bounds: (128, 118, 0) to (193, 197, 7)
Done copying data.
0   ufo                                 0x0019b780 Sys_Mkdir + 180
1   ufo                                 0x0019b7f8 Sys_Mkdir + 300
2   libSystem.B.dylib                   0x92f3399c _sigtramp + 68
Wrote keys.cfg
Error: Received signal 11.

That's not very informative.

All I could find was:

Kleiman-ibook:src michael$ egrep signal */*.c
common/net.c:# include <signal.h>
common/net.c:   signal(SIGPIPE, SIG_IGN);


48
Discussion / [Dev version] Moving the world map
« on: March 16, 2009, 10:33:43 pm »
Moving the world map in 2.3 seems backwards.

If I want to move to the right, I click on the left side of the little globe.
If I want to move up, I click on the bottom of the little globe.

I tried to right-click on the map to move/center, but that had no effect.

Can we get some options to control this?

49
Alright, I took some detailed notes while trying to get this put together. I'm hoping this will be of use to the devs.

The first round:

Log of compilation of Ufo-AI for Mac

12:10 Start installing latest Xcode (312 2621)

Odd errors seen in the logs:
Mar 11 12:36:19 Kleiman-ibook Installer[489]: run preupgrade script for DeveloperToolsCLI
Mar 11 12:36:20 Kleiman-ibook michael[751]: Upgrade scripts will be run.
Mar 11 12:36:20 Kleiman-ibook Installer[489]: Removing obsoleted files
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/^Husr/sbin/vmmap64
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/ usr/libexec/gdb/plugins/MacsBug/MacsBug_plugin
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/ usr/libexec/gdb/gdb-powerpc-apple-darwin
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/ usr/libexec/gdb/gdb-i386-apple-darwin
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/ usr/libexec/gdb/gdb-for-codewarrior
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/^Husr/bin/malloc_history
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/^Husr/bin/leaks
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/^Husr/bin/heap
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/^Husr/bin/atos
Mar 11 12:36:20 Kleiman-ibook runner[493]: trying to delete: /Developer/PLibrary/Developer/3.0/distcc/distcclaunchdconfig

Yes, those are ^H's in the filenames. Go figure.

Large number of missing man pages complained by makewhatis

After install:

Kleiman-ibook:~ michael$ df -l
Filesystem   1024-blocks     Used Available Capacity  Mounted on
/dev/disk0s3    42745372 36480732   6008640    86%    /
/dev/disk0s5    15597564 14497592   1099972    93%    /Volumes/Time Machine Drive

Just under 6 GB (Finder says 5.73).

Step 2: Install MacPorts 1.7.0
Step 3: Install latest X11 (2.3.2.1)

Mar 11 16:22:51 Kleiman-ibook kernel[0]: Finder[129] Unable to clear quarantine `X11-2.3.2.1.pkg': 30

Can someone explain what that means?

Step 4: "sudo port selfupdate"

At this point, I have a "standardized" development environment.

Kleiman-ibook:~ michael$ sudo port selfupdate

MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated
Kleiman-ibook:~ michael$ df -l
Filesystem   1024-blocks     Used Available Capacity  Mounted on
/dev/disk0s3    42745372 36655848   5833524    87%    /
/dev/disk0s5    15597564 14604000    993564    94%    /Volumes/Time Machine Drive
/dev/disk1s2       85860    78380      7480    92%    /Volumes/X11-2.3.2.1
Kleiman-ibook:~ michael$

(TM snapshot done)

Now, follow the instructions on the wiki:

Kleiman-ibook:~ michael$ sudo port install libsdl_ttf libsdl_mixer

NB: Installing libsdl_mixer also installs gettext

Mar 11 20:21:48 Kleiman-ibook ReportCrash[60141]: thread_get_state() returned 268435459: (ipc/send) invalid destination port
Mar 11 20:21:48 Kleiman-ibook ReportCrash[60141]: Failed to create VMUSymbolicator for mach_kernel[0]
Mar 11 20:21:48 Kleiman-ibook ReportCrash[60141]: Formulating crash report for process mach_kernel[0]
Mar 11 20:21:48 Kleiman-ibook ReportCrash[60141]: Saved crashreport to /Library/Logs/CrashReporter/mach_kernel_2009-03-11-202148_Kleiman-ibook.crash using uid: 0 gid: 0, euid: 0 egid: 0

Yes, that showed up in the console log -- while compiling smpeg for libsdl_mixer.

"libjpeg" does not exist in macports ; the name is "jpeg".
"libpng3" does not exist in macports. A look into the fink database shows that "libpng3 1.2.29-1" has a web page at http://www.libpng.org/pub/png/libpng.html; checking there shows that it is "libpng" (no 3) and lists 1.2.35 as the current version. That version is fetched from port as libpng

Kleiman-ibook:macports michael$ date ; sudo port install libsdl_ttf +universal libsdl_mixer +universal jpeg +universal libpng +universal ; date

Woot! A complete recompile of everything for universal still triggers this:
Mar 12 00:10:41 Kleiman-ibook ReportCrash[26792]: thread_get_state() returned 268435459: (ipc/send) invalid destination port
Mar 12 00:10:42 Kleiman-ibook ReportCrash[26792]: Failed to create VMUSymbolicator for mach_kernel[0]
Mar 12 00:10:42 Kleiman-ibook ReportCrash[26792]: Formulating crash report for process mach_kernel[0]
Mar 12 00:10:42 Kleiman-ibook ReportCrash[26792]: Saved crashreport to /Library/Logs/CrashReporter/mach_kernel_2009-03-12-001041_Kleiman-ibook.crash using uid: 0 gid: 0, euid: 0 egid: 0

It is repeatable! Congrats, you found a real kernel bug!

Kleiman-ibook:development michael$ mkdir -p ufoai/trunk
Kleiman-ibook:development michael$ cd ufoai/trunk
Kleiman-ibook:trunk michael$ svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk .
Error validating server certificate for 'https://ufoai.svn.sourceforge.net:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.svn.sourceforge.net
 - Valid: from Wed, 12 Nov 2008 04:25:27 GMT until Tue, 12 Jan 2010 04:25:27 GMT
 - Issuer: Equifax Secure Certificate Authority, Equifax, US
 - Fingerprint: 04:b2:70:e9:ba:cf:70:fc:e8:8a:22:86:14:13:51:97:1b:6a:de:38
(R)eject, accept (t)emporarily or accept (p)ermanently?

Ok, so no one has even mentioned what fingerprint we should see.
Come on folks, HTTPS: is only half of the security solution, and is almost useless by itself.
It prevents a stream from being corrupted during transmission, but does nothing to protect against a man-in-the-middle.
Without something to verify the certificate -- either a trusted authority, *or knowing what the fingerprint should be* -- it doesn't do what everyone thinks it does.

Gaah. Even firefox now rejects "self signed" certificates with that big bad police officer.

svn: PROPFIND request failed on '/svnroot/ufoai/ufoai/trunk'
svn: PROPFIND of '/svnroot/ufoai/ufoai/trunk': Could not read status line: connection was closed by server. (https://ufoai.svn.sourceforge.net)

Sigh. Documenting what you see as you go runs into trouble. :-)

./configure --disable-uforadiant  --enable-universal
make && make lang

There are a LOT of warnings on this make:

 * [UFO] src/ports/unix/unix_main.c
 * [UFO] src/ports/macosx/osx_main.m
src/ports/macosx/osx_main.m:107: warning: cannot find interface declaration for ‘SDLApplication’
src/ports/macosx/osx_main.m:107: warning: cannot find interface declaration for ‘SDLApplication’

 * [DED] src/ports/macosx/osx_main.m
src/ports/macosx/osx_main.m:107: warning: cannot find interface declaration for ‘SDLApplication’
src/ports/macosx/osx_main.m:107: warning: cannot find interface declaration for ‘SDLApplication’
 * [DED] ... linking -rdynamic (-lz -lcurl -lssl -lcrypto -lz -lcurses  )
 * [MAP] src/tools/ufo2map/ufo2map.c
In file included from /opt/local/include/jpeglib.h:28,
                 from src/tools/ufo2map/common/imagelib.h:31,
                 from src/tools/ufo2map/lighting.h:28,
                 from src/tools/ufo2map/ufo2map.c:33:
/opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from src/tools/ufo2map/common/../../../shared/shared.h:30,
                 from src/tools/ufo2map/common/shared.h:32,
                 from src/tools/ufo2map/lighting.h:25,
                 from src/tools/ufo2map/ufo2map.c:33:
src/tools/ufo2map/common/../../../shared/../../config.h:71:1: warning: this is the location of the previous definition
In file included from /opt/local/include/jpeglib.h:28,
                 from src/tools/ufo2map/common/imagelib.h:31,
                 from src/tools/ufo2map/lighting.h:28,
                 from src/tools/ufo2map/ufo2map.c:33:
/opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from src/tools/ufo2map/common/../../../shared/shared.h:30,
                 from src/tools/ufo2map/common/shared.h:32,
                 from src/tools/ufo2map/lighting.h:25,
                 from src/tools/ufo2map/ufo2map.c:33:
src/tools/ufo2map/common/../../../shared/../../config.h:71:1: warning: this is the location of the previous definition

These errors continue for almost all of [ MAP ] . Odd, I didn't tell it to "make maps".

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!


Time:
Macports took 3 hours to download, compile and install the needed libraries.
Svn took 2 hours and 20 minutes just to check out a copy of the Ufo AI tree

Dealing with Time Machine blowing up (backup too large for the backup drive; having to cut both the newly installed stuff AND enough of the old stuff that a future backup can backup the new stuff): Days :-). (Small backup drive.)

Final disk space:
/dev/disk0s3    42745372 41292664   1196708    98%    /

Starting:
/dev/disk0s3    42745372 36480732   6008640    86%    /

That's just about 5 gig. Wow.


===
The second round:

Fixing the maps (thank you geever): It compiles.

I have a .dmg. And I can run the program.

Attempting to run a skirmish, results in this in the console:

Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: R_LoadProgram: 'default' loaded.
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: R_LoadProgram: 'warp' loaded.
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: SDL_ttf version 2.0.9 - we need at least 2.0.7
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: ...registering 10 fonts
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Could not find cvar 'cl_3dmap'
Mar 14 13:04:34: --- last message repeated 3 times ---
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Could not find cvar 'g_actorspeed'
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Change gametype to 'Skirmish mode'
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Could not find rank 'rifleman'
Mar 14 13:04:34: --- last message repeated 7 times ---
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: ------- Loading game.dylib -------
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: LoadLibrary (./base/game.dylib)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: ==== InitGame ====
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: SV_ParseAssembly: warning - cvar 'rm_drop' value doesn't seam to be a valid tile id '' - set to default '+drop_firebird'
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: CM_LoadMap: "-africa/af_ +main +drop_firebird" "-40 -16 0 -40 -16 0"
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Map:africa/af_main  Offset:(-40, -16, 0)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: wpMins:(128, 128, 0) wpMaxs:(215, 159, 4)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Shifted wpMins:(88, 112, 0) wpMaxs:(175, 143, 4)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Tile bounds: (88, 112, 0) to (175, 143, 4)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Source bounds: (128, 128, 0) to (215, 159, 4)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Done copying data.
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Loaded routing for tile africa/af_main in   0.0s
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Map:africa/af_drop_firebird  Offset:(-40, -16, 0)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: wpMins:(128, 128, 0) wpMaxs:(143, 151, 3)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Shifted wpMins:(88, 112, 0) wpMaxs:(103, 135, 3)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Tile bounds: (88, 112, 0) to (103, 135, 3)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Source bounds: (128, 128, 0) to (143, 151, 3)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Done copying data.
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Loaded routing for tile africa/af_drop_firebird in   1.0s
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: checksum for the map '+africa': 2906337093
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: ufo script checksum 285034083
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Created AI player (team 0)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Created AI player (team 7)
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: -------------------------------------
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Connecting to localhost...
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Map: +africa
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: load material file: 'materials/africa.mat'
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Starting the game...
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: michael has joined team 0
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: (player 0) It's team 1's round
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: michael has taken control over team 1.
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Didn't find parent menu "main"
Mar 14 13:04:01 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: music change to PsymongO4 (from van_theme)
Mar 14 13:04:02 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: 0   ufo                                 0x00198d04 Sys_Mkdir + 180
Mar 14 13:04:03 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Error: Received signal 6.
Mar 14 13:04:03 Kleiman-ibook [0x0-0x2e12e1].net.sourceforge.UFOAI[12328]: Wrote keys.cfg
Mar 14 13:04:03 Kleiman-ibook com.apple.launchd[112] ([0x0-0x2e12e1].net.sourceforge.UFOAI[12328]): Exited with exit code: 1


Alright: Attempting to start a skirmish resulted in the game crashing. It detects and traps a signal 6. Had that signal actually arrived, Mac Os would have given me a nice, easy to submit debugging trace; as it is, I can only report this. And the truth is, I don't know if it's that the africa map from map-get is not compatible with the mac compiled code, or if it's something serious.

Alright, lets go to a campaign game. Playing around with options, ufopedia, etc

Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Campaign data loaded - size 4131324 bytes
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...techs: 192
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...buildings: 22
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...ranks: 16
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...nations: 8
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...cities: 7
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Sanity check for script data
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...... no mappart for building 'building_aliencontainment2' given
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...... no mappart for building 'building_hangar2' given
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...... no mappart for building 'building_large_ufo_hangar2' given
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...... no mappart for building 'building_workshop2' given
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...buildings failed
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...tech ok
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...aircraft ok
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: ...items ok

...

Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/base_AA51_launcher
Mar 14 14:26:47: --- last message repeated 24 times ---
Mar 14 14:25:33 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/base_ammo_AA51
Mar 14 14:26:48: --- last message repeated 14 times ---

...

Mar 14 14:26:12 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/craft_ammo_shiva_1
Mar 14 14:26:51: --- last message repeated 373 times ---
Mar 14 14:26:12 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/craft_ammo_shiva_2
Mar 14 14:26:51: --- last message repeated 23 times ---
Mar 14 14:26:12 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/craft_ammo_s
Mar 14 14:26:21 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: hiva_2
Mar 14 14:26:21 Kleiman-ibook [0x0-0x2e52e5].net.sourceforge.UFOAI[12423]: Can't find pic: techs/craft_ammo_shiva_2
Mar 14 14:26:51: --- last message repeated 398 times ---

The shiva pics complaints (1 and 2) show up thousands of times in the logs, in batches of 400.

I never advance the clock past the starting moment. I'm just looking around in the in-game docs, moving the map, playing around with flat vs. 3d world view, building new places in the base, equiping the aircraft, etc. I'm expecting that the first ufo encounter will crash when the map loads.

After playing around, (about an hour), the world map gets messed up. I'm no longer seeing continents, land and water, etc. Instead, colored rectangles -- darn, I should have taken a screen shot.

I'm not sure how much of these problems are from code issues, and how much is from compilation issues.

Kleiman-ibook:trunk michael$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 23524
Node Kind: directory
Schedule: normal
Last Changed Author: bayo-fr
Last Changed Rev: 23524
Last Changed Date: 2009-03-14 09:19:22 -0700 (Sat, 14 Mar 2009)


Ohh,here's something:

Kleiman-ibook:trunk michael$ ls ~/.ufoai/2.3-dev/base/
total 372
  0 Users/        4 keys.cfg      364 ufoconsole.log
  4 config.cfg        0 save/
  0 history        0 stats.log
Kleiman-ibook:trunk michael$

Yep, that console.log file is a duplicate of what got written to the system.log.


50
Mac / Request: A "make clean" option in the installers
« on: March 14, 2009, 07:40:55 am »
I'd like to request a "make clean" option in the installers.

In the other thread, I described what happened when I tried to compile the 2.3 developer version on the mac. Due to an error, one step -- "make lang" -- somehow got missed, and then would not clearly get put back into the final app package. Manual attempts to "make copydata" did not clearly recopy the data. Checking timestamps did not show that any attempt to force a fresh recopy of the data were successful.

Now, normally I'd just be certain by blowing the .app and -universal directories away, and rebuild them. But there is no "clean" target. And looking at the Makefile shows this:

bundle_dirs:
        @mkdir -p UFOAI.app/base
# These are part of the svn repository as directories
#       @mkdir -p UFOAI.app/Contents/MacOS
#       @mkdir -p UFOAI.app/Contents/Frameworks
#       @mkdir -p UFOAI.app/Contents/Libraries

So, while ideally I would just blow away UFOAI.app, and rebuild it, I find that part of it is "stuck" -- it came with the original download, and is assumed to be there. So there is no easy way to force the .app to be rebuilt from scratch.

In fact, looking over the makefile setup, it seems (please correct me if I'm wrong), that the system tries to first make the .app, and then it creates ufoai-2.3-dev-macosx-$TARGET (ppc, x86, or universal) from that. But if part of the build was made as one type, and the final "assembly" is made as another type, that doesn't necessarily mean it will match up. In that case, cleaning everything out and starting over makes sense.

But right now I can't see any way to do that "clean and start over" without going all the way back to a fresh download of the whole thing. It took me longer to download the code than to compile the code.

51
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.

52
Discussion / How many people can my base support?
« on: May 21, 2008, 08:20:24 am »
Old XCom had a nice base summary screen that would give you at a glance info on your base, including how many people could be housed there, how many engineers/scientists were busy, etc.

I can't find anything like that.

What I did find is that my starting base has 10 engineers, 10 scientists, and 8 soldiers, with only one living quarters that is documented as supporting only 20 people.

53
When you are selecting a location for a new base, there is no indication of where the radar coverage for that base will be.

54
Discussion / Problem starting a new game
« on: May 21, 2008, 06:48:32 am »
I've found 2 problems when starting a new game, in 2.2 and 2.2.1.

First: The money that you are told you will start with, and the money that you actually start with are not even close to each other.

Second: When you build your first base, and go back to the geoscape, the clock is running very very fast -- it does not start in 5 second mode while you get your bearings.

55
Mac / Gamma for mac display
« on: May 21, 2008, 06:45:27 am »
The mac comes with a very nice display calibrator that does more than just a single number gamma adjustment. Yet UfoAI wants to override that with a simple gamma, and the default for it is yucky.

Can we please get an option to not change the video display color / gamma at all ? Right now I have to go into display preferences every time I start up the game.

56
Discussion / Ufopedia: Sort equipment by category / weapons by range
« on: March 23, 2008, 06:02:02 pm »
(I searched, but did not find anything on "ufopedia equipment").

In almost every area of the game, equipment is broken down into primary, secondary, armor, etc.

In the ufopedia, equipment is just a single alphabetical list, not categorized.

Additionally, while there is a need to easily tell what's a close range, medium range, or long range weapon, there's no breakdown by that either; I'm resorting to taking notes.

(I consider it a sign of a problem if I have to take paper notes on a modern game if the online documentation can't address simple stuff).

The docs seem inconsistent -- on one hand, some entries say that most fighting will take place at close/knife range, while other entries imply that medium/long range weapons are essential. This almost implies to me that I need my "main" combat characters to have two primary weapons, one for distance, and one for close combat.

GAAAAHHH.

(For what it's worth, I generally only use plain pistols and laser pistols in XCom. That's good enough until I'm shooting blaster bombs around corners.)

Pages: 1 2 3 [4]