Skip to content

CraftOS-PC v2.3 Beta 1

Pre-release
Pre-release

Choose a tag to compare

@MCJack123 MCJack123 released this 26 Mar 05:18
· 1141 commits to master since this release
7256da8

CraftOS-PC v2.3 is now ready for testing! Many weeks of work have gone into making this update packed with features, and now it's in a state where it is ready for use.

  • Massively improved performance of emulation
    • Speed issues are caused by the debugger's hooks (specifically line hooks)
    • This version only enables the required hooks depending on what features are required
    • In general, more debugging features -> lower performance
    • Depending on the machine, expect between 4-20x faster emulation
  • Added official support for WASM, including an online client (CraftOS-PC Online)
    • CraftOS-PC Online is available at https://www.craftos-pc.cc/online/
    • Supports Chrome/Chrome-based browsers, and new versions of Firefox with the following options enabled in about:config:
      • javascript.options.shared_memory
      • dom.postMessage.sharedArrayBuffer.withCOOP_COEP
      • browser.tabs.remote.useCrossOriginEmbedderPolicy
      • browser.tabs.remote.useCrossOriginOpenerPolicy
  • Added speaker peripheral
  • Updated CC:T compatibility to 1.87.0 (preview)
    • Added fs.attributes and fs.getCapacity functions
    • Added optional timeout argument to websocket.receive
    • Ported pretty printer to lua.lua
    • Added __len metamethod for tables
    • Strings now accept \xNN, \u{NNN}, and \z escape codes
    • Added utf8 library
    • Added base argument to math.log
  • Added raw terminal renderer
  • Added TRoR (Terminal Redirect over Rednet) terminal renderer
  • Added filesystem merge mount support
  • Added standalone executable option for Windows & Linux
  • Added scrollback to debugger console
  • Added pop-up when a computer is hung and ignores terminate events
  • Improved command-line usage

Notes

Please note that this is pre-production software: beware that some bugs may pop up while using this version. Also, be aware that beta builds have updates turned off, so you will need to manually download the release version once it's available.

Documentation for this version is available on the development branch of the docs, though do note that this is not fully complete, and changes may occur before the full release.

The speaker peripheral is currently not working properly for the WASM port. Please do not attempt to use it there. I'm warning you, it's very broken.

Linux users: I will not be providing packaged versions of this version or any future beta to avoid forcing users to upgrade. Please build CraftOS-PC from source if you wish to try this beta.

Windows users: This version does not include support for SoundFont due to some dependency issues that I have yet to resolve. If I get the dependencies working properly before the next release (beta or not), I will reupload the binary to include it. Also, standalone support is coming soon, but I have to figure out how to incorporate the DLLs into the executable.

If you need help using CraftOS-PC, I'm available on the ComputerCraft Discord server as @JackMacWindows#9776. Feel free to ping me if you need anything.