CraftOS-PC v2.0
CraftOS-PC 2 has reached a stable state and is ready for production.
Linux builds are no longer included in the release, please install using the PPA if you are using Ubuntu. See README.md for more information.
Changes since Pre-Release 1:
- Fixed high CPU usage, now uses ~5% CPU at idle
- Moved plugin directory on Mac to
CraftOS-PC.app/Contents/PlugIns - Fixed HTTP requests
Changes since CraftOS-PC v1.2:
- Rewrote code base in C++
- Improves performance of emulator
- Reduces system resource usage (~5% CPU, 8 MB RAM at idle on Windows)
- No longer truly cross-platform, requires platform-specific binaries
- Added built-in screenshots
- Take a screenshot with F2 or call
term.screenshot(path)pathis a global path outside of CraftOS and is optional
- Saved to
~/.craftos/screenshotsby default
- Take a screenshot with F2 or call
- Added some configuration variables
debug_enable (false): Set to true and reboot to enable debug API (or disable removal)ignoreHotkeys (false): Set to true to disable hotkeys (F2, F3)isColor (true): Toggles whether the computer is an Advanced Computer or Standard Computer
- Settings are now stored at
~/.craftos/config/*.json - Added multi-computer support
- Computers can be added with
periphemu.create(<id>, "computer") - Can be added from the shell with
attach <id> computer - Both forms attach the computer peripheral to the current computer
- Computers can be added with
- Added modem peripheral
- Added GIF recording support
- Press F3 to toggle recording
- Shows red circle in corner while recording
- Limited to 15 seconds for performance reasons
- Saves to
~/.craftos/screenshots/<time>.gif
.craftosdirectory is now created on boot- Added some CC: Tweaked features
- Added switch to auto-run script (--script )
- Added switch to run headless from the console (--headless) (does not work on Windows build, recompile for the console subsystem to use)
- Added WebSocket support
http.websocket(url)will open a client WebSocket connecting tourlhttp.websocket()will open a server WebSocket that can be connected to
- Added plugin/module system
- Add plugins in the
<installation directory>/pluginsfolder (CraftOS-PC.app/Contents/PlugInson Mac) - See
DOCUMENTATION.mdfor more details
- Add plugins in the
- Added
file.seekmethod - Added
iolibrary with proper filename redirects - Added
driveperipheral- Use disk.insertDisk(string path) to mount a folder or audio file
- Use disk.insertDisk(number id) to mount a floppy disk from
~/.craftos/computer/disk/<id>
- Added a whole bunch of features from CC: Tweaked, making CraftOS-PC mostly compatible with CC:T
- Added new ROM features
I've also attached the CCEmuX adapter plugin binaries to this release.
If you experience problems with CraftOS-PC, you can file an issue, or you can ping me on the ComputerCraft Discord server.