Log In  

Has anyone successfully changed the app icon for Windows binary exports?


By default, the cartridge label is used as an icon. To specificy an icon from
the sprite sheet, use -i and optionally -s to control the size. For example, to
use a 2x2 sprite starting at index 32 in the spritesheet:

I tried those flags as documented but it doesn't seem to change. Even without trying to use something from the spritesheet, the icon doesn't use the label or anything - it's just the Pico-8 logo.

Not end of the world if it's not working...just trying it out. Maybe a .11 bug? Dunno...

P#45807 2017-11-02 13:53 ( Edited 2017-11-07 17:59)

it seems it only works on macos, I reported about it there: https://www.lexaloffle.com/bbs/?tid=30127

P#45808 2017-11-02 15:38 ( Edited 2017-11-02 19:38)

So 0.1.11c claimed to fix the icon issue and it sorta does...

Using the -I flag when exporting does use a spritesheet index but using the other flags results in an error. See below. The example in the manual does not work. It thinks I'm trying to export 2 carts...??

I'm trying to use spritesheet index 128 in at a 2x2 size with a transparent color as 2. Based on the docs, this should work.

export alienharvest.bin -i 128 -s 2 -c 2
P#45948 2017-11-06 22:16 ( Edited 2017-11-07 03:16)

hum, that seems to work as intended here (windows 10)

side note:
windows stubbornly shows the very first icon it cached for your exe's path. so you won't see your icon updates.
To fix it, type the following in the Run box (Win+R): ie4uinit -show

P#45959 2017-11-07 04:32 ( Edited 2017-11-07 09:33)

Yeah, I saw the icon gets cached or whatever...I just pasted to different folders in Windows and it reflected the difference. I'm on Win10 too but I'll try again tonight...it's like the -C flag is requesting a second cart.

P#45968 2017-11-07 09:53 ( Edited 2017-11-07 14:53)

I think it's because there's a missing space between the 128 and the -s and so 2 becomes a filename:

export alienharvest.bin -i 128-s 2 -c 2

It's hard to see because of the clunky line wrap :)

P#45970 2017-11-07 10:21 ( Edited 2017-11-07 15:22)

Hmmmm... I guess I can try again. I did so several times with various index values too and got the same result.

When I type the space between the value and the -S flag, that's when it wraps down to next line. It's like it doesn't preserve the space when it wraps.

But I'll verify again tonight...

P#45979 2017-11-07 12:59 ( Edited 2017-11-07 17:59)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 01:16:52 | 0.007s | Q:14