19 ms·
Minecraft mod that runs RISC-V Linux
- itronitron 5y agoCan someone provide a how-to on installing/using curseforge without getting involved with 0verw0lf?
- abryzak 5y agoBasic instructions: 1. Download the mod and its dependencies from Curseforge (should be 3 JAR files: oc2[1], sedna[2] and markdown_manual[3]) 2. Install MultiMC[4], run it and sign into your Minecraft/Microsoft account 3. Click the Add Instance button in the toolbar and choose Vanilla version 1.18.1, give it a name if you like and click OK 4. Click Edit Instance in the sidebar for the new instance 5. Click Install Forge on the right sidebar and select the latest version 6. Select Loader mods in the left sidebar 7. Click Add on the right and select the three JAR files you downloaded in step 1 8. Click Launch down the bottom Usually it's simpler to install mods with MultiMC if they're already in a modpack, but these mods don't appear to be in one currently. [1] https://www.curseforge.com/minecraft/mc-mods/oc2/files https://www.curseforge.com/minecraft/mc-mods/oc2/files [2] https://www.curseforge.com/minecraft/mc-mods/sedna/files https://www.curseforge.com/minecraft/mc-mods/sedna/files [3] https://www.curseforge.com/minecraft/mc-mods/markdownmanual/files https://www.curseforge.com/minecraft/mc-mods/markdownmanual/... [4] https://multimc.org/ https://multimc.org/
- ToruiDev 5y agoKernel and rootfs appear to be built using buildroot https://github.com/fnuecke/buildroot/tree/sedna/board/sedna-riscv64 https://github.com/fnuecke/buildroot/tree/sedna/board/sedna-... The github of the mod https://github.com/fnuecke/oc2 https://github.com/fnuecke/oc2
- karmicthreat 5y agoThese mods are what I always want when I play minecraft.
- willis936 5y agoI have good memories of writing lua scripts for controllers for industrial mods. It feels good to watch the little virtual machine run. Plus if I screw up I don't actually blow anything real up.
- limoce 5y agoIs it limited to up to 6 memory-mapped redstone signals? I think it would be cool if we can manipulate a matrix of redstone lamps as a large display.
- zeta0134 5y agoIn the original open computers the limiting factor was the interface between the mod block and the outside world, 6 sides on that block correspond to 6 signals. For a large array as proposed you can network many mod blocks together behind the display, giving you access to many more "sides" to emit signals from. Whether that's made it into this variant is unclear, I haven't messed around with it. In theory it should be possible though.
- IAmLiterallyAB 5y agoI've been working on speeding up floating point calculations for the RISC-V emulator used by this mod. The trouble is Java doesn't have full IEEE 754 support, specifically features like rounding rules and exceptions. So to support these in the emulator, floating point calculations are done in software.
- bombcar 5y agoWith OPenComputer on 1.7.10 we call out to a compiler .so library for the Lua interpreter which I assume could do floating poin correctly.
- IAmLiterallyAB 5y agoAh yes that could work. Was a little weary about packaging native code, but if other mod developers are doing it it might be a good path. I'm currently working on calling the C fenv API using the new Java Foreign Function & Memory API, all from pure Java. To be clear, I'm not the dev behind OC2, just messing with it as a hobbie.
- zorr 5y agoAs someone who has never played Minecraft except for creative mode without mods with a 6yo. Could someone explain to me what this mod does and what the concept of Robots is? Does this enable programmable computers and programmable robots that have their own "agency" to work for you? And on a related note: Are there other mods related to (learning) programming that can be used by kids (6-8yo)? I'm specifically looking for something to teach my daughter and it would be cool if she could do that inside a game she already knows how to control.
- herbst 5y agoMinecraft is all about collecting resources and crafting, both can easily automated with 'robots', there are amazing builds and many fun scripts, up the whole oses (window managers?) built with the lua Variante of this mod. Years ago when I learned about networking at school, I built a WiFi mesh in Minecraft for example.
- Birch-san 5y agoEven without mods, Minecraft supports programming mechanisms (albeit not robots). redstone blocks can be used like logic gates, to construct traps, play music, open doors or build factories. People have implemented ALUs in redstone.
- vintermann 5y agoNot just ALUs, but full blown processors with things like branch prediction. The last that got a good deal of attention was Sammyuri's "Chungus 2", from December last year. It runs at 1 Hz though, about 1000 times slower than an Atari 2600.
- kamray23 5y ago1 Hz is unironically an amazing achievement in minecraft. 20 Hz is the theoretical maximum without abusing bugs, and higher values are technically possible through 0-tick pulsing but most likely so utterly devastating to design that you'd have to be the worst kind of masochist to start trying.
- oliwarner 5y agoI'm frankly a little disappointed that Linux hasn't been ported to redstone yet.
- willis936 5y agoIf it can't play doom, it can't run linux.
- mard 5y agoI'm so happy to see it! I had much fun with original OpenComputers, back then I used to wonder if ditching custom Lua OS and running micro Linux VMs would be possible. OpenComputers 2 is the answer, and I'm happy to see it's in active development by OpenComputer's author and most active contributor. It's early in development, but I see in the source code it comes with some basic networking, with IPs, DHCPs and so on. I think it's possible to build real networks inside the game, or will be possible at some point. Can't wait to try it out later. Very exciting!
- c0balt 5y agoI'm eagerly waiting for certificate training with minecraft. Might make certificates like LPIC more accessible and ease the initial barrier to entry.
- no_time 5y agoI can't seem to find any info on how the linux enviroment interfaces with the minecraft world. Is there a minecraft.ko or a minecraftd running inside the vm?
- tiberiusteng 5y agoFrom the documentation: > Many devices are so-called high level API (HLAPI) devices. This means they are not controlled using regular Linux drives, but via a simple RPC system, employing JSON messages over a serial device.
- jmrm 5y agoIn the past, I found incredible to being able to program in Lua in ComputerCraft, controlling not only redstone and moving robots, but also being able to interface with the web and serial ports, but this, this is (or can be) a whole new world inside the Minecraft modding space. Amazing!
- Nextgrid 5y agoOut of curiosity, is this available in multiplayer, and if so, which physical machine is the "host"? Is it the Minecraft server or is VM execution somehow replicated on the clients (first player that enters an unloaded chunk?)?
- bombcar 5y agoAt least with OpenComputer on 1.7.10 the "vm" runs on the "server" which is either the multiplayer server or the client if in single-player mode.
- jmrm 5y agoAFAIK the host in ComputerCraft were the server. I remember how some people done quarries in the 1.4-1.7 versions of Minecraft (I don't exactly remember which) by simply putting a chunk loader object from other mod and programming the robot to mine it. The robot had a diamond pickaxe and could drop and get items, so when the inventory were full, it could drop all of the objects in a chest or other place.