Log In  


Hi Community,

I'm brand new to PICO-8 (like, started using it today). I have an issue. A typo in my filename when i saved it, so I re-saved my game and now I have two :(

testgame.p8
testgame#.p8

I've tried DEL/DELETE [filename] but i get the message:

SYNTAX ERROR
SYNTAX ERROR NEAR 'TESTGAME'

I want to remove testgame#.p8

This may be trivial, but i like a clean environment.

Thanks,
roberto



created a testdir and tried to delete this: FAILED!

tried:
DELETEDIR(foldername)
RM -R(foldername)

help!


I think PICO-8 limits you to only constructive commands from within itself. Nothing destructive like "del" or "rmdir".
I think this is to keep anyone from managing to harm your computer with a malware game.

On the bright side, zep makes it easy to do the work using your desktop UI. Just type "folder" inside PICO-8 and it should spawn, e.g. in Windows, a File Explorer window already in the right location for you to manipulate the actual .p8 files.


Thanks Felice, that makes sense ;)


Yeah, makes sense. Especially now that PICO-8 does binary exports. If you want to modify your files and directories, you'll need to do it through your OS (and rightfully so!)



[Please log in to post a comment]