project-navigation
Personal tools

Author Topic: ufoai 2.3 on OSX PPC Leopard - save game fails  (Read 14003 times)

Offline Lord_Aether

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #15 on: September 06, 2010, 06:50:38 am »
I am compiling from source, not that it should really matter...

Offline virag0

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #16 on: September 06, 2010, 07:34:32 am »
I am compiling from source, not that it should really matter...

I compiled 2.4 dev from source, but it fails to run properly.  It will load up OK,
but the fan on my G5 starts up and goes into leaf blower mode.  When I select
a skirmish, it will have terrible trouble rendering the graphics and the mouse cursor
freezes.   I will have another look at this eventually.   

Between 2.3 and 2.4dev the cp_save.c file has undergone many changes, mostly
to do with access to functions and renamed stuff, but the core code that does the
savegame verify and load looks pretty much the same......


Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #17 on: September 08, 2010, 05:14:53 am »
Hi,
the game works perfectly except for the campaign save. 
I had to disable GLSL shading for everything to work.

Alright, you are Nvidia, and I am ATI.
Yours works, mine does not.

I think we've got something.

Offline virag0

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #18 on: September 08, 2010, 05:18:55 am »
Alright, you are Nvidia, and I am ATI.
Yours works, mine does not.

I think we've got something.

Cool.....  progress is being made......   Would you like my Makefile/config opts etc?
It's pretty much just the simple Mac install.....

I can't see what causes the save game to break still however.....

Cheers....

Offline virag0

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #19 on: September 08, 2010, 05:47:02 am »
Two things:
1. What is the output from "svn diff"?
2. What is the output from "svn info"?

That should tell me which specific revision you are working with.

Gah, now Loepard is telling me:

svn info
svn: This client is too old to work with working copy '.'; please get a newer Subversion client


Time to port install svn I guess.
I have not attempted a Solaris build yet.   Get Mac going first....

Offline virag0

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #20 on: September 08, 2010, 06:09:43 am »
Hi,
OK, I have a new subversion macport installed.  Now I know the version I compiled that works except for the savegame:

[eros:~/ufoai_2.3-old] root# 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: 32055
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 31968
Last Changed Date: 2010-08-27 20:33:35 +1000 (Fri, 27 Aug 2010)


Now, the other one I downloaded was a 9.8mb source only with the maps etc in /base derived from the install above.
This version can be found as:

http://sourceforge.net/projects/ufoai/files/UFO_AI%202.x/2.3/ufoai-2.3-source.tar.bz2/download

And it is different to the svn download above.   I did a diff -r on the two source trees and they are subtly different....

The svn download works fine, the 9.8mb source does not......

Cheers.......






Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: ufoai 2.3 on OSX PPC Leopard - save game fails
« Reply #21 on: September 08, 2010, 08:41:21 am »
And the output of "svn st" or "svn diff"?

Hopefully nothing modified

Offline virag0

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: Compiling 2.3.1 for PPC - maps?
« Reply #22 on: August 10, 2011, 02:04:43 pm »
Hi,
I am resurrecting this post, since I have now got 2.3.1 running, but with the same save game
problem as 2.3.0, so something is not resolved.

Can anyone confirm they can save games  in 2.3.1 with a PPC version?

I can't yet get 2.4 working, so I want to get 2.3.1 going so PPC users can enjoy meanwhile.

I am soooo close to getting this working on PPC, just need help now with this save problem.
I have checked permissions, pahs etc, the problem is this bogus header corruption, but
the unpacked save file looks fine to me....



rachel