Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by asie

  1. https://git.asie.pl/asie-minecraft/Nadeshicodec Apologies for scarce documentation, it's a bit of a project dump. It has a GUI, however. Feel free to fork and clean it up with the terms of the license in mind.
  2. asie

    Use of LuaRocks or other external dependencies

    There is no such thing as LuaRocks for OpenComputers. However, you can just use the Lua file directly in many cases -> https://github.com/LuaDist/dkjson/blob/master/dkjson.lua
  3. asie

    Introducing "Lunatic"

    No spoiler in the title. Just watch the video.
  4. asie

    Introducing "Lunatic"

    Hmm. I have a clue. Try running "mkdir /usr/lib/lunatic86" first.
  5. asie

    Introducing "Lunatic"

    I don't know. Make sure OpenOS is properly installed and that you're not booting from a floppy disk? Also, you may want to update - OpenComputers 1.6.1 is pretty old, 1.5 years old in fact.
  6. asie

    Introducing "Lunatic"

    It appears your hard disk is read-only! Weird...
  7. asie

    Introducing "Lunatic"

    The optimization patches in OpenComputers's repository are not yet merged into mainline, but you can install lunatic86 regardless! (Just with worse performance.) $ oppm install lunatic86 $ lunatic86 -h
  8. Those of you who have followed my OpenComputers work might be aware of CTIF, my high-quality image converter for OpenComputers. However, it has always required an external converter to pre-process image files. Others may be aware of greaser's ocpng, an utility-turned-library for displaying regular PNG files without pre-processing - however, that capped out at 160x50 as it only used low-resolution characters. However, I am proud to present pngview - a .PNG viewer right in OpenComputers, based off greaser's ocpng library but capable of displaying images at up to 320x200. Unfortunately, it does not display images as well as CTIF - it has far more severe limitations related to being a simple Lua script that, as such, cannot perform calculations that complex. In particular, it handles slowly changing gradients a lot worse and is incapable of finding additional colors to supplement the image's palette the way CTIF does. Comparison: the top image is viewed via pngview, the bottom image is rendered via CTIF. Known issues: Currently, it only works on Tier 3, as the palette calculation process relies primarily on the 240 RGB colors exclusive to it. It does not perform any image scaling, so ~320x200 is the maximum image size (on Tier 3). Downloads: pngview is part of a Lua script collection called octagon.
  9. I've spent a fair amount of time trying to get the maximum image quality out of OpenComputers. It all began with BTM15's quick need for a presentation tool, giving us 160x100 at 256 colors - not a huge accomplishment, but a start. BTM16 later brought us 320x100 with adaptive palettes - better, but still not quite there. Recently, I have started working on it again, and thanks to a mini-competition between me and GreaseMonkey I managed to arrive at something rather high quality - the ChenThread Image Format, complete with its own CTIFConverter. It is 320x200, thanks to the new font's block-based nature of the Braille area of Unicode. (It also supports a 160x100 @ 16 color mode for OpenComputers' Tier 2 mode.) The converter, source code and reference viewer is available here. Keep in mind that, as this is a reference viewer, it will not be as fast as it could be - it does no GPU call optimizations whatsoever beyond the simplest ones. I will try to release a better version later. Here's an example of the quality you can get out of this:
  10. No, you put the local path to a file. If it's a remote path, like HTTP, you have to download it first.
  11. I'm not focusing on APIs myself - the viewers are provided as part of the source code distribution and I'd love if someone turned them into a proper API! Anyhow, CTIF 0.2.0 is out! It improves the image rendering quality a bit (especially on "tier 2" - sadly, at the cost of performance) and makes usage of OpenComputers's higher resolutions (160*50 is only an area, not the actual maximum size).
  12. Use Lua 5.3, by shift-rightclicking the CPU until the Architecture is set tothat.
  13. Actually, you should use the OpenComputers 1.6 beta. Prior versions have a slightly sub-optimal font.

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.