Opened 7 years ago

Closed 3 years ago

Last modified 3 years ago

#9713 closed defect (fixed)

FULLPIPE: Sprites/Animation broken (AmigaOS4)

Reported by: raziel- Owned by: sev-
Priority: high Component: Engine: NGI
Version: Keywords:
Cc: Game: Full Pipe

Description

ScummVM 1.10.0git (Mar 6 2017 09:17:16)
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC FreeType2 JPEG PNG cloud (servers, local)

Sprites are not drawn, instead they are drawn as a blank line with gfx mush inside
Hotspot areas where static animation should be playing are simple black blocks (i.e. cuckoos clock)

Full Pipe (Windows/English)

AmigaOS4 - SDL - BE - PPC
gcc (adtools build 5.3.0) 5.3.0

Attachments (3)

Full Pipe (Windows_English)_001.png (245.1 KB ) - added by raziel- 6 years ago.
Shows the complete corruption of all sprites (areas)
Crashlog_scummvm_2018-05-06_11-16-28.txt (31.9 KB ) - added by raziel- 6 years ago.
Added the crashlog for conveniance
Full Pipe (Windows_English)_002.png (361.9 KB ) - added by raziel- 6 years ago.

Download all attachments as: .zip

Change History (23)

comment:1 by csnover, 6 years ago

Component: --Unset--Engine: Fullpipe
Game: Full Pipe

comment:2 by raziel-, 6 years ago

Thanks @csnover

Right now, i'm not even reaching the game screen.

ScummVM crashes before it even opens.

@sev is investigating (i hope)

comment:3 by bonki, 6 years ago

Do you still experience problems with a current build?

comment:4 by raziel-, 6 years ago

Problems, yes.

I'm still not able to get into the game.
Be it the Demo (where it Displays the static Intro images) or the Full Game.

In both cases it will freeze my System with a back Stern.

comment:5 by raziel-, 6 years ago

Stupid Smartphone...

...with a black screen.

It "seems to be a crash in our newlib implementation...it's under Investigation by a Core dev right now, though i haven't got any answer yet.

comment:6 by bonki, 6 years ago

So this is not really a bug in ScummVM but upstream?

comment:7 by raziel-, 6 years ago

I can't completely deny it, but can only say for sure once i get Feedback myself.

I'll post news once i know, if that is ok with you?

comment:8 by raziel-, 6 years ago

Main problem right now is that this issue depends on #9705

Unless #9705 hasn't been resolved, i won't be able to provide more detail

by raziel-, 6 years ago

Shows the complete corruption of all sprites (areas)

comment:9 by raziel-, 6 years ago

