chrender / fizmo

Z-Machine interpreter in plain C
https://fizmo.spellbreaker.org/
BSD 3-Clause "New" or "Revised" License
40 stars 5 forks source link

crash with "Unknown i18n error." when saving in zork 2 in debian bullseye #30

Open john-peterson opened 1 year ago

john-peterson commented 1 year ago

lsb_release -c
Codename:       bullseye

sudo apt install -y autoconf libxml2-dev

git clone --recursive  https://github.com/chrender/fizmo

autoreconf -fi
./configure --disable-x11 --disable-sdl --disable-aiff --disable-png --disable-jpeg

fizmo-console/src/fizmo-console/fizmo-console ~/z2/DATA/ZORK2.DAT

ZORK II: The Wizard of Frobozz
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Version 48 / Serial number 840904

Inside the Barrow
You are inside an ancient barrow hidden deep within a dark forest. The barrow opens into a narrow tunnel at its southern end. You can see a faint glow at the far end.
A strangely familiar brass lantern is lying on the ground.
A sword of Elvish workmanship is on the ground.

>save

Unknown i18n error.
john-peterson commented 1 year ago

there is something wrong with my build

the apt version does not exhibit this

sudo apt install fizmo-console

fizmo-console

Usage: fizmo-console [options] <story-file>

fizmo-console version 0.7.13.

fizmo-console ~/z2/DATA/ZORK2.DAT

ZORK II: The Wizard of Frobozz
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Version 48 / Serial number 840904

Inside the Barrow
You are inside an ancient barrow hidden deep within a dark forest. The barrow opens into a narrow tunnel at its southern end. You can see a faint glow at the far end.
A strangely familiar brass lantern is lying on the ground.
A sword of Elvish workmanship is on the ground.

>save

Please enter savegame filename.
>savegame.quta

Ok.

>

for comparison this is the version output of my build


fizmo-console/src/fizmo-console/fizmo-console

Usage: fizmo-console [options] <story-file>

fizmo-console version 0.7.14.
john-peterson commented 1 year ago

The problem is that I need to run it offline in aarch64 termux android and that build has the same crash

And no one has published a build for the android subsystem

A static build from debian aarch64 subsystem linux will also run on subsystem android. That's why I tried to build it in debian too