I've been getting a lot of "** failed to save screenshot" (or video) for some time, and I just narrowed it down to load():
- open a new instance of pico8
- press f1 -> saved screenshot to desktop
- load somecart from console
- press f1 -> ** failed to save screenshot
this works though:
- pico8.exe -run somecart.p8
- press f1 -> saved screenshot to desktop
I mostly run my carts from notepad++ (with -run) so it took me a while to figure it out. in fact I only noticed because I'm using the multicart system (thus using load() in code).
Am I the only one experiencing this? (windows10, desktop_path is empty in config.txt)
(edit) works ok on linux...
(edit2) I had backslashes in my root_path ("C:\DEV\SRC\PICO8\carts\" instead of "C:/DEV/SRC/PICO8/carts/"). that seems to fix the problem, for some reason.
I was having the same issue, and this post helped me fix it! Thanks :D
The other thing to note (which wasn't the problem here, but can be) is that you have to have that final slash:
.../blah/foo/carts/ ^ |
I fell victim to that for a while.
[Please log in to post a comment]