caterpillargames [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=61137 Any way to programmatically call save @url? <p>I want to automate calling the <code>save @url</code> command so that I can get the <a href="https://www.pico-8-edu.com/">https://www.pico-8-edu.com/</a> url for my cart programmatically.</p> <p>Ideally I would be able to use a terminal command like<br /> <code>pico8 -export @url</code><br /> which would output the url to stdout but that is not supported.</p> <p>I noticed that the url query string matches the binary contents of a tiny rom export.<br /> This would allow me to construct the url myself, but unfortunately<br /> <code>pico8 -export -t mycart.p8.rom</code><br /> similarly does not work (the <code>-t</code> flag is only supported when exporting from within the PICO-8 console)</p> <p>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.</p> <p>Does anyone know if there is a way to do this?</p> https://www.lexaloffle.com/bbs/?tid=53675 https://www.lexaloffle.com/bbs/?tid=53675 Mon, 07 Aug 2023 03:06:41 UTC