Log In  


Cart #tftd-8 | 2025-10-19 | Code ▽ | Embed ▽ | No License
6

A small PICO-8 app that displays the current time and Imperial date, along with an inspirational quote from your local Departmento Munitorum's Commissariat office.

This is based on my earlier web version for munitorum.net.

The calculation of the year fraction of the date is horribly imprecise. I have an idea how to improve this, by basically creating my own version of a UNIX epoch date (which we can't access in PICO-8). That would mean creating an algorithm that takes into account different month lengths (in days) and leap year changes. It's doable, but definitely some work. I might get around to that some time.

I will also add some more Imperial proverbs in the future, I think.

If you have any other improvement suggestions, feel free to let me know!

The source code is also on GitHub here: https://github.com/fab-industries/tftd

Thanks

Many thanks to @morningtoast and @freds72 for the glitch and scanline effects!

Release Notes

v0.04 (19/10/2025): Fixed crash when running from the BBS on an iPhone
v0.03 (15/10/2025): Added proverbs, minor improvements
v0.02 (11/10/2025): Improved Imperial date calculation algorithm
v0.01 (08/10/2025): Initial release

6


I've uploaded a new version that has a much improved algorithm to calculate the Imperial date. It should now be very precise and will also take into account leap years.


I've uploaded what should be the final update (if everything works correctly). The app now includes 120 different proverbs.


As 40k fan I love this! I'd love to see quotes from other parts of the imperium. Mechanicum, chapters etc!


@spelmo3 I am happy someone else gets a kick out of this! If you have some fitting quotes for me to include, I'm not opposed to doing so. Do you use GitHub? Feel free to send me a pull request or a note on there: https://github.com/fab-industries/tftd

Or you could just email me. Contact info here: https://fab.industries/about/#contact

Love the fox, BTW! Big fan of foxes.


I fixed a bug that crashed the cart when running from the BBS on a iPhone. For some reason cartdata("some_string") returns 0 which made my table lookup return nil, which in turn crashed the cart. It works on the iPhone now.



[Please log in to post a comment]