CraftOS-PC v2.5.3
A bug in v2.5.2 and early releases of v2.5.3 on Windows prevents the installer from being launched automatically. If you are on Windows, please either download this update manually, or auto-update, then navigate to C:\Users\<username>\AppData\Local\Temp, and run setup.exe.
CraftOS-PC v2.5.3 brings some big changes relating to the debug API, and fixes a large number of bugs. It also introduces a new crash report uploader that will automatically send crash dumps to be analyzed, allowing bugs discovered by users to be fixed without them having to manually file a bug report.
- Added automatic crash log uploading behind
snooperEnabled(Windows only)- A prompt will appear on first boot asking to allow this
- See https://www.craftos-pc.cc/docs/privacy for info about how your data is kept secure
- Added
snooperEnabledconfig setting- This is currently only used for crash uploading, but more (very basic) analytics may be added in the future
- The
debugAPI is now enabled by default- This is possible due to the
debugAPI no longer requiring hooks - The availability of
debugresolves a long-standing compatibility issue when run with the default config
- This is possible due to the
- Bumped structure version to 2
- New fields in
configuration:snooperEnabled
- New fields in
PluginFunctions:registerConfigSetting
- New fields in
Terminal:mouseButtonOrder
- New fields in
- Added new
registerConfigSettingcapability to allow access to plugin settings fromconfigAPI - Added ability to yield from line and count hooks
- Debug hooks now work as expected when no debugger is attached
- This breaks
logErrorsand non-debugger breakpoints, but neither feature is used much- They may be brought back in the future, but they are not working for now
- This breaks
- Functions passed to
loadcan now yield in standards mode only- This is behind standards mode due to the possible performance hit being higher than its usefulness
- Decreased mixer chunk size to 512
- This should help with latency in things like the sound plugin
- Fixed HTTP handles not being closed when going out of scope/being deleted
- Fixed deadlock/high memory usage when resizing window to 0x0
- Fixed DPI issues in hardware renderer on Mac when switching between Retina and non-Retina displays
- Fixed deadlock when maximizing window with
snapToSizeenabled - Fixed mouse buttons > 3 being returned as 1
- Mouse buttons > 3 no longer report in standards mode
- Fixed the order of mouse buttons reported with mouse_drag when multiple are down at the same time
- Fixed crash when loading plugin config
- Fixed plugin config not saving properly
- Fixed
\not being treated as a directory separator - Fixed
/\.{3,}/not being treated the same as. - Fixed
fs.getCapacityin standards mode - Rewrote abort timeout handling to no longer use debug hooks
- Changed
size_tsize in binary Lua chunks to 4 bytes for compatibility - Added
lua_externalerrorto throw errors from another thread - Improved performance of internal string split function
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.