Log In  

It would make sense if dragging a .p8/.p8.png onto pico-8 ("pico8 file_path") would cause it to cd to the containing directory, load the cart, and run it. In particular, this would allow to associate pico-8 with the .p8 format and/or start it from external applications (e.g. to use Notepad++/Sublime Text for editing code and have a key to launch pico-8 with the current file loaded).

P#10476 2015-05-05 03:03 ( Edited 2015-05-05 09:35)

Some kind of auto-reload (reloading the current cartridge if it is changed on re-focusing pico8) would be better for editing in external applications to avoid sitting trough the booting sequence every time :)
Auto reload is not very retro-consolish though... :)
I don't even mention live editing... :) (Zerobrane Studio can do that with several lua based engines - I don't know if something can be hacked together with pico8 too)

Another possible solution could be just skipping the "boot" altogether if pico8 launched with command line arguments. (I suppose the boot sequence is just for the show.)
Or (to keep the retroish feeling) only skipping the boot sequence if there is a specific argument like "pico8 filepath -devmode"

P#10477 2015-05-05 05:35 ( Edited 2015-05-05 09:35)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-02-06 18:59:33 | 0.004s | Q:7