Opened 11 years ago

Closed 11 years ago

#4088 closed defect (fixed)

DW2: Crash due to endian issue

Reported by: SF/philski Owned by: joostp
Priority: high Component: Engine: Tinsel
Keywords: Cc:
Game: Discworld II

Description

Version: ScummVM 0.13.0svn (35709)
Platform: Wii
(English language/European release)

When trying to run the game it crashes after the opening titles (the Sutherland-Barnett Production animation)

Ticket imported from: #2494575. Ticket imported from: bugs/4088.

Change History (14)

comment:1 by dhewg, 11 years ago

This is an endian issue. Afaict there is currently noone working on this. I'll look into it, but i'm new to the DW code, no promises ;)

comment:2 by fingolfin, 11 years ago

dhweg, you should also talk to the DW2 team (mostly dreammaster, I guess), for support.

comment:3 by fingolfin, 11 years ago

Owner: set to dreammaster
Summary: Wii: DW2 CrashWII: DW2 crashes (due to endian issue?)

comment:4 by dreammaster, 11 years ago

I can certainly help with any questions about how DW2 does things, but wouldn't be much help in locating specific memory accesses that should be endian wrapped, since I don't have a big-endian system. I think that joostp has already done some work on endian fixing the Tinsel code, so you might want to touch bases with him.

comment:5 by bluegr, 11 years ago

Could you please be more specific about what the actual error is?

Is it the same as in bug #2462700?
https://sourceforge.net/tracker/index.php?func=detail&aid=2462700&group_id=37116&atid=418820

comment:6 by SF/philski, 11 years ago

I'd love to be more specific, however this build doesn't seem to give me any error reports. It just kicks back to the homebrew menu after the aforementioned animation.

comment:7 by fingolfin, 11 years ago

When I am back in Germany in march, I can do some debugging on a big endian machine. But if e.g. joostp has some time *before* that...

Somebody mentioned that Tinsel might also suffer from alignment issues, BTW.

comment:8 by fingolfin, 11 years ago

Owner: changed from dreammaster to joostp
Priority: normalhigh

comment:9 by fingolfin, 11 years ago

Game also crashes on OS X PowerPC according to bug report #2531273.

comment:10 by fingolfin, 11 years ago

Summary: WII: DW2 crashes (due to endian issue?)DW2 crashes due to endian issue

comment:11 by fingolfin, 11 years ago

Summary: DW2 crashes due to endian issueDW2: Crash due to endian issue

comment:12 by joostp, 11 years ago

Yes, this is a general DW2/Tinsel2 problem on all Big Endian machines. I had done some work on this, but not finished yet. Seems I have some free time now, so stay tuned...

comment:13 by joostp, 11 years ago

As of r36219 the game should be playable on big endian systems.
I've only tested a few scenes though, so there's bound to be something lurking still.

comment:14 by joostp, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.