Log In  

Hi. Is there any way of getting the token count of a pico8 cart externally, such as
from the linux command line?

There does not even seem to be any way to access the token count from within a Pico8 cart either, only by
manually typing info(). I have read all the docs and looked at stat() and raw memory addresses but none
can give the token count statistic.

I would like to get the token count so I can put it on a fancy display.

Thanks

P#122567 2022-12-16 19:23

1

if using an external tool is acceptable, shrinko8 --count cart.p8 will do that: https://github.com/thisismypassport/shrinko8

P#122580 2022-12-17 02:06

@pancelor this is exactly what I was looking for. Thanks!

P#122622 2022-12-17 20:49

[Please log in to post a comment]