I was able to find a way to let the game start (it's still crashing badly after some seconds though)

I removed all running programs, tried to save as much ram as possible (the game consumes about 250 MB here approx., didn't measure it extensively) and ran the game unstripped (for whatever reason, as soon as it is stripped it's crashing right while loading the first screen).
Just fyi i *still* have over a GB of free mem, so i'm still not convinced it's a memory problem :-/

The debug log shows some errors (don't know if they mean something, maybe i have installed the game wrong, maybe i'm missing something?)

This log btw shows the game going into the first loading screen where the character is "moving" thorugh the first pipe (there it froze)

scummvm -d5 fullpipe

Debuglevel (from command line): 5
Using SDL Video Driver "os4"
Using SDL Audio Driver "amigaos4"
Output sample rate: 44100 Hz
Output buffer size: 1024 samples
OpenGL maximum texture size: 16384
OpenGL extensions: GL_MGL_packed_pixels GL_EXT_packed_pixels GL_EXT_bgra GL_EXT_color_table GL_EXT_vertex_array GL_NV_texgen_reflection GL_ARB_vertex_array_bgra GL_ARB_multitexture GL_EXT_compiled_vertex_arrays GL_EXT_draw_range_elements GL_EXT_texture_filter_anisotropic GL_ARB_texture_env_combine GL_EXT_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 GL_ARB_texture_env_add GL_EXT_texture_env_add GL_ARB_vertex_buffer_object
OpenGL: GL context initialized
OpenGL: NPOT texture support: 0
OpenGL: Shader support: 0
OpenGL: Multitexture support: 1
OpenGL: FBO support: 0
File::open: opening 'THEMERC' failed
User picked target 'fullpipe' (gameid 'fullpipe')...

Looking for a plugin supporting this gameid... Fullpipe Engine
Starting 'Full Pipe'

OpenGL maximum texture size: 16384
OpenGL extensions: GL_MGL_packed_pixels GL_EXT_packed_pixels GL_EXT_bgra GL_EXT_color_table GL_EXT_vertex_array GL_NV_texgen_reflection GL_ARB_vertex_array_bgra GL_ARB_multitexture GL_EXT_compiled_vertex_arrays GL_EXT_draw_range_elements GL_EXT_texture_filter_anisotropic GL_ARB_texture_env_combine GL_EXT_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 GL_ARB_texture_env_add GL_EXT_texture_env_add GL_ARB_vertex_buffer_object
OpenGL: GL context initialized
OpenGL: NPOT texture support: 0
OpenGL: Shader support: 0
OpenGL: Multitexture support: 1
OpenGL: FBO support: 0
Starting detection in dir 'Games:GamesVM/Miscellaneous/Full Pipe/'

'4620.sc2': 'bffea807345fece14089768fc141af83'

Matched file: 4620.sc2
Found game: fullpipe ((null) Windows/English) (3)

... new best match, removing all previous candidates

Running Full Pipe (Windows/English)
OpenGL maximum texture size: 16384
OpenGL extensions: GL_MGL_packed_pixels GL_EXT_packed_pixels GL_EXT_bgra GL_EXT_color_table GL_EXT_vertex_array GL_NV_texgen_reflection GL_ARB_vertex_array_bgra GL_ARB_multitexture GL_EXT_compiled_vertex_arrays GL_EXT_draw_range_elements GL_EXT_texture_filter_anisotropic GL_ARB_texture_env_combine GL_EXT_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 GL_ARB_texture_env_add GL_EXT_texture_env_add GL_ARB_vertex_buffer_object
OpenGL: GL context initialized
OpenGL: NPOT texture support: 0
OpenGL: Shader support: 0
OpenGL: Multitexture support: 1
OpenGL: FBO support: 0
scene: <ÐМвеМÑПÑО> 858
File::open: opening '0858.shd' failed
File::open: opening '0858.sls' failed
scene: <ÐбÑОе ЎаММÑе> 321
scene: <ÐÐœÑÑП1> 3896
File::open: opening '3896.shd' failed
scene: <ÐÐœÑÑП2> 3907
File::open: opening '3907.shd' failed
File::open: opening '3907.sls' failed
File::open: opening 'intro2.avi' failed
scene: <СÑеМа загÑÑзкО> 635
File::open: opening '0635.shd' failed
File::open: opening '0635.sls' failed

I've also attached a screenshot where it shows the corruption i mentioned in the OP

It would be nice to know if the known "confined memory" platforms have problems with this game?

comment:10 by raziel-, 6 years ago

btw, i know that the description in OP has changed to the actual corruption, probably because of the work that has been done to the engine in the meantime.

I'm also not sure if this is a BE issue or simply a continuation of the fact that the engine can't load or corruptly load the sprites which drags down scummvm eventually.

When the crash happens there's *always* a "ABADCAFE" in my registers...

by raziel-, 6 years ago

Added the crashlog for conveniance

comment:11 by dafioram, 6 years ago

Summary: FULLPIPE: Sprites/Animation brokenFULLPIPE: AmigaOS: Sprites/Animation broken

comment:12 by sev-, 6 years ago

Is there a way to run AmigaOS on some kind of VM? Or maybe you could provide SSH access to your machine?

It is very strange that it cannot open files, and the crash suggests that there is a memory corruption somewhere.

comment:13 by raziel-, 6 years ago

I *think* i read on the amiga fora that it is indeed possible to run it in a VM, but it's exhausting work to prepare it and it's not really usable afterwards.

ssh access...i believe i lack the tools to gain acess to that one, but i'm more than willing to try...if someone is doing the work and tells me what exactly to do.

by raziel-, 6 years ago

comment:14 by raziel-, 6 years ago

I am able to reach the intro (see screenshot) but it still has corrupted sprites/animation (Endian issue perhaps?).

If i run the exe non-stripped, the game runs up to the intro shown above, sometimes even further, but after some seconds it crashes.

If i'd be able to fix those sprites, i could at least rule out that those issues take ScummVM down as well and move on looking for a cure elsewhere.

Help?

comment:15 by raziel-, 4 years ago

Summary: FULLPIPE: AmigaOS: Sprites/Animation brokenFULLPIPE: Sprites/Animation broken (AmigaOS4)

comment:16 by sev-, 4 years ago

Priority: normalhigh

comment:17 by dwatteau, 3 years ago

Hi,

With some precious help from sev-, the ba580538fb3c9811625243c53724b7b3513ccdc0 commit appears to fix all the visual problem on my PowerPC system!

@raziel- be ready to test a new build on your Amiga ;)

comment:18 by raziel-, 3 years ago

@dwatteau
@sev-

Wow, that's an unexpected surprise.

Yes, it finally works, complete intro and first few screens tested and working perfectly fine

Thank you so very much :-D

comment:19 by sev-, 3 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

Finally.

comment:20 by digitall, 3 years ago

Component: Engine: FullpipeEngine: NGI
Note: See TracTickets for help on using tickets.