So, I have the ICE Sprite maker, which can make 16 by 16 sprites for program icons. When I export the 512-character-long string and copy it to my program, the icon looks all messed up on Cesium.

This is what the icon is supposed to look like:

(Oh BTW, the icon is rotated 90° to the left; forgot to rotate it back.)

The string that I got from the ICE sprite maker:

Code:
"FFFFFF7D7D7D7D7D7D7D1212FFFFFFFFFFFFFF7DFFFFDFDFDFDF7D1212FFFFFFFFFFFF7DFFFFFFDFDFDFDF7D7D12FFFFFFFFFF7DFFFFFFDFDFDFDF7DFF7D12FFFFFFFF7DFFFFFFFFDFDFDF7DDFDF7D12FFFFFF7DFFFFFFFFFFDFDFDFDFDF7D120000000000000000000000000000001200FFFFFFFFFFFFFFFFFFFFFFFFFF001200FF080808FF080808FF0808FFFF001200FF08FF08FF08FF08FF08FF08FF001200FF0808FFFF080808FF08FF08FF001200FF08FF08FF08FFFFFF08FF08FF001200FFFFFFFFFFFFFFFFFFFFFFFFFF001200000000000000000000000000000012FFFFFF12FFFFFFFFFFFFFFFFFFFFFF12FFFFFF12121212121212121212121212"
-- 512 characters


What I want is a string that replacates the look on Cesium correctly while making it look like how it works on ICE,
or at least a token chart that I can view to manually generate the string for the program icon.

Edit: Is there a pattern to what tokens present in the TI-84 Plus CE OS corresponds to the colors of a pixel Cesium displays?
Why is it not 256 bytes? You have 256 colors available (8bpp) and 16x16 pixels, that's 256 bytes long...
Clearly you have too much data there...

Maybe the program you're using is using 2 bytes per pixel?
Cesium uses OS colors, which are in the range 0-15 (0-F), and not full hexadecimals.
Here's the thing, though.
This right here:

Code:
"BBB,,,,,,,99BBBBBBB,BBHHHH,99BBBBBB,BBBHHHH9,9BBBBB,BBBHHHH9B,9BBBB,BBBBHHH9HH,9BBB,BBBBBHHHHH,933333333333333393BBBBBBBBBBBBB393B888B888B88BB393B8B8B8B8B8B8B393B88BB888B8B8B393B8B8B8BBB8B8B393BBBBBBBBBBBBB393333333333333339BBB9BBBBBBBBBBB9BBB9999999999999"

creates an icon similar to that on the first post (when viewed on Cesium), albeit with different colors, but I was able to use other 1-byte tokens to create different colors, namely commas.

So my theory is, all the tokens that are 1-byte in size correspond to all of the "extra" OS colors, while using 2-byte tokens create 2 pixels of random colors.

And yes, the ICE sprite maker, found in the 84+ CE ASM programs, uses 2 characters in the string per colored pixel instead of Cesium's 1.
What are you doing? Are you talking about icons for basic programs? You only have 15 colors in that case; any other things you try to do is undefined behavior.

Use a better language.
I am using an icon via a string generated from the ICE sprite creator program for a Basic program. However, I was able to use different tokens than 0-F for other colors; I once made an icon that used commas as part of the string.
ShinyGardevoir wrote:
I am using an icon via a string generated from the ICE sprite creator program for a Basic program. However, I was able to use different tokens than 0-F for other colors; I once made an icon that used commas as part of the string.

If you do this, it is unsupported and those colors will change on the next release of Cesium.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement