Log In  
[ :: Read More :: ]

I want to automate calling the save @url command so that I can get the https://www.pico-8-edu.com/ url for my cart programmatically.

Ideally I would be able to use a terminal command like
pico8 -export @url
which would output the url to stdout but that is not supported.

I noticed that the url query string matches the binary contents of a tiny rom export.
This would allow me to construct the url myself, but unfortunately
pico8 -export -t mycart.p8.rom
similarly does not work (the -t flag is only supported when exporting from within the PICO-8 console)

Another possibility would be to parse the p8.png file for the compressed cart contents, but I'm not 100% sure that uses the same format as the tiny rom, and I would like to avoid it if possible.

Does anyone know if there is a way to do this?

P#132821 2023-08-07 03:06