promotional bannermobile promotional banner

CC: Bare Metal

▎ A CC: Tweaked addon: WebAssembly computers with a Unix-like OS and an in-game C/C++ compiler.

CC: Bare Metal

image

An addon for CC: Tweaked that adds WebAssembly computers. Inside is a Unix-like system with a shell and about 175 commands, a real C/C++ compiler right in the game, graphics and Linux-style devices. Programs run in a sandbox and on their own threads, so they don't slow the server down.

⚠️ Alpha. Things may break; please report bugs on GitHub.

What it adds

  • WASM computer, turtle and pocket computer in amethyst. The turtle has CC's turtle API, so CC turtle programs work as they are.
    Turtle and pocket upgrades go into slots: any upgrade from CC or its addon

  • Pixel monitor: shows graphics, builds walls up to 8×6 blocks,
    touch-sensitive. - Keyboard: link it to a computer and type from the world, in hand orplaced on a desk.- Unicode for CC's own computers: Cyrillic and other scripts on computers,monitors and printouts.## Inside the computer

  • sh shell with pipelines, variables, loops and functions; sed, awk, grep, find, tar, diff and more; the edit editor; man pages; the pkg package manager.

  • C and C++ in the game: clang 22 with libc++. Write code, compile it a run it on the spot. - Users, passwords, sudo and file permissions, like on Linux. - Networking over CC modems: computers by name, services by port.

  • Graphics up to 1280×800 through /dev/fb0, input through /dev/input.

  • Drag files and folders from your desktop straight into the computer windo- CraftOS and Lua are still there: craftos, lua file.

Works with CC and its addons

  • Any peripheral from any mod, with no per-mod code.
  • rednet and gps compatible with Lua computers.
  • Internet (curl, wget) through CC's own HTTP API and its server settings.

Requirements

  • Minecraft 1.21.1, NeoForge 21.1.249+
  • CC: Tweaked 1.120.0+
  • Needed on both the server and the client.

Links

  • Source and documentation: GitHub
  • License: MPL-2.0 (textures recoloured from CC: Tweaked are under the ComputerCraft Public License)

CC: Bare Metal Team

profile avatar
Owner
  • 1
    Projects
  • 7
    Downloads