Re: [Warzone-dev] Update on Mac OS X port

2007-12-16 Thread Bertrand Coconnier
Ariston Johnson wrote :
> Now, Warzone will start up, but this is what I get:
> http://hermes.theari.com/~ari/wztrunk-20071216.png
> 
> Maybe someone who knows more about QuesoGLC or how it's all hooked
> into Warzone can help figure this one out.  For those who were around
> in mid-2005 when I started the Mac port, you'll recall that garbled
> menu text was the first hurdle I had to deal with once I got the game
> to compile. :)
> 
> Ari

In order to make sure if QuesoGLC is the culprit, the first place to
look at are the tests and examples of the library. Since so far, when
QuesoGLC was the root cause of the issues, some of the tests and
examples failed.

Please make sure of that and report to the QuesoGLC mailing list or bug
tracker if something goes wrong.

Regards,

Bertrand.


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Update on Mac OS X port

2007-12-16 Thread Ariston Johnson
On Dec 16, 2007 11:39 AM, Ariston Johnson <[EMAIL PROTECTED]> wrote:
> On Dec 16, 2007 4:54 AM, Freddie Witherden <[EMAIL PROTECTED]> wrote:
> > > I managed to get the Xcode project to build QuesoGLC and Popt and add
> > > them to Warzone.
> >
> > Excellent news!
> >
> > > However, Warzone currently won't build because some
> > > game structures have been changed and the endian_*() calls made it so
> > > little-endian developers didn't notice that they had to change these
> > > things.
> >
> > Luckily per is re-writing the save-game format so it should not be
> > that much of a problem. I will however see if I can take a look at
> > some of these problem functions.
>
> All that needs to be done is to go through all of the on-disk formats,
> save-game and others, and make sure that the right endian_*()
> functions are called right before saving the file to disk and right
> after reading it, for every element of the structure.

I did this.  It was just that there was no longer struct { x, y, z }
pos; but just x, y, z in the OBJECT_SAVE_V19 definition.

Now, Warzone will start up, but this is what I get:
http://hermes.theari.com/~ari/wztrunk-20071216.png

Maybe someone who knows more about QuesoGLC or how it's all hooked
into Warzone can help figure this one out.  For those who were around
in mid-2005 when I started the Mac port, you'll recall that garbled
menu text was the first hurdle I had to deal with once I got the game
to compile. :)

Ari

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Update on Mac OS X port

2007-12-16 Thread Ariston Johnson
On Dec 16, 2007 4:54 AM, Freddie Witherden <[EMAIL PROTECTED]> wrote:
> > I managed to get the Xcode project to build QuesoGLC and Popt and add
> > them to Warzone.
>
> Excellent news!
>
> > However, Warzone currently won't build because some
> > game structures have been changed and the endian_*() calls made it so
> > little-endian developers didn't notice that they had to change these
> > things.
>
> Luckily per is re-writing the save-game format so it should not be
> that much of a problem. I will however see if I can take a look at
> some of these problem functions.

All that needs to be done is to go through all of the on-disk formats,
save-game and others, and make sure that the right endian_*()
functions are called right before saving the file to disk and right
after reading it, for every element of the structure.

These problems are why I had suggested XML a while back.  Most of the
crashes on the Mac version of Warzone have been related to issues with
things being loaded from disk and having a different value than when
they were saved, and some are harder to track down than others.

The network code is the other place that I know is being changed
heavily but that right now has endian issues.  Maybe in the next
couple months we can get it to the point where Mac players can play
the trunk version and even play against other people online.  And
that's where the *real* fun in Warzone begins. :)

Ari

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Update on Mac OS X port

2007-12-16 Thread Freddie Witherden
> I managed to get the Xcode project to build QuesoGLC and Popt and add
> them to Warzone.

Excellent news!

> However, Warzone currently won't build because some
> game structures have been changed and the endian_*() calls made it so
> little-endian developers didn't notice that they had to change these
> things.

Luckily per is re-writing the save-game format so it should not be  
that much of a problem. I will however see if I can take a look at  
some of these problem functions.

Regards, Freddie.


___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev