CraftOS-PC v2.5.4
Reminder: If you are using CraftOS-PC v2.5.2 (or very early versions of v2.5.3), you will have to install the update manually.
Even though development has been slowing down, CraftOS-PC v2.5.4 brings many bug fixes as well as compatibility with CC: Tweaked 1.95.3.
- Bumped CC:T version to 1.95.3
- Correctly serialise sparse arrays into JSON (livegamer999)
- Programs run via edit are now a little better behaved (Wojbie)
- Add User-Agent [and Accept-Charset] to a websocket's headers.
- Bumped structure version to 3
- New fields in
configuration:keepOpenOnShutdown
- New fields in
computer_configuration:computerWidth- `computerHeight
- New fields in
PluginFunctions:attachPeripheraldetachPeripheral
- New fields in
- Added
keepOpenOnShutdownsetting to keep computers open after shutdown- Use the X button to close the window (or your OS's respective key combo)
- Use Ctrl+R to start the computer again
- Added per-computer default size options
- Added two arguments when attaching monitors to specify their size
Addeddebug.upvalue{id,join}from Lua 5.3- Added the ability to set host ports for WebSocket servers
- Added support for KMSDRM backends on Linux
- Disabled WebSocket servers in vanilla mode
- Adding duplicate virtual mounts now returns
falsewithout adding it again - Moved
romReadOnlyto hidden options - Fixed macOS installation instructions for Homebrew
Fixed a race conditions with modems causing a crash- Fixed abort timeout occasionally firing when running in a quickly yielding loop
- Fixed WebSockets not being closed soon after close is called
- Fixed race condition on timer add/remove
Fixed some random crashes on an odd memory error- Fixed WebSocket binary messages not being implemented correctly
- Fixed cursor not being reset on shutdown
- Fixed URL checks being missing from
http.get - Fixed read past EOF in
file.read(n)on text handles Fixed crash when passing bad table argument totable.foreach- Fixed
argtable being missing when running programs with cash - Fixed missing
http.listenfunction - Fixed
window.getSizenot working with the new arguments - Fixed cash being enabled by default
- Fixed shell failing to run in vanilla mode
- LuaJIT: Fixed error when using invalid escape codes in a string
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.
UPDATE: It turns out the updated Lua library wasn't added to the installer, so changes that involve changes to Lua are not actually present. These are now crossed out, and will reappear in v2.5.5, which will be released soon.