Skip to content
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

Unexpected screen size can crash Infocom V6 games #64

Open
DFillmore opened this issue Jul 4, 2019 · 1 comment
Open

Unexpected screen size can crash Infocom V6 games #64

DFillmore opened this issue Jul 4, 2019 · 1 comment

Comments

@DFillmore
Copy link
Owner

DFillmore commented Jul 4, 2019

The V6 Infocom games expect a screen size of 320/200. If the ratio does not match this, Zork Zero will place various screen elements (right border image, compass direction images) in the wrong place, and sometimes even crash.

A possible fix for this, to allow the application window to be resized without breaking the game, would be to check if the game is one of these four, and fix the 'Z-Machine screen' at the correct ratio, and center it with empty borders at left/right or top/bottom if Viola's window is the wrong size.

@DFillmore
Copy link
Owner Author

Marked as enhancement rather than bug because technically the V6 games are making incorrect assumptions about screen size and doing weird stuff if they're wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant