[Scummvm-devel] Endian problem with Atlantis
fredm at spamcop.net
fredm at spamcop.net
Mon Jul 8 00:51:03 CEST 2002
Hi Max,
Thanks for the reply!
Quoting Max Horn <fingolfin at marblehorse.org>:
> At 20:53 Uhr +0200 07.07.2002, Fredrick Meunier wrote:
> >I am trying out 0.2.0 and the 20020630 cvs version of scummvm with
> >the Amiga version of Indiana Jones and the fate of atlantis on Mac
> >OS X 10.1.5. All the actors look scrambled in a way that looks
> >consistent with endian problems with reading the graphics, and the
> >problem does not occur with the DOS version of the files. I am using
> >the -a flag with the Amiga version (and of course not with the DOS
> >version).
>
> Well, this sounds as if that version uses a different encode or so?
> Hard to tell w/o having the data files.
My guess was that they are over endian-fixed, as the Amiga is bigendian and so
is the Mac, all other datafiles seem to be read correctly though (sound,
backgrounds, text). I had a look at the source but it was not immediately clear
where the endian conversions were going on.
I was of course assuming that the data files are normally little endian, but
converted to big endian on big endian platforms - am I wrong?
Are there any tools to let me inspect the actors data?
> >One other problem I get is that in full screen mode I cannot move
> >the cursor to the bottom row of commands. I do not have any problem
> >in windowed mode.
>
> That is caused by a bug in SDL, unfortunatley. I submitted a patch
> which is already in SDL CVS (and will be in the next SDL version).
> There are various other bug fixes in the SDL CVS version, so you
> might want to get & install that-
Great, I'll try the CVS version of SDL.
Fred
More information about the Scummvm-devel
mailing list