Packrom icon patch

Discuss general Uzebox topics here: features, wish list. nice to have, etc.
Post Reply
rv6502
Posts: 71
Joined: Mon Feb 11, 2019 4:27 am

Packrom icon patch

Post by rv6502 » Wed Aug 03, 2022 1:40 am

I did a quick dirty hack to packrom.cpp

I know nothing displays the game icons for now :lol: but wanted to fill it in anyway.
Screenshot_2022-08-02_21-14-36.png
Screenshot_2022-08-02_21-14-36.png (35.92 KiB) Viewed 44 times
With a quick ANSI escape code hack to display the icon in an ANSI terminal.

Export a 16x16 24bpp or 32bpp raw image from gimp, RGB/RGBA byte order, add an "icon=iconfile.raw" entry.
I didn't make the line array longer so filename has to be short and characters 32 to 127, or 255, depending if char is signed or not :lol:

It's not glorious nor pretty code at all but, here :P
Attachments
packrom.cpp
(9.62 KiB) Not downloaded yet

CunningFellow
Posts: 1268
Joined: Mon Feb 11, 2013 8:08 am
Location: Brisbane, Australia

Re: Packrom icon patch

Post by CunningFellow » Wed Aug 03, 2022 8:52 pm

I still have a dream of the bootloader showing the game icons.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests