DavidKinder / Windows-Frotz

Z-code interpreter for Windows, based on Stefan Jokisch's Frotz interpreter core.
http://www.davidkinder.co.uk/frotz.html
GNU General Public License v2.0
58 stars 12 forks source link

[Screen too narrow.] in Trinity #21

Closed MegaMoses closed 2 years ago

MegaMoses commented 2 years ago

Attempting to run any of the versions of Trinity found here (https://github.com/historicalsource/trinity) will cause a [Screen too narrow.] or similar message followed by a prompt to press any key to quit, making the game impossible to run. Apparently Trinity requires 79 columns minimum, but I'm getting the error even with no margins on a modern monitor. Not sure what the issue could be.

DavidKinder commented 2 years ago

A recent issue was reported (https://github.com/DavidKinder/Windows-Frotz/issues/20) pointing out that the way the interpreter passes the screen width to the game wraps around at 255 characters. It is possible that this is the issue causing problems here. Can you give me an idea of how wide your screen is, in pixels?

MegaMoses commented 2 years ago

2560px. I usually run Frotz with a left margin of 4 and a right margin of 1836, if that helps, but I still run into this issue even with no margins at all.

MegaMoses commented 2 years ago

Actually, it looks like changing my font size from 12 to 11 seems to have fixed it, even with my large margins enabled.

DavidKinder commented 2 years ago

Attached is a build of the latest code, which has https://github.com/DavidKinder/Windows-Frotz/issues/20 fixed. I suspect this will fix the problem for you, if yes let me know and I'll make a new release available.

Frotz.zip

MegaMoses commented 2 years ago

Yep, that fixes it. Any idea when this will be in one of the stable release packages?

DavidKinder commented 2 years ago

It shouldn't be long, I just need to find the time to make the release. Probably early next week.

MegaMoses commented 2 years ago

Great to hear and thanks for your help!