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

CLI option --edit-level takes path relative to data directory, inconsistent with normal play invocation #1819

Open
Semphriss opened this issue Sep 15, 2021 · 1 comment · May be fixed by #1835

Comments

@Semphriss
Copy link
Member

Playing a SuperTux level located in the current working directory is as easy as supertux2 ./level.stl. However, attempting to edit the same file does not work by simply appending --edit-level, since this option has a different file lookup mechanism.

Both situations should use the same lookup mechanism, that is, find the file using absolute path or relative path from current working directory.

tobbi added a commit that referenced this issue Oct 5, 2021
tobbi added a commit that referenced this issue Oct 5, 2021
@tobbi
Copy link
Member

tobbi commented Oct 5, 2021

Check the commit above for a first draft. Saving doesn't yet work.

@tobbi tobbi linked a pull request Oct 5, 2021 that will close this issue
tobbi added a commit that referenced this issue Mar 7, 2022
tobbi added a commit that referenced this issue Aug 30, 2023
tobbi added a commit that referenced this issue Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants