-
-
Notifications
You must be signed in to change notification settings - Fork 829
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
Ensure parent directory when saving a resource file #414
Comments
what's your code? currently trying to recreate this issue without making an entire game lol |
As I understand it, you should be able to reproduce this by running I tried it, using the latest Pyxel version, and found the following error:
|
ah, yes that did it. thanks |
im noticing i cant find a good way to create the file if its not found, tried using WB and just W: (sorry this is shitcode, im new to more complicated on this)
|
In Pyxel 1.8.6. The directory of the specified file is checked when the file is opened. |
When creating a new resource file with
pyxel edit D:/dir/test.pyxres
, if the parent directory (dir
in this case) doesn't exist, the resource editor will crash if you try to save:This can potentially make a user lose all their progress so far (like I just did 😞).
The text was updated successfully, but these errors were encountered: