Skip to content

CraftOS-PC v2.0 Beta 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@MCJack123 MCJack123 released this 13 Aug 05:19
· 1513 commits to master since this release

CraftOS-PC 2.0 is now compatible with all CraftOS-PC Classic APIs! This means that all of the features of CraftOS-PC Classic will work on CraftOS-PC 2. Some features were already available in Beta 1, but Beta 2 adds the rest of them:

  • mounter API
  • HTTP server listeners
  • Terminal & monitor resizing
  • Window icons
  • Holding Ctrl-T sends terminate event

These are the rest of the changes in Beta 2:

  • Added built-in screenshots
    • Take a screenshot with F2 or call term.screenshot(path)
      • path is a global path outside of CraftOS and is optional
    • Saved to ~/.craftos/screenshots by default
  • Added some configuration variables
    • debug_enable (false): Set to true and reboot to enable debug API (or disable removal)
    • ignoreHotkeys (false): Set to true to disable hotkeys (F2)
    • isColor (true): Toggles whether the computer is an Advanced Computer or Standard Computer
  • Distributed builds now use the CraftOS-PC ROM instead of the ComputerCraft ROM
  • Moved ~/.craftos/config.json to ~/.craftos/config/global.json
  • Big changes under the hood
    • Switched to software rendering from hardware rendering (see #5)
    • Rearranged a bunch of the code in preparation for multiple computers
    • Changed event queuing system to put parameter threads under a separate state rather than the main state
      • This should a) reduce memory leakage or b) improve event stability

UPDATE: The Windows installer has been updated to include the Visual C++ redistributable and some necessary DLLs that were not included in the original release.