Skip to content

CraftOS-PC Accelerated v2.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@MCJack123 MCJack123 released this 25 Aug 21:36
· 244 commits to luajit since this release
d9ed52a

After over a year since v2.6, CraftOS-PC is getting another major update. This version brings a new interface for debugging with VS Code, generic peripheral emulation, mounter sandboxing, and plenty of bugfixes to go around.

To use the new debugger, install the CraftOS-PC extension in VS Code.

  • Bumped CC:T version to 1.100.9
    • Added basic WAV support to speaker.lua
  • Added debug adapter for Visual Studio Code
    • This makes it possible to use VS Code's debugger interface with CraftOS-PC
    • Install the CraftOS-PC extension to use the debugger
  • Added basic generic peripheral emulation
    • New peripheral types: chest/minecraft:chest (inventory), tank (fluid_storage), energy (energy_storage)
    • tank and energy may also have custom types set on them (for emulating compatible blocks from other mods)
    • See the full documentation for more info
  • Rewrote filesystem code to use C++17 filesystem library
  • Added ability to resize monitors programmatically, including by block size (#261)
  • Added mounter sandboxing/path restriction (#104)
    • Use the mounter_whitelist and mounter_blacklist config options to set paths that are allowed and blocked
    • The deepest match of both lists takes priority
    • mounter_no_ask can be used to disable mount prompts for specific paths
  • Added istailcall field to debug.getinfo
  • CLI mode now uses the Symbols for Legacy Computing block for bitmap characters (requires a font supporting Unicode 13)
  • Adjusted configuration loading code to avoid crashes from invalid files
  • Upgraded Windows project to Visual Studio 2022
  • Fixed an issue on macOS causing HTTPS connections to fail
  • Fixed constant crashes when launching the Android app
  • Fixed "not enough memory" error when calling string.rep with a negative length
  • Fixed require not working in --script/--exec
  • Fixed a crash from invalid WebSocket data
  • Fixed an HTTP issue causing the Host header to be set incorrectly when connecting to localhost
  • Fixed a crash if a computer is closed before an HTTP request finishes
  • Fixed a rendering issue when using a custom font with the hardware renderer
  • Fixed string.format("%q") not accepting non-string arguments (#251)
  • Fixed an issue causing raw mode to hang and use 100% CPU while exiting
  • Fixed a typo in the setGraphicsMode argument checking code
  • Fixed an issue causing the debugger to error after a reboot
  • Fixed a crash when using debug.getinfo(f, ">")
  • Fixed an overflow in os.epoch when using a 32-bit architecture
  • Linux: Fixed occasional crashes from X11 while resizing, moving, etc.
  • CCEmuX plugin: Improved error message when emu open fails

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