Opened 3 months ago

Last modified 3 months ago

#15505 pending defect (pending)

SCUMM HE MOONBASE: big endian problem (MORPHOS)

Reported by: BeWorld2018 Owned by: AndywinXp
Priority: high Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Moonbase Commander

Description (last modified by BeWorld2018)

I just test last scummvm (build 16-11-2024 master 2.10.0git)

Something wrong with gfx (check screenshoot)

All mode: OpenGL (Software or OpenGL) or SDL Surface

Game: Moonbase Commander (1.1/Windows/English)
MorphOS - PPC - BigEndian

Attachments (18)

moonbase.png (1.0 MB ) - added by BeWorld2018 3 months ago.
scummvm-arttime-00000.png (147.7 KB ) - added by dwatteau 3 months ago.
scummvm-arttime-00001.png (159.5 KB ) - added by dwatteau 3 months ago.
scummvm-arttime-00002.png (166.2 KB ) - added by dwatteau 3 months ago.
scummvm-freddicove-00000.png (72.7 KB ) - added by dwatteau 3 months ago.
scummvm-freddicove-00001.png (200.0 KB ) - added by dwatteau 3 months ago.
scummvm-freddicove-00002.png (196.7 KB ) - added by dwatteau 3 months ago.
scummvm-baseball2001-00000.png (49.8 KB ) - added by dwatteau 3 months ago.
Adding the baseball2001 screenshots that Andy wanted
scummvm-baseball2001-00001.png (95.3 KB ) - added by dwatteau 3 months ago.
scummvm-baseball2001-00002.png (95.5 KB ) - added by dwatteau 3 months ago.
scummvm-baseball2001-00003.png (138.9 KB ) - added by dwatteau 3 months ago.
scummvm-baseball2003.png (236.0 KB ) - added by BeWorld2018 3 months ago.
scummvm-baseball2003-2.png (176.1 KB ) - added by BeWorld2018 3 months ago.
scummvm-baseball2003-1.png (345.2 KB ) - added by BeWorld2018 3 months ago.
scummvm-basketball.png (184.8 KB ) - added by BeWorld2018 3 months ago.
scummvm-arttime-00000.2.png (194.5 KB ) - added by dwatteau 3 months ago.
scummvm-arttime-00001.2.png (138.0 KB ) - added by dwatteau 3 months ago.
scummvm-moonbase-demo-win-00000.png (115.5 KB ) - added by dwatteau 3 months ago.

Change History (26)

by BeWorld2018, 3 months ago

Attachment: moonbase.png added

comment:1 by BeWorld2018, 3 months ago

Description: modified (diff)

introduction video seem correct.

comment:2 by dwatteau, 3 months ago

Owner: set to AndywinXp
Priority: normalhigh
Resolution: pending
Status: newpending

Thank you very much for taking the time to test games on MorphOS, and reporting the issues you see. This is very welcome and helpful!

I have a big-endian development system here, with a debugger and all that.

AndywinXp and I are working on this.

So far, we see that:

  • Moonbase Commander indeed has the problems you report
  • Freddi 1 is OK
  • Freddi 5 has rendering issues too
  • Blue's Art Time Activities has issues as well

The problem may be related to the recent rewrite of the GFX system for Humongous games.

I'll add some screenshots of what we saw. We're probably going to come back to this issue later this week.

by dwatteau, 3 months ago

Attachment: scummvm-arttime-00000.png added

by dwatteau, 3 months ago

Attachment: scummvm-arttime-00001.png added

by dwatteau, 3 months ago

Attachment: scummvm-arttime-00002.png added

by dwatteau, 3 months ago

by dwatteau, 3 months ago

by dwatteau, 3 months ago

comment:3 by dwatteau, 3 months ago

I've added some screenshots from own BE tests, at Andy's request.

For Freddi5, we saw that removing this part of Wiz::processWizImageDrawCmd() didn't change the result:

// Check if the images are in their native format and swap them if needed...
if (_vm->_game.heversion > 99) {
        for (int i = 0; i < requiredImageCount; i++) {
                ensureNativeFormatImageForState(requiredImages[i], state);
        }
}

In ensureNativeFormatImageForState(), we saw that compType == 1, so wiz16bpp is always false.

Investigation continues... :)

comment:4 by BeWorld2018, 3 months ago

ok thanks

Last edited 3 months ago by BeWorld2018 (previous) (diff)

by dwatteau, 3 months ago

Adding the baseball2001 screenshots that Andy wanted

by dwatteau, 3 months ago

by dwatteau, 3 months ago

by dwatteau, 3 months ago

by BeWorld2018, 3 months ago

Attachment: scummvm-baseball2003.png added

comment:5 by BeWorld2018, 3 months ago

Add some baseball 2003 from MorphOS

by BeWorld2018, 3 months ago

Attachment: scummvm-baseball2003-2.png added

by BeWorld2018, 3 months ago

Attachment: scummvm-baseball2003-1.png added

by BeWorld2018, 3 months ago

Attachment: scummvm-basketball.png added

comment:6 by BeWorld2018, 3 months ago

And Basketball... colors seem ok but i have crash...

comment:7 by AndywinXp, 3 months ago

I have fixed a great majority of those issues (including all crashes) on https://github.com/scummvm/scummvm/commit/37cc784e5ef4d31a08c8c03ed32fd916181c67fd

The remaining part of these issues is frankly stumping me for good...

Last edited 3 months ago by AndywinXp (previous) (diff)

comment:8 by dwatteau, 3 months ago

Thanks a lot Andy!

I'm adding screenshots of the current behavior on big-endian, after updating to that commit. So that we have an idea of what needs to be fixed later.

by dwatteau, 3 months ago

Attachment: scummvm-arttime-00000.2.png added

by dwatteau, 3 months ago

Attachment: scummvm-arttime-00001.2.png added

by dwatteau, 3 months ago

Note: See TracTickets for help on using tickets.