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

World selector does not traverse directories #50

Open
SaxxonPike opened this issue Mar 6, 2019 · 3 comments
Open

World selector does not traverse directories #50

SaxxonPike opened this issue Mar 6, 2019 · 3 comments
Labels
needs input This issue needs more input from the reporter. nice to have This issue is about a feature that isn't required but would still benefit users.

Comments

@SaxxonPike
Copy link
Owner

The original engines both do not allow the traversal of directories in the world selector. All game worlds need to share a directory with the game executable.

In the future, we would like to make it possible to navigate through the filesystem. This would have some security implications and cross-platform nastiness involved, but it's probably something we should include.

We would like some input on how this should be implemented, as it extends ZZT's capabilities and therefore there's no frame of reference.

@SaxxonPike SaxxonPike added nice to have This issue is about a feature that isn't required but would still benefit users. needs input This issue needs more input from the reporter. labels Mar 6, 2019
@hegyak
Copy link

hegyak commented Mar 22, 2019

I think the world browser should not go above the root folder for Roton/Lyon. Example:
C:\Games\ZZT

The game should not allow me to browse to C:\Games or C:\

Due to the cross-platform nature of things, permission checking when attempting to navigate to another folder is necessary.

@Spectere
Copy link
Collaborator

The world browser would have to be able to freely traverse the filesystem in order to work acceptably in macOS and Linux. If Roton were installed system-wide (which is common when using a distro's package manager), users would need to be able to browse to their home directory in order to access their personal collection of worlds. Whenever we get around to releasing Mac app bundles that point will be even more important due to how they're laid out (the executable would be located in Roton.app/Contents/MacOS/, and having to slip ZZT files in there would be painful).

If maintaining the aesthetic is important, I'd suggest putting the directories (and drive letters in the case of Windows) at the bottom of the list, preferably in a different color to distinguish them from the files.

If some extra rule bendage/breakage is acceptable, I'd say model it after what MegaZeux currently has. That would require new UI controls to be created, however, and it wouldn't feel as ZZT-like.

@hegyak
Copy link

hegyak commented Mar 22, 2019

I took a look at KevEdit and it does look like a reasonable solution to this question. It keeps the ZZT Look/Feel while also supporting modern users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs input This issue needs more input from the reporter. nice to have This issue is about a feature that isn't required but would still benefit users.
Projects
None yet
Development

No branches or pull requests

3 participants