Operating System: Arch Linux.
In "config.txt" if
is set, then whenever you try to "cd" within PICO-8, you get a
error message. But if you change the root path to something other than "./", then PICO-8 works fine. It even works fine if you replace the "./" with a "../", which is a bit silly :D. It also works if you delete the "root_path" line.
Here is what the error message looks like:
EDIT: Ok, cd also doesn't work when you use the "-root_path ./" command-line parameter, but I guess that should have been common sense I guess.
I'm having the same issue. I want to put an installation of Pico-8 on a USB drive. I set up a .bat to start with the parameter
(also tried with "\"s) to no avail. CD:FAILED no matter what. Windows 10. Loading carts still works fine.
That bash script is generating direct paths when run. Ie "./data" is being expanded out to "e:\pico8\data" or whatever when it's ran. That's what pwd does.
"-home ./pico-8/home" is a relative path and it's parsed by the system before pico-8 is running. Depending on what pico-8 thinks the current working directory is after it's up and running, "./data" could be pointing to C:\data or (the directory of the pico8 executable)\data.
It's the same reason the "folder" command doesn't open a window when you have -home set to a relative path.
[Please log in to post a comment]