Problem with HE games on OS X PPC (Intel OSX fine)

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
belboz
Posts: 5
Joined: Sun Feb 05, 2006 12:06 am

Problem with HE games on OS X PPC (Intel OSX fine)

Post by belboz »

I am getting "premature end" on some Humongous Entertainment games on my dual G5 OS X system.

fatty bear
freddy fish 1
putt putt joins the parade
putt putt saves the zoo

They all exit with the premature end error.

These same games work fine on my MacBook laptop (intel based). I actually just copied the files from the G5 to the laptop.

I am using the exact same universal binary and data files on both machines.

I use to be able to play some of these titles on an older version of scummvm.

Our newest little one loves these games, and I would prefer her to play on the G5 system.

I am assuming it is an endian issue with something. I would love any tips on where to look in the source for a possible fix.

I have tried the latest version and the latest OS X subversion build. Same issue.

scummvm version 0.7.1 plays fatty bear on my PPC system, but the mouse cursor disappears. It use to not do this on older OS X versions.

Any thoughts would be greatly appreciated.
belboz
Posts: 5
Joined: Sun Feb 05, 2006 12:06 am

Post by belboz »

By the way here is the debug output on fattybear

Code: Select all

(0:1:0x80): Opening hashed: /Volumes/multimedia/games/kids/fatty bear/FBEAR.HE3
(0:1:0x80): check_offset: size=2 vs 9000 offset=0 size=2
(0:1:0x80): check_offset: size=80000002 vs 9000 offset=80000000 size=2
(0:1:0x80): fbear.he3: premature end!
Kirben
Posts: 421
Joined: Wed Sep 21, 2005 12:15 pm
Location: Melbourne, Victoria, Australia

Post by Kirben »

This is a known problem, an endian issue which has not been fixed so far. Check the current bug report for more details.
belboz
Posts: 5
Joined: Sun Feb 05, 2006 12:06 am

Post by belboz »

Thanks for the info.

I checked that post and saw pretty much what I am seeing.

Looks like the problem is with the read_library routine.

The DOS header is not being read correctly since it is byte swapped. I was able to hack past this and get the games in question to load, albeit with ugly mouse cursors.

Problem seems to lie in the fact that the he3 file in the games mentioned in my previous message is a DOS executable containing only cursor images.

When I get more time this weekend I will try a more permanent fix.

I did update that bug report with my findings also.
Post Reply