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
1
Bugs prior to release 2.3 / Fetching just the 2.3 branch in git?
« on: September 08, 2010, 10:01:56 pm »
How do I fetch just the 2.3 branch in git?

(Assume I want to switch from the latest svn branch to the current 2.3 branch)

2
Mac / Can the 2.2.1 renderer be used in 2.3?
« on: September 08, 2010, 05:59:36 am »
Can the 2.2.1 renderer be plugged into 2.3?

I don't mind if it is slower
I don't mind if some graphical features are lost

I just want to try to eliminate one more variable. The 2.2.1 renderer worked on my ATI machines. If it still works now, then something that changed between 2.2.1 and 2.3 seems to be triggering a graphics driver bug.

3
Mac / * If the graphics are buggered *
« on: September 08, 2010, 05:19:21 am »
If you have garbled graphics on the battlescape -- if you see strange shadows, or blocks that look like "dance floor patches", then please report what kind of graphic card your system has.

Apple Menu -> About this mac, More info, or Applications / Utilities / System Profiler

On hardware, click "Graphics / Displays"

So far, we have failures on an ATI Radeon 9300 and an ATI Mobility Radeon 9550, but success on an NVidia.

4
Bugs in older version (2.3.1) / 2.3 has city issues with campaigns
« on: August 28, 2010, 10:03:06 pm »
Code: [Select]
Sanity check for script data
...buildings ok
...tech ok
...aircraft ok
...items ok
...items ok
...... city 'ankara' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester)
      (Terrain: mountain, Culture: oriental, Population: village)
...... city 'dushanbe' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester)
      (Terrain: mountain, Culture: oriental, Population: suburban)
...... city 'konya' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester)
      (Terrain: mountain, Culture: oriental, Population: village)
...... city 'mashhad' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester)
      (Terrain: mountain, Culture: oriental, Population: village)
...... city 'tehran' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester)
      (Terrain: mountain, Culture: oriental, Population: village)
NAT_ScriptSanityCheck Errors: 5
...nations failed

Code: [Select]
stbmac:23 Michael$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.3
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 32024
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 31968
Last Changed Date: 2010-08-27 03:33:35 -0700 (Fri, 27 Aug 2010)


5
Mac / 2.3 release compilation issues
« on: June 30, 2010, 11:49:14 pm »
In an attempt to check the SDL issues by using the official release versions of SDL instead of the MacPorts versions, I'm getting an error from configure.

The problem turns out to be simple

gcc -o conftest  -I/opt/local/include -arch i386 -arch ppc   -L/opt/local/lib -arch i386 -arch ppc conftest.c -lSDL_image

Macports puts the SDL_image as a library in /opt/local/lib.
The official release puts it as a framework in /Library/Frameworks.

Changing that "-lSDL_image" into "-FSDL_image" makes it work.
But I can't figure out how to modify either configure.ac or configure to test for that.

This is probably going to affect all of SDL -- SDL_mixer, SDL_ttf, etc.
(actually, are those the only SDL parts that UfoAi uses?)

6
FAQ / Compiling maps
« on: June 30, 2010, 06:36:51 am »
... Are the maps supposed to take this long?

10 hours just for facelights on maps/city/citybldl_4x4_2a.bsp on a 1.42 GHz G4.

Yea, yea, I know, just gotta bear with it...

7
Bugs prior to release 2.3 / Could not find cvar 'cl_3dmapAmbient'
« on: June 14, 2010, 08:59:15 pm »
Attempting to change the world view ambient light results in an error.

rev 30510

8
When run initially on a new system, UfoAi does the following:

1. It alters the graphic settings to it's default, regardless of anything else. Those defaults are badly chosen. (Note that anything other than "OS default" is broken if the display is calibrated, and that includes at least OsX and Windows 7).

2. It plays music and the opening movie at maximum volume, with no opportunity for the user to set any other volume level.

