[Scummvm-devel] Endian problem with Atlantis
Max Horn
fingolfin at marblehorse.org
Mon Jul 8 02:52:03 CEST 2002
At 17:50 Uhr +1000 08.07.2002, fredm at spamcop.net wrote:
>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.
Considering that the Mac versions of the data files work just fine,
it is not the same.
>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?
A debugger will do nicely :-)
Cheers,
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:max at quendi.de>
phone: (+49) 6151-494890
More information about the Scummvm-devel
mailing list