Log In  


Hi there,

I'm trying to launch a multi-cart game like Another World from the command line under Linux.

My command line is:

pico8 -windowed 0 -root_path /path/to/aw -run aw.p8

When I launch it, I get an error message COULD NOT LOAD AW.P8.

I can check that I'm in the right folder with a DIR and I can load and execute it from Pico-8 through LOAD AW.P8 (returns: LOADED AW.P8 (49877 CHARS) and then RUN it from there, but I want to get it loaded + run from the command line.

Anyone knows how I can do that?



I think the root_path option changes the location where pico8 looks for carts, but filenames (used for 'reload' and other things) are still resolved from the real current working directory. So I would try this: 'cd /path/to/aw' then 'pico8 -run aw.p8'


You can just do:

pico8 -windowed 0 -run /path/to/aw/aw.p8

reload() (and others) will use paths relative to the aw.p8 path correctly.


@merwok @dddaaannn Thank you so much. Both your solutions work... I thought I tried them earlier, but I must have goofed.


Oh, actually, I think I know why: I started my tests for multi-carts with 0.2.2b before upgrading to 0.2.3, there must have been a change there!



[Please log in to post a comment]