CraftOS-PC Accelerated v2.7
Pre-release
Pre-release
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) tankandenergymay also have custom types set on them (for emulating compatible blocks from other mods)- See the full documentation for more info
- New peripheral types:
- 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_whitelistandmounter_blacklistconfig options to set paths that are allowed and blocked - The deepest match of both lists takes priority
mounter_no_askcan be used to disable mount prompts for specific paths
- Use the
- Added
istailcallfield todebug.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.repwith a negative length - Fixed require not working in --script/--exec
- Fixed a crash from invalid WebSocket data
- Fixed an HTTP issue causing the
Hostheader to be set incorrectly when connecting tolocalhost - 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
setGraphicsModeargument 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.epochwhen using a 32-bit architecture - Linux: Fixed occasional crashes from X11 while resizing, moving, etc.
- CCEmuX plugin: Improved error message when
emu openfails
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.