promotional bannermobile promotional banner

OpenComputers II: Modern

Fully functional RISC-V virtual computers that boot real Linux, with a high-level Lua API and native networking. A maintained, heavily improved fork of OpenComputers II.

OpenComputers II: Modern

Build programmable computers, boot Linux, and automate your Minecraft world.

OpenComputers II: Modern adds modular computers and programmable robots powered by real 64-bit RISC-V emulation. Write Lua programs to control devices, connect computers over a network, and bring your builds to life with monitors, projectors, and sound.

The Linux image and Lua runtime are bundled with the mod — no separate operating system download is needed.

Wiki & Device Guide (https://wiki.loki-code.dev/ru/item/index) · GitHub (https://github.com/DivByDiamond/OC2R) · Report a Bug (https://github.com/DivByDiamond/OC2R/issues)

The online wiki is in Russian. The in-game manual includes English and Russian guides.

Features

  • Real computers running Linux — each machine runs a 64-bit RISC-V virtual machine powered by Sedna (https://github.com/fnuecke/sedna).
  • Programmable automation — use the high-level Lua API to control redstone, inventories, and other exposed devices without writing kernel drivers.
  • Modular hardware — configure CPUs, RAM, firmware, hard drives, and expansion cards for each computer.
  • Monitors and projectors — build displays with tiered graphics cards and monitors, or project images onto surfaces in the world.
  • Sound — play tones and PCM audio through a speaker.
  • Networking — connect computers with network cards and cables. An Internet Card provides guest network access, subject to server configuration.
  • Programmable robots — run programs on mobile machines that interact with the world.
  • A capable terminal — ANSI colors, Unicode text, cursor control, and scroll regions. The computer’s built-in terminal works without a graphics card.
  • Persistent machines — CPU, RAM, and device state survive world reloads.
  • Built-in documentation — learn hardware, scripting, and networking through the English and Russian manual.
  • Custom operating systems and addons — experiment with OnyxOS or add virtual devices through the Java API.

Supported Versions

Minecraft Loader Java
1.21.1 NeoForge 21
1.21.1 Fabric 21
26.1.2 NeoForge 25
26.2 NeoForge 25

Download the file matching your Minecraft version and loader.

Fabric 1.21.1 requires Fabric API. Team Reborn Energy and Forge Config API Port are bundled with the Fabric build.

Fabric 26.x support is planned.

Getting Started

Computer and peripherals

  1. Craft and place a computer. Prepare a CPU and RAM; four 8 MiB memory modules, giving 32 MiB total, are a practical starting configuration.
  2. Install the components. Right-click with a scrench to open the inventory, then install the CPU, RAM, and Linux firmware. The survival computer recipe includes the firmware chip; computers obtained another way may need one added separately.
  3. Supply energy. Check the energy bar in the computer interface.
  4. Boot Linux. Right-click the front of the computer with an empty hand, press the terminal’s power button, and wait for the login prompt. Log in as root. You can also start the computer with Shift + right-click using an empty hand.
  5. Start programming. Open the built-in manual for scripting examples and device instructions.

The bundled Linux boots from a built-in writable root filesystem. An extra hard drive is not required, and the built-in terminal needs no GPU.

For an external monitor, install a graphics card, connect the display through bus interfaces and bus cables, and supply power to the display.

Programming Your World

Lua gives your programs access to connected Minecraft devices. For example, from the Lua interpreter, this sets the upper output of a connected Redstone Interface to signal strength 15:

require("devices"):find("redstone"):setRedstoneOutput("up", 15)

Combine devices and programs to build automated workshops, control panels, network services, and robot routines.

Explore the wiki’s item and device guide (https://wiki.loki-code.dev/ru/item/index) for more information.

Create Compatibility

OC2R includes compatibility handling for Create and Create: Aeronautics, including computers on moving contraptions.

Availability depends on the Minecraft, loader, and integration versions. Check the relevant release notes when choosing mods for your pack.

For Server Owners

Each running computer emulates a real machine and uses host CPU time and memory. Choose guest RAM sizes and the number of active computers to suit your server.

Review the mod’s energy and Internet Card settings before opening your server to players.

About the Project

OpenComputers II: Modern continues OpenComputers II (https://www.curseforge.com/minecraft/mc-mods/oc2), originally created by Sangar as the spiritual successor to OpenComputers (https://www.curseforge.com/minecraft/mc-mods/opencomputers).

This continuation brings the project to newer Minecraft versions, expands its hardware and device support, and maintains its emulation, persistence, and rendering systems.

Maintained by TumRedSun (https://github.com/TumRedSun), loki5512344 (https://codeberg.org/loki5512344), and contributors. Thanks to pocketprobe (https://github.com/pocketprobe) for upstream bug fixes.

Licensed under the GNU General Public License v3.0. An independent continuation, not an official OpenComputers project.

OpenComputers II: Modern Team

profile avatar
  • 2
    Projects
  • 1.3K
    Downloads