3. It assumes a fixed sized window. On the mac at least, possibly on other systems, this does not permit room for fixed screen decorations. Is there any way to ask the graphical system for what size window can be opened? (That's a serious question -- do Mac, X, and Microsoft have any common "What size window can I open?" query?)

These aren't just trivial items. If I did not know anything about UfoAi, the combination of a horrific tint and brightness on my screen, the unbearably loud music, the window that doesn't fit on screen, and the very long load time would quickly give me a very negative view of the game.

4. On the mac, at least (PPC), the opening movie has nothing but static for the sound.


9
FAQ / Is this what a map is supposed to look like?
« on: May 28, 2010, 08:22:24 am »
Is this what the "dam" map is supposed to look like?

10
What happens if there are 9 direct lights ("wilderness.bsp") and the hardware supports 8 lights?

Is the behavior consistent -- should the program do the same thing (drop the weakest light, I'd assume) in each case?

Can this be sufficient to explain the lack of proper lighting when GLSL shaders are turned off, yet still give proper lighting with them turned on?

And what effect, if any, would the realtime lighting setting have in that case?

11
FAQ / GLSL shaders NOT available -- what happens?
« on: May 25, 2010, 10:04:25 pm »
When GLSL shaders are not available, what happens, code-wise?

On PC's, or Linux, when GLSL shaders are turned off, do the graphics work properly?

12
FAQ / Svn issues
« on: May 25, 2010, 06:45:52 pm »
I need help understanding what svn is/is not doing.

Going from 29998 to 30030 on the 2.3 branch gives me lots of U's.

One machine compiles all of those U's.
One machine compiles only some of those U's.

Both are running the same OS (Mac 10.5.8, PPC).
Both are using svn 1.4.4

Trying to ''svn diff" gives me lots of things like:
Property changes on: src/tools/radiant/libs/entity/angle.h
___________________________________________________________________
Name: svn:mergeinfo
   - /ufoai/trunk/src/tools/radiant/libs/entity/angle.h:29956,29958,29972-29973,
29978,29992
   + /ufoai/trunk/src/tools/radiant/libs/entity/angle.h:29956,29958,29972-29973,
29978,29992,30004,30008,30012,30026-30028

but no clear indication of the code changes, nor do I see any way to only show the code changes.

Here's what the two machines look like when trying to upgrade:
Code: [Select]
stbmac:23 Michael$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.3
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 29998
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 29993
Last Changed Date: 2010-05-15 10:17:08 -0700 (Sat, 15 May 2010)

stbmac:23 Michael$ svn st
?      port-readme.txt
?      tags
M      Makefile.in
M      src/ports/unix/unix_main.c
?      build/local.mk
M      build/maps.mk
stbmac:23 Michael$ svn up -r 30030
 U   src/tools/radiant/radiant/vfs.cpp
 U   src/tools/radiant/radiant/archivezip.cpp
 U   src/tools/radiant/radiant/entitymodule.cpp
 U   src/tools/radiant/radiant/shaders.cpp
 U   src/tools/radiant/radiant/map/parse.h
 U   src/tools/radiant/radiant/map/write.h
 U   src/tools/radiant/radiant/map/mapmodule.cpp
 U   src/tools/radiant/radiant/map/parse.cpp
 U   src/tools/radiant/radiant/map/write.cpp
 U   src/tools/radiant/radiant/vfs.h
 U   src/tools/radiant/radiant/imagemodules.cpp
 U   src/tools/radiant/libs/archivedir/archive.cpp
 U   src/tools/radiant/libs/archivedir/archive.h
 U   src/tools/radiant/libs/archivedir/fs_path.h
 U   src/tools/radiant/libs/archivezip/fs_filesystem.h
 U   src/tools/radiant/libs/archivezip/zlibstream.h
 U   src/tools/radiant/libs/archivezip/pkzip.h
 U   src/tools/radiant/libs/archivezip/ZipArchive.cpp
 U   src/tools/radiant/libs/archivezip/ZipArchive.h
 U   src/tools/radiant/libs/shaders/shaders.h
 U   src/tools/radiant/libs/shaders/shaders.cpp
 U   src/tools/radiant/libs/entity/arrow.h
 U   src/tools/radiant/libs/entity/eclassmodel.h
 U   src/tools/radiant/libs/entity/group.h
 U   src/tools/radiant/libs/entity/miscsound.cpp
 U   src/tools/radiant/libs/entity/model.h
 U   src/tools/radiant/libs/entity/light.cpp
 U   src/tools/radiant/libs/entity/colour.h
 U   src/tools/radiant/libs/entity/filters.cpp
 U   src/tools/radiant/libs/entity/miscsound.h
 U   src/tools/radiant/libs/entity/targetable.cpp
 U   src/tools/radiant/libs/entity/miscmodel.cpp
 U   src/tools/radiant/libs/entity/light.h
 U   src/tools/radiant/libs/entity/entity.cpp
 U   src/tools/radiant/libs/entity/generic.cpp
 U   src/tools/radiant/libs/entity/filters.h
 U   src/tools/radiant/libs/entity/angles.h
 U   src/tools/radiant/libs/entity/miscparticle.cpp
 U   src/tools/radiant/libs/entity/targetable.h
 U   src/tools/radiant/libs/entity/generic.h
 U   src/tools/radiant/libs/entity/entity.h
 U   src/tools/radiant/libs/entity/miscmodel.h
 U   src/tools/radiant/libs/entity/namekeys.h
 U   src/tools/radiant/libs/entity/miscparticle.h
 U   src/tools/radiant/libs/entity/namedentity.h
 U   src/tools/radiant/libs/entity/keyobservers.h
 U   src/tools/radiant/libs/entity/curve.h
 U   src/tools/radiant/libs/entity/eclassmodel.cpp
 U   src/tools/radiant/libs/entity/angle.h
 U   src/tools/radiant/libs/entity/group.cpp
 U   src/tools/radiant/libs/entity/origin.h
 U   src/tools/radiant/libs/entity/scale.h
 U   src/tools/ufo2map/check/check.h
 U   src/tools/ufo2map/check/check.c
 U   src/tools/ufo2map
 U   src/server
 U   src/shared
 U   src/ports
 U   src/common
 U   src/game
 U   src/client/campaign/cp_aliencont.c
 U   src/client/campaign/cp_campaign.c
 U   src/client/campaign/cp_base.h
 U   src/client/campaign/cp_aliencont.h
 U   src/client/campaign/cp_market.c
 U   src/client/campaign/cp_campaign.h
 U   src/client/campaign/cp_market.h
 U   src/client/campaign/cp_radar.c
 U   src/client/campaign/cp_ufopedia.c
 U   src/client/campaign/cp_airfight.c
 U   src/client/campaign/cp_radar.h
 U   src/client/campaign/cp_messageoptions.c
 U   src/client/campaign/cp_installation.c
 U   src/client/campaign/cp_ufopedia.h
 U   src/client/campaign/cp_airfight.h
 U   src/client/campaign/cp_fightequip_callbacks.c
 U   src/client/campaign/cp_messageoptions.h
 U   src/client/campaign/cp_installation.h
 U   src/client/campaign/cp_uforecovery.c
 U   src/client/campaign/cp_fightequip_callbacks.h
 U   src/client/campaign/cp_uforecovery.h
 U   src/client/campaign/cp_map.c
 U   src/client/campaign/cp_map.h
 U   src/client/campaign/cp_research_callbacks.c
U    src/client/campaign/cp_aircraft.c
 U   src/client/campaign/cp_research_callbacks.h
 U   src/client/campaign/cp_aliencont_callbacks.c
 U   src/client/campaign/cp_employee.c
 U   src/client/campaign/cp_aliencont_callbacks.h
 U   src/client/campaign/cp_transfer.c
 U   src/client/campaign/cp_employee.h
 U   src/client/campaign/cp_ufo.c
 U   src/client/campaign/cp_transfer.h
 U   src/client/campaign/cp_save.c
 U   src/client/campaign/cp_ufo.h
 U   src/client/campaign/cp_messageoptions_callbacks.c
 U   src/client/campaign/cp_produce_callbacks.c
 U   src/client/campaign/cp_produce.c
U    src/client/campaign/missions/cp_mission_baseattack.c
 U   src/client/campaign/cp_save.h
 U   src/client/campaign/cp_messageoptions_callbacks.h
 U   src/client/campaign/cp_produce_callbacks.h
 U   src/client/campaign/cp_produce.h
 U   src/client/campaign/cp_uforecovery_callbacks.c
 U   src/client/campaign/cp_uforecovery_callbacks.h
 U   src/client/campaign/cp_event.c
 U   src/client/campaign/cp_alienbase.c
 U   src/client/campaign/cp_event.h
 U   src/client/campaign/cp_nation.c
 U   src/client/campaign/cp_alienbase.h
 U   src/client/campaign/cp_research.c
 U   src/client/campaign/cp_nation.h
 U   src/client/campaign/cp_research.h
 U   src/client/campaign/cp_popup.c
 U   src/client/campaign/cp_mapfightequip.c
 U   src/client/campaign/cp_popup.h
 U   src/client/campaign/cp_mapfightequip.h
 U   src/client/campaign/cp_base.c
 U   src/client/sound/s_music.c
 U   src/client/sound/s_main.c
 U   src/client/sound/s_music.h
 U   src/client/sound/s_main.h
 U   src/client/menu/m_windows.c
 U   src/client/menu/m_windows.h
 U   src/client/menu/m_internal.h
 U   src/client/menu/node/m_node_spinner.c
 U   src/client/menu/node/m_node_base.h
 U   src/client/menu/node/m_node_special.c
 U   src/client/menu/node/m_node_container.c
 U   src/client/menu/node/m_node_spinner.h
 U   src/client/menu/node/m_node_text.c
 U   src/client/menu/node/m_node_special.h
 U   src/client/menu/node/m_node_checkbox.c
 U   src/client/menu/node/m_node_container.h
 U   src/client/menu/node/m_node_text.h
 U   src/client/menu/node/m_node_checkbox.h
 U   src/client/menu/node/m_node_window.c
 U   src/client/menu/node/m_node_linechart.c
 U   src/client/menu/node/m_node_vscrollbar.c
 U   src/client/menu/node/m_node_window.h
 U   src/client/menu/node/m_node_linechart.h
 U   src/client/menu/node/m_node_vscrollbar.h
 U   src/client/menu/node/m_node_image.c
 U   src/client/menu/node/m_node_image.h
 U   src/client/menu/node/m_node_optiontree.c
 U   src/client/menu/node/m_node_optiontree.h
 U   src/client/menu/node/m_node_item.c
 U   src/client/menu/node/m_node_abstractvalue.c
 U   src/client/menu/node/m_node_item.h
 U   src/client/menu/node/m_node_bar.c
 U   src/client/menu/node/m_node_optionlist.c
 U   src/client/menu/node/m_node_abstractvalue.h
 U   src/client/menu/node/m_node_tab.c
 U   src/client/menu/node/m_node_abstractscrollbar.c
 U   src/client/menu/node/m_node_bar.h
 U   src/client/menu/node/m_node_optionlist.h
 U   src/client/menu/node/m_node_zone.c
 U   src/client/menu/node/m_node_tab.h
 U   src/client/menu/node/m_node_button.c
 U   src/client/menu/node/m_node_abstractscrollbar.h
 U   src/client/menu/node/m_node_map.c
 U   src/client/menu/node/m_node_zone.h
 U   src/client/menu/node/m_node_button.h
 U   src/client/menu/node/m_node_map.h
 U   src/client/menu/node/m_node_tbar.c
 U   src/client/menu/node/m_node_selectbox.c
 U   src/client/menu/node/m_node_cinematic.c
 U   src/client/menu/node/m_node_abstractoption.c
 U   src/client/menu/node/m_node_tbar.h
 U   src/client/menu/node/m_node_selectbox.h
 U   src/client/menu/node/m_node_cinematic.h
 U   src/client/menu/node/m_node_abstractoption.h
 U   src/client/menu/node/m_node_controls.c
 U   src/client/menu/node/m_node_controls.h
 U   src/client/menu/node/m_node_radar.c
 U   src/client/menu/node/m_node_radar.h
 U   src/client/menu/node/m_node_panel.c
 U   src/client/menu/node/m_node_model.c
 U   src/client/menu/node/m_node_panel.h
 U   src/client/menu/node/m_node_model.h
 U   src/client/menu/node/m_node_custombutton.c
 U   src/client/menu/node/m_node_string.c
 U   src/client/menu/node/m_node_textentry.c
 U   src/client/menu/node/m_node_base.c
 U   src/client/menu/node/m_node_custombutton.h
 U   src/client/menu/node/m_node_string.h
 U   src/client/menu/node/m_node_textentry.h
U    src/client/renderer/r_sphere.c
U    src/client/renderer/r_program.c
 U   src/client/renderer
 U   src/client/battlescape/events/e_parse.c
 U   src/client/battlescape/events/e_time.c
 U   src/client/battlescape/events/e_parse.h
 U   src/client/battlescape/events/e_time.h
 U   src/client
 U   contrib/installer/windows/uforadiant.nsi
 U   contrib/installer/windows/ufoai.nsi
 U   base/models/objects/alien/wormhole/cable.md2
 U   base/models/objects/alien/wormhole/cable.png
U    base/models/objects/vegi/palm_a/palm1.md2
U    base/shaders/world_fs.glsl
U    base/shaders/bump_vs.glsl
U    base/pics/hud/bar_teammember.png
U    base/pics/hud/bar_floor.png
 U   base/maps/forest/fr_craft_drop_herakles.map
U    base/maps/tropic/tr_craft_ufo_fighter.map
U    base/maps/tropic/tr_craft_ufo_scout.map
U    base/maps/tropic/tr_craft_crash_fighter.map
U    base/maps/tropic/tr_f03.map
U    base/maps/tropic/tr_f04.map
U    base/maps/tropic/tr_f05.map
U    base/maps/tropic/tr_f06.map
U    base/maps/tropic/tr_craft_ufo_harvester.map
U    base/maps/tropic/tr_f07.map
U    base/maps/tropic/tr_craft_crash_scout.map
U    base/ufos/ui/hud.ufo
 U   .
Updated to revision 30030.
Both machines give the same output here -- both the mac mini and the ibook.

But the compile afterwards differs:
Code: [Select]
stbmac:23 Michael$ make
 * [UFO] src/client/campaign/cp_aircraft.c
 * [UFO] src/client/campaign/cp_base.c
 * [UFO] src/client/campaign/cp_campaign.c
 * [UFO] src/client/campaign/cp_research.c
 * [UFO] src/client/campaign/cp_ufopedia.c
 * [UFO] src/client/campaign/missions/cp_mission_baseattack.c
 * [UFO] src/client/renderer/r_program.c
 * [UFO] src/client/renderer/r_sphere.c
 * [UFO] ... linking -rdynamic (-L/opt/local/lib -lvorbis -lm -logg       -lz  -lcurl -lssl -lcrypto -lz -ljpeg  -L/opt/local/lib -lpng12 -lz   -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_image  -lSDL_mixer  -lSDL_ttf  -logg  -lxvidcore  -L/opt/local/lib -ltheora -logg   -lintl -lxvidcore  -framework OpenGL -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa)
CFLAGS
-----------------------
-I/opt/local/include -arch i386 -arch ppc -DUFO_REVISION="30030M" -D_BSD_SOURCE -D_XOPEN_SOURCE -DSHARED_EXT="dylib" -DHAVE_CONFIG_H -DUSE_SIGNALS=0 -Wall -pipe -Winline -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -std=c99 -ggdb -O0 -DDEBUG -fno-inline -DLUA_USE_APICHECK
-DCOMPILE_UFO -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-arch i386 -arch ppc -Isrc/tools/radiant/libs -Isrc/tools/radiant/include

LDFLAGS
-----------------------
-L/opt/local/lib -arch i386 -arch ppc -framework IOKit -framework Foundation -framework Cocoa
-L/opt/local/lib -lvorbis -lm -logg -lz -lcurl -lssl -lcrypto -lz -ljpeg -L/opt/local/lib -lpng12 -lz -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_image -lSDL_mixer -lSDL_ttf -logg -lxvidcore -L/opt/local/lib -ltheora -logg -lintl -lxvidcore -framework OpenGL -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa
-arch i386 -arch ppc -headerpad_max_install_names -lgthread-2.0 -lvorbisfile -lvorbis -logg

Gettext
-----------------------
Type 'make lang' to compile the gettext translation files.

Maps
-----------------------
Execute 'contrib/scripts/map-get.py upgrade' to download the maps
This is e.g. needed if you want to play multiplayer games and the
checksums of your maps have to match with the ones from your
opponents - or just type 'make maps' to compile the maps

PAK files
-----------------------
Type 'make pk3' to assemble the pk3 files

Installation
-----------------------
Version 2.3-dev
Install data into /usr/local/share/ufoai
Install libs into /usr/local/lib/ufoai
Install translations into /usr/local/share/locale
Install binaries into /usr/local/bin

Built for debug-darwin-universal
stbmac:23 Michael$
That's the complete output -- no snippage -- for the mac mini.

The ibook, not building universal, has this:

Code: [Select]
Kleiman-ibook:23 michael$ make
 * [UFO] src/client/cl_console.c
 * [UFO] src/client/cl_game.c
 * [UFO] src/client/cl_game_campaign.c
 * [UFO] src/client/cl_game_multiplayer.c
 * [UFO] src/client/cl_game_skirmish.c
 * [UFO] src/client/cl_http.c
 * [UFO] src/client/cl_inventory.c
 * [UFO] src/client/cl_inventory_callbacks.c
 * [UFO] src/client/cl_irc.c
<snip>
 * [UFO] src/client/campaign/cp_aircraft.c
 * [UFO] src/client/campaign/cp_aircraft_callbacks.c
 * [UFO] src/client/campaign/cp_alien_interest.c
 * [UFO] src/client/campaign/cp_base.c
 * [UFO] src/client/campaign/cp_base_callbacks.c
 * [UFO] src/client/campaign/cp_basedefence_callbacks.c
 * [UFO] src/client/campaign/cp_hospital.c
 * [UFO] src/client/campaign/cp_hospital_callbacks.c
 * [UFO] src/client/campaign/cp_messages.c
 * [UFO] src/client/campaign/cp_missions.c
 * [UFO] src/client/campaign/cp_mission_triggers.c
 * [UFO] src/client/campaign/cp_nations.c
 * [UFO] src/client/campaign/cp_parse.c
 * [UFO] src/client/campaign/cp_rank.c
 * [UFO] src/client/campaign/cp_team.c
 * [UFO] src/client/campaign/cp_team_callbacks.c
 * [UFO] src/client/campaign/cp_time.c
 * [UFO] src/client/campaign/cp_xvi.c
 * [UFO] src/client/campaign/cp_alienbase.c
 * [UFO] src/client/campaign/cp_aliencont.c
 * [UFO] src/client/campaign/cp_aliencont_callbacks.c
 * [UFO] src/client/campaign/cp_airfight.c
 * [UFO] src/client/campaign/cp_campaign.c
 * [UFO] src/client/campaign/cp_event.c
 * [UFO] src/client/campaign/cp_employee.c
 * [UFO] src/client/campaign/cp_employee_callbacks.c
 * [UFO] src/client/campaign/cp_installation.c
 * [UFO] src/client/campaign/cp_installation_callbacks.c
 * [UFO] src/client/campaign/cp_market.c
 * [UFO] src/client/campaign/cp_market_callbacks.c
 * [UFO] src/client/campaign/cp_map.c
 * [UFO] src/client/campaign/cp_mapfightequip.c
 * [UFO] src/client/campaign/cp_nation.c
 * [UFO] src/client/campaign/cp_produce.c
 * [UFO] src/client/campaign/cp_produce_callbacks.c
 * [UFO] src/client/campaign/cp_radar.c
 * [UFO] src/client/campaign/cp_research.c
 * [UFO] src/client/campaign/cp_research_callbacks.c
 * [UFO] src/client/campaign/cp_save.c
 * [UFO] src/client/campaign/cp_transfer.c
 * [UFO] src/client/campaign/cp_transfer_callbacks.c
 * [UFO] src/client/campaign/cp_ufo.c
 * [UFO] src/client/campaign/cp_ufopedia.c
 * [UFO] src/client/campaign/cp_uforecovery.c
 * [UFO] src/client/campaign/cp_uforecovery_callbacks.c
 * [UFO] src/client/campaign/cp_messageoptions.c
 * [UFO] src/client/campaign/cp_messageoptions_callbacks.c
 * [UFO] src/client/campaign/cp_popup.c
 * [UFO] src/client/campaign/cp_fightequip_callbacks.c
<snip>
 * [UFO] src/client/menu/node/m_node_window.c
 * [UFO] src/client/renderer/r_program.c
 * [UFO] src/client/renderer/r_sphere.c
 * [UFO] ... linking -rdynamic (-L/opt/local/lib -lvorbis -lm -logg       -lz  -L/opt/local/lib -lcurl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lidn -lssl -lcrypto -lssl -lcrypto -lz -lz -ljpeg  -L/opt/local/lib -lpng12 -lz   -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_image  -lSDL_mixer  -lSDL_ttf  -logg  -lxvidcore  -L/opt/local/lib -ltheora -logg   -lintl -lxvidcore  -framework OpenGL -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa)
<snip>

Can anyone help me understand this?

13
Mac / Ufo ignores apple-Q and dock icon->quit
« on: May 25, 2010, 03:17:19 am »
Ufo does not quit on either apple-Q or dock icon->quit.

14
Mac / Current issues with 2.3 PPC build (Now with Graphics!)
« on: May 19, 2010, 06:20:23 am »
I'm having trouble with 2.3 building universal on a PPC.

Code: [Select]
stbmac:23 Michael$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2.3
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 30059
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 30046
Last Changed Date: 2010-05-17 23:57:30 -0700 (Mon, 17 May 2010)

stbmac:23 Michael$ svn st
?      Makefile.in.orig
?      svn-diff.txt
?      port-readme.txt
?      svn-diff.nosignal.txt
?      svn-diff-2.3.txt
stbmac:23 Michael$ make models
 * [MOD] src/tools/ufomodel/ufomodel.c
lipo: can't create output file: debug-darwin-universal/tools/ufomodel/tools/ufomodel/ufomodel.o (No such file or directory)
make: *** [debug-darwin-universal/tools/ufomodel/tools/ufomodel/ufomodel.o] Error 1
stbmac:23 Michael$
stbmac:23 Michael$ make
 * [GAM] src/game/g_actor.c
 * [GAM] src/game/g_ai.c
 * [GAM] src/game/g_ai_lua.c
 * [GAM] src/game/g_client.c
 * [GAM] src/game/g_combat.c
 * [GAM] src/game/g_cmds.c
 * [GAM] src/game/g_edicts.c
^CInterrupted by signal 2
make: *** [debug-darwin-universal/game/game/g_edicts.o] Interrupt

stbmac:23 Michael$ make models
 * [MOD] src/tools/ufomodel/ufomodel.c
 * [MOD] src/shared/mathlib.c
 * [MOD] src/shared/byte.c
 * [MOD] src/shared/images.c
 * [MOD] src/shared/parse.c
 * [MOD] src/shared/shared.c
src/shared/shared.c: In function ‘Com_sprintf’:
src/shared/shared.c:473: warning: comparison is always false due to limited range of data type
src/shared/shared.c:475: warning: comparison is always true due to limited range of data type
src/shared/shared.c: In function ‘Com_sprintf’:
src/shared/shared.c:473: warning: comparison is always false due to limited range of data type
src/shared/shared.c:475: warning: comparison is always true due to limited range of data type
 * [MOD] src/common/files.c
 * [MOD] src/common/list.c
 * [MOD] src/common/mem.c
 * [MOD] src/common/unzip.c
 * [MOD] src/common/ioapi.c
 * [MOD] src/client/renderer/r_model_alias.c
 * [MOD] src/client/renderer/r_model_dpm.c
 * [MOD] src/client/renderer/r_model_md2.c
 * [MOD] src/client/renderer/r_model_md3.c
 * [MOD] src/client/renderer/r_model_obj.c
 * [MOD] src/ports/unix/unix_main.c
 * [MOD] ... linking -rdynamic (-lz  -ljpeg  -L/opt/local/lib -lpng12 -lz   -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_image  -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa)
./ufomodel -mdx -overwrite -v  -s 0.5 -f models/aircraft/craft_arm_plate/plating.md2
---- ufomodel 0.2 ----

---- filesystem initialization -----
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: /Users/Michael/Documents/UFOAI-2.3-dev/base
Adding game dir: ./base
using ./base for writing
- model 'models/aircraft/craft_arm_plate/plating.md2'
Error: R_ModForName: unknown fileid for models/aircraft/craft_arm_plate/plating.md2
make: *** [base/models/aircraft/craft_arm_plate/plating.mdx] Error 1
stbmac:23 Michael$

First, I'm looking at 30046. Starting with an absolutely stock, clean copy.

'make models' will fail -- the directories for the .o files don't exist.
'make' will set them up. And then, 'make models' will compile.

But it doesn't run. It fails. And doesn't give any indication as to why.

Gdb begins ...

Edit 1:
Code: [Select]
Breakpoint 1, Com_Error (code=0, fmt=0x2455c "R_ModForName: unknown fileid for %s") at src/tools/ufomodel/ufomodel.c:178
178 va_start(argptr, fmt);
(gdb) bt
#0  Com_Error (code=0, fmt=0x2455c "R_ModForName: unknown fileid for %s") at src/tools/ufomodel/ufomodel.c:178
#1  0x00002590 in LoadModel (name=0x277bc "models/aircraft/craft_arm_plate/plating.md2") at src/tools/ufomodel/ufomodel.c:227
#2  0x00002814 in PrecalcNormalsAndTangents (filename=0x277bc "models/aircraft/craft_arm_plate/plating.md2") at src/tools/ufomodel/ufomodel.c:284
#3  0x00003ed8 in SDL_main (argc=8, argv=0x25095c0) at src/tools/ufomodel/ufomodel.c:678
#4  0x000236ec in -[SDLMain applicationDidFinishLaunching:] ()
#5  0x96d39688 in _nsnote_callback ()
#6  0x94ce243c in _CFXNotificationPostNotification ()
#7  0x96d36dc4 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#8  0x93b64858 in -[NSApplication _postDidFinishNotification] ()
Not very deep in the code...

15
Mac / Mac compilation: Changed
« on: May 19, 2010, 02:24:27 am »
I'm looking at the current "how to compile on the mac" page on the wiki.

Looking at the history, I see this:
Quote
Revision:
Revision as of 13:23, 5 August 2009 (edit) (undo)
Mattn (Talk | contribs) 

Adds the gtk2 stuff to the macports line.

I'm trying to understand this. My instructions that I put in the compile page said to grab a premade version from such-and-such web site, and that it was not production quality code. The gtk2 library from Macports -- using a quartz backend (instead of the X backend at the other site) was not maintained at all back then, and still is dreadfully incomplete now. Additionally, as I said:

> Note that this does not solve the gimp stuff -- gtkglext, gtksourceview, which use gtk2 and glib2 (broken on PPC in macports at this time) -- used by radiant.

Ncursesw is no longer broken -- it now (2010/05/17) builds just fine.
Gtk2 is still broken

As far as I can tell, these are only used by Uforadiant.
Has anyone gotten Uforadiant to build and work on Mac, and if so, which version of Gtk2 did you use -- the Macports version (quartz), or the version at http://gtk-osx.org/ (X11).

Pages: [1] 2 3 4