Log In  

Would be useful to have an export option (in the console and in the command-line interface) to get the label image as a PNG, to print labels for physical carts or for emulation frontend metadata for example. Could be 'export game.label.png', using the same resolution as GIFs.

P#97250 2021-09-13 00:37

Now @merwok that would be nice. I 2nd this as I can definitely see a way of recalling and storing extra data in that method via console coding. Reading and recalling extra recorded data is always useful in programming.

Oh, and @zep, thanks so much for finally fixing the problem with the latest version of Pico-8 0.2.3 immediate mode inability to handle calling functions. You really are on top of it.

P#97257 2021-09-13 01:13

Little bump so that maybe zep sees this for 0.2.4c

P#109824 2022-04-07 10:00

@merwork This would be nice. If you want a workaround in the meantime, you can try my commandline tool
https://github.com/rtouk/picoknife

label command:

picoknife label {P8FILE} [OUTPUTFILE] [--scale N] [--transparent INDEX]
  [--alternate] [--palette COLORS] [--open] [--locate] [--verbose] [--silent]
  [--help]

    export label image from a .p8 file

    {required}
      P8FILE         input .p8 source file

    [optional]
      OUTPUTFILE     output image file
      -----------
      scale          upscaling factor (positive integer, such as 2)
      transparent    color index (0-15) to treat as transparent
      alternate      use PICO-8's alternate/secret color palette
      palette        use custom palette of (up to 16) comma-separated colors
      -----------
      open           open image file when finished
      locate         locate image file when finished
P#109888 2022-04-08 02:51

Fun that you made a tool! Some competition for picotool :)

However, there is no source code, and I don’t run untrusted binaries (especially not windows or mac binaries).

P#109904 2022-04-08 11:37
2

Hi @merwok
This is in for 0.2.4c, along with a matching import (which was requested somewhere else -- can't find it right now).

> EXPORT -L LABEL.PNG
-- DO SOMETHING TO IT IN AN EXTERNAL EDITOR
> IMPORT -L LABEL.PNG
P#109919 2022-04-08 17:26 ( Edited 2022-04-08 17:27)

:-D that's great, thanks!

is it also available as a command-line option for headless mode?

P#109954 2022-04-09 10:59

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-03 16:14:27 | 0.043s | Q:21