This extension contributes the following settings:
craftos-pc.executablePath.[windows|mac|linux|all]: Path to the CraftOS-PC executable depending on the platform. This should be an absolute path to an executable supporting console output (on Windows, this must be pointing to a copy of CraftOS-PC_console.exe, which is optionally available in the installer).
craftos-pc.dataPath: Path to the data directory storing computer files, configuration, etc.
craftos-pc.additionalArguments: Additional command-line arguments to send to CraftOS-PC, separated by spaces.
craftos-pc.customFont.path: The path to a custom font, if desired. Must be a path to a valid image, or 'hdfont' to automatically find the HD font. Unlike normal CraftOS-PC, this may point to non-BMP files as well.
Occasionally, keyboard input may stop working. To fix this, click outside the CraftOS-PC window and then back in.
Some versions of CraftOS-PC have bugs that interfere with the functioning of this extension:
Filesystem access only works on CraftOS-PC v2.6 or later, or any server implementing raw mode 1.1 or later.
v2.5.4-v2.5.5: Creating a new window results in a crash. This is fixed in v2.6.
v2.5.1-v220.127.116.11: CraftOS-PC often crashes in raw mode on these versions. This is fixed in v2.5.2.
v2.3-v2.3.4: All events are sent to the first window, and all windows have the same ID. This is fixed in v2.4.
Fixed a bug causing disconnections when sending large data packets
Added Run Script button to quickly run files in a new CraftOS-PC instance
Added history to Open WebSocket button
Terminal windows now automatically resize to fit the screen
Fixed an issue causing the bug info prompt from 1.1.3 to not appear
Added more information about VS Code "certificate has expired" bug
Added a "CraftOS-PC: Force Close Connection" to close the connection immediately without waiting for a response
Fixed an issue causing remote screens to go black
Fixed mouse_up event not being sent
Added ability to connect to WebSocket servers
Added integration with new remote.craftos-pc.cc service (beta)
Added support for raw mode 1.1 specification
Added URI handler for WebSocket links
Fixed security vulnerability in glob-parent dependency
Fixed wrong mouse buttons being sent
Fixed drag coordinates in the margins of the screen
Fixed mouse drag events firing in the same cell after click
Fixed mouse events not being sent to the window
Added support for custom fonts
Font files must be in the exact same format as ComputerCraft fonts (with the same outer padding area)
Added close buttons to each window, as well as a global quit button
Added buttons to open a new window with the selected computer's data directory
This requires either CraftOS-PC v2.5.6 or later, or computers labeled "Computer >id<"
Added button to open the configuration
Added paste event detection
Added icons for monitors
Updated extension icon to CraftOS-PC v2.4's new icon
Fixed duplicate drag events being sent for the same character cell
Fixed mouse events sending the wrong coordinates
Fixed the computer background not being drawn properly
Upgraded y18n and lodash to fix vulnerabilities (#3, #4)
Reformatted code to be a bit more clean
Added an error message if the executable is missing
Fixed mouse_click events being sent instead of mouse_drag
Fixed performance issues causing high CPU usage and major slowdown
Render speed should now be about the same as in standard GUI mode
Added craftos-pc.additionalArguments setting
Added command to close the emulator session without having to close each window
Fixed a bug causing CraftOS-PC to not start on Windows when a workspace is open
Fixes a bug where the wrong key events were being sent (e.g. key_up when pressing a key down). Also fixes char events being sent with modifier keys held.
Download the latest build of CraftOS-PC (from 7/27/20 or later) to fix a bug with events being sent to the wrong window, as well as a bug preventing Ctrl-R/S/T from working properly.