project-navigation
Personal tools

Author Topic: Mac binary thread (now 26313)  (Read 20422 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Mac binary thread (now 26262)
« Reply #30 on: September 20, 2009, 06:39:54 pm »
i've updated the makefiles and script to generate the dmg archives. it would be nice if you could rebuild one and upload it for testing - i could need feedback on it.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #31 on: September 20, 2009, 08:42:32 pm »
Will do.

(next time I'll test the .dmg AFTER I build it :-).

EDIT: Now building africa test maps ...
EDIT 2: Africa and wilderness both have the messed-up graphics on G4. But they run. Now building the whole set of maps.
« Last Edit: September 20, 2009, 09:32:43 pm by keybounce »

Offline Dorzak

  • Rookie
  • ***
  • Posts: 45
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #32 on: September 21, 2009, 03:09:18 am »
I finally got a i386 dmg to compile on my wife's computer.    (10.5.8) that will run on my 10.6 machine.   Walls look funky.

Not sure if it is the difficulty setting, but aliens are trying to fire through walls.   Gives away their position a lot.

It didn't include the languages for some reason.

So I grabbed the languages from another 2.3 DMG that wouldn't run and plugged them in.  It is working, somewhat.


Antony

  • Guest
Re: Mac binary thread (now 26262)
« Reply #33 on: September 21, 2009, 07:08:43 pm »
26262
Ive tried this build on my intel based imac. Like the previous poster the game started but then the Geoscope is not visable. Tried with 3d option ticked and untick but nether work. Also went to the .ufoai folder and deleted all the old files and tried again but this made no difference.
I played skirmish, when I left a soldier on returnfire i was unable to untick it the following turn.
Soldiers left on return fire would often not shoot.
« Last Edit: September 21, 2009, 07:14:01 pm by Antony »

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #34 on: September 22, 2009, 02:59:04 am »
I have it compiled, but there are problems.

Both straight executable, and .dmg behave similarly:

0. The initial display of the intro text is slow on my 1.42 G4.

1. You cannot actually build the initial base. It places an icon on the map, but never actually advances the game state. It does not drop your money. Clicking again will try to build again. Etc.
2. Right click to drag the geoscape view causes the app to lock up.

Aha! This looks good:
Sanity check for script data
...buildings ok
...tech ok
...aircraft ok
...items ok
...items ok
...nations ok
music change to karlmacklin_geoscape (from van_theme)
********************
ERROR: Could not find rank 'rifleman'

********************
0   ufo                                 0x001a946c Sys_Backtrace + 36
1   ufo                                 0x001312f0 Com_Error + 384
2   ufo                                 0x00079404 CL_GetRankIdx + 172
3   ufo                                 0x0008f608 E_UnhireAllEmployees + 1304
4   ufo                                 0x0008f6cc E_CreateEmployee + 52
5   ufo                                 0x00090830 E_InitialEmployees + 92
6   ufo                                 0x00061ad4 B_BuildingStatus + 3840
7   ufo                                 0x0006205c B_SetUpBase + 244
8   ufo                                 0x0006a6b4 B_RemoveAntimatterExceedingCapacity + 2084
9   ufo                                 0x00121790 Cmd_ExecuteString + 268
10  ufo                                 0x0011fc84 Cbuf_Execute + 452
11  ufo                                 0x00015d34 CL_OnBattlescape + 160
12  ufo                                 0x00016564 CL_Frame + 432
13  ufo                                 0x0013349c Qcommon_Init + 2584
14  ufo                                 0x00133b68 Qcommon_Frame + 180
15  ufo                                 0x001a991c main + 356
16  ufo                                 0x00002174 start + 68
music change to karlmacklin_geoscape (from PsymongN5)
Killed
stbmac:trunk Michael$

That was once out of 5 attempts.

(How can I get the server to use the mac crash report dump rather than this one? The patch from earlier only gives the client mac dumps.)

3. The geoscape will sometimes go blank, and most times not.

Skirmish: HOLY BLEEP! I can see the map! No more graphic garbage!

Responsiveness is poor. I get 10 FPS while sitting around, not moving, and 3-4 while trying to move, rotate, or otherwise move the screen around. That makes it hard to actually adjust the map so I can see all the units and terrain. (Can we get a single command to show as much of the map as possible (preferably all), from as vertical a viewpoint as possible, and then keep it there even as you change to a new soldier? Yea, just keep it as a 2d battle-map on square blocks with cardboard counters :-).

This is 26297.

Lets see if the current version won't force a map recompile:

No, of course not. 26313 will require redoing all the maps. Sigh. Another day, another make maps

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #35 on: September 22, 2009, 03:43:09 am »
26313 fixes geoscape. Now building maps, should be ready tomorrow.

Offline lion.cc

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #36 on: September 22, 2009, 04:09:22 am »
thank you keybounce! if u weren't doing it there would be no dmg for us to play!!!111

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Mac binary thread (now 26262)
« Reply #37 on: September 22, 2009, 07:22:09 am »
Skirmish: HOLY BLEEP! I can see the map! No more graphic garbage!

i think on our side nothing changed - if something changed it was not really intentional - it would help a lot if you could try to dig the revision that "fixed" this. otherwise this might get reintroduced silently.

btw, is radiant working, too

thanks for your work keybounce.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #38 on: September 22, 2009, 12:50:23 pm »
ERROR: Could not find rank 'rifleman'

This is the same problem you mentioned months ago. You didn't help much finding out what causes it yet.... and I don't have any mac to check.

-geever

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Mac binary thread (now 26262)
« Reply #39 on: September 22, 2009, 03:52:01 pm »
i think it's just missing script data in the dmg.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Mac binary thread (now 26262)
« Reply #40 on: September 22, 2009, 10:17:27 pm »
i think on our side nothing changed - if something changed it was not really intentional - it would help a lot if you could try to dig the revision that "fixed" this. otherwise this might get reintroduced silently.

btw, is radiant working, too

thanks for your work keybounce.

Radiant is a lost cause, I'm afriad. Gtk2 on PPC may be doable, but it won't do univeral right now.

Macports 1.8 made changes to the building environment, and glibc on ppc doesn't like those changes. It's easy enough to hardcode the fix for either the PPC, or i386 world -- the byte ordering that it winds up using actually is the i386 order without any changes -- but putting in that fix for PPC ruins i386.

There was a discussion going on the macport-dev list trying to decide the best way to fix it. Until it does, I'm just ignoring radiant.

I will try to figure out when/where the graphics "fixed".

Uploading now to http://www.stb04.nccom.com/ftp/UfoAi/build-26313/

===
Someone might want to look at the svn-diff log that I have there, and figure out what can get put into the trunk. Most of it is minor, and I should probably remove those debug() gdb hooks.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Mac binary thread (now 26262)
« Reply #41 on: September 22, 2009, 10:47:21 pm »
what the changes in makefile.in about?

i will do something about the signal handling for mac

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Mac binary thread (now 26313)
« Reply #42 on: September 23, 2009, 08:38:51 pm »
Makefile.in: The included makefiles are placed before all the build commands/targets. This permits them to adjust TARGETS or other things.

In particular, "all" will build the wilderness map (singleton) and the africa maps (assembled) for testing. That required putting maps.mk up front, and I put the others up front as well just in case (but wound up not being needed).

I think that a long time ago, they were up front; I don't know why they got moved down.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Mac binary thread (now 26313)
« Reply #43 on: September 23, 2009, 09:40:34 pm »
the signal handling for mac is now in the svn - it's a new configure option --disable-signals if i remember right

Antony

  • Guest
Playing 26313
« Reply #44 on: October 03, 2009, 10:10:51 am »
26313
Played on Intel Imac.
Prev problems with Geoscope gone. Overall felt much more playable than the previous compiles and much better movement about the maps. Hasnt crashed out for me either.
On the Forest map one of the aliens spawned at the top of a tree and was stuck there.
On the Farm map aliens than spawn upstairs in the space ship will try shoot though the walls of the space ship.

Keep up the good work.