Skip to content

0.3.12 (beta)

Pre-release
Pre-release

Choose a tag to compare

@afa5e afa5e released this 18 Nov 00:58

Beta. Runs the VEX V5 brain simulator (v5-simulacrum d22122f) from VS Code.

Install

From the VS Code Marketplace (recommended): search V5 Brain Simulator in the Extensions view, or open it on the Marketplace. VS Code picks the build for your computer and keeps it updated.

Offline, Cursor or VSCodium: install the package for your computer below with Extensions: Install from VSIX… (or code --install-extension <file>; add --profile "<name>" for a profile other than Default).

Computer Package
Windows 10/11 (the simulator runs in WSL Ubuntu-24.04) v5-simulacrum-vscode-win32-x64.vsix
Mac with Apple Silicon, macOS 15 or later v5-simulacrum-vscode-darwin-arm64.vsix
Intel Mac, macOS 15 or later v5-simulacrum-vscode-darwin-x64.vsix

New in 0.3.12

  • Setting up shows its progress: the first start after installing or updating says how many of the simulator's files are unpacked and for how long, with a progress bar, and writes the same to the V5 Sim output (shown while it unpacks). VEXos's check shows its time too.
  • Slow computers: unpacking may take up to 10 minutes (was 3) before it counts as failed, for computers that scan every new file.

Also new since 0.3.10 (0.3.11 wasn't published to the Marketplace)

  • Folders with spaces: a robot preset or program in a folder whose path has spaces (OneDrive - School, C:\Users\First Last) works; it used to stop the robot sim or the program from starting.
  • Installing WSL: after installing WSL (or a missing distribution) from the prompt, Start sets the simulator up; it used to need a window reload.
  • Starting: a start that never comes up gives up after two minutes with a "Show log" button, instead of staying "starting". The panes say "starting" meanwhile.
  • PROS without the USB driver (Windows): Program Terminal opens the brain's port in WSL (pros terminal, else screen); PROS upload says why it can't reach the brain and offers the USB driver.
  • Windows USB: Stop takes the brain off Windows USB even after a window reload, or for a simulator started outside VS Code.
  • Cursor and VS Code side by side: one editor no longer deletes the simulator the other is running.
  • A simulator started elsewhere that has stopped is forgotten, so Start works again.
  • Smaller: v5sim.usb: usbip without usbip-win2 uses serial ports (and says so); an out-of-range v5sim.slot is treated as 1; v5sim.wslDistro must be a distribution name; Configure Ports no longer suggests overriding an included preset's port (the simulator refuses two devices on one port).

Also in the simulator (v5-simulacrum#1): v5brain.sh --robot takes quoted paths with spaces.