-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snavig BPal blorbs not backwards compatible with Frotz #2
Comments
I think this is an implementation issue in Frotz (which also affects Windows Frotz: it doesn't abort but also doesn't use the adaptive palette). It's a result of compressing the images. The Frotz code effectively does this:
But this is checking both for paletted images and images 4 bits or less. The compression code in Snavig will sometimes generate 8-bit images, and this is causing Frotz to fail. The Blorb specification says this about the adaptive palette:
So technically speaking the Blorbs generated are valid, but since the Infocom Blorbs have contained 4-bit images since the dawn of time, Frotz is apparently making the assumption that they must be 4 bits. The quick fix here is to not use |
I found another Frotz issue with embedded stories in Blorbs. It's not visible in Zork Zero as the message gets overwritten, but you can see it in Arthur. Frotz says:
It's not fatal, so is just cosmetic, but it's an issue with Frotz assuming pictures will always come from an external Blorb file, and not from an embedded story. I've added two new issues to Frotz's tracker, one for the adaptive palette, and one for this "missing resources" issue. |
Cross-linking those issues here:
|
I've also filed a report against Windows Frotz at DavidKinder/Windows-Frotz#34. |
To repro:
sfrotz
sfrotz zork0-r393-s890714.z6 ZorkZero.blb
. It starts normally.snavig
blorb.snavig -a -s zork0-r393-s890714.z6 -c -o zork0-r393-s890714-graphics.blb ZorkZero.blb
snavig
blorb insfrotz
.sfrotz zork0-r393-s890714-graphics.blb
Expected:
snavig
blorb files are supposed to be backwards compatible, so this blorb should work in Frotz.Actual: Frotz crashes with an error. "Frotz Fatal Error: Non-paletted graphics cannot be adaptive"
My goal was to create a single-file blorb that would work well in Glk interpreters or in Frotz, and primarily link to that highly compatible blorb on IFDB, but that doesn't seem to work.
The text was updated successfully, but these errors were encountered: