Opened 5 years ago

Last modified 18 months ago

#6779 new defect

ZVISION Is unusable on Symbian because of a bug in scanf()

Reported by: SF/superzanac Owned by:
Priority: normal Component: Engine: ZVision
Keywords: Cc:
Game: Zork Grand Inquisitor

Description

Scummvm version 1.8.0, builded from latest sources at 15.01.18
This bug present in Zork Nemesis and Zork grand inquisitor. Start game from ingame screen and visa versa. Cursor visible, mostly scrreens - not(see screenshots badscreen-1 and badscreen-2 in attach). Attach contain also savegames near nice-looked objects.
Languages - English.
Game versions - demos, data files detected correctly.
Platform - Symbian, compiler - GCCE 4.4.1

Ticket imported from: bugs/6779.

Attachments (1)

difury.zip (751.5 KB ) - added by SF/superzanac 5 years ago.

Download all attachments as: .zip

Change History (9)

by SF/superzanac, 5 years ago

Attachment: difury.zip added

comment:1 by eriktorbjorn, 5 years ago

The "badscreen" images look like what I saw from bug #6434 - ALL: sscanf("%f"), atof() etc. not portable due to Locale

The problem then was that it was trying to parse floating-point numbers that used a period as decimal separator, and in my locale it's a comma instead, so all values were mis-parsed as zero. However, that bug was fixed more than a year ago.

Unless maybe the bug is still present in the Symbian version?

comment:2 by SF/superzanac, 5 years ago

Yes, it still present. I play them today

comment:3 by bluegr, 5 years ago

Summary: ZVISION: graphic artefactsZVISION Is unusable on Symbian due to missing floating point math functionality

comment:4 by bluegr, 5 years ago

So, the actual issue here is that the Symbian port misses floating point arithmetics functionality. Adapting description

comment:5 by wjp, 5 years ago

No, it seems this is due to scanf being limited.

comment:6 by bluegr, 2 years ago

Summary: ZVISION Is unusable on Symbian due to missing floating point math functionalityZVISION Is unusable on Symbian due to bug with scanf() in Symbian

Just saw this while revisiting old issues. Adapting the description accordingly.

comment:7 by bluegr, 2 years ago

Summary: ZVISION Is unusable on Symbian due to bug with scanf() in SymbianZVISION Is unusable on Symbian because of a bug in scanf()

comment:8 by bonki, 18 months ago

Do we still support the Symbian port?

Note: See TracTickets for help on using tickets.