r/ComputerCraft • u/kitomas • Jun 29 '20
r/ComputerCraft • u/Elpetiso49 • 21d ago
iDar OS update: it now has an audio subsystem :D
iDar OS now has an audio subsystem:
/dev/audio and /dev/audio_dfpwm as device nodes
a
playcommand that streams DFPWM from a server with token authplaylists via pipes:
cat hash.txt | playruns alongside other processes, so I can switch TTYs (Ctrl+1..6) while it plays
r/ComputerCraft • u/nonogamer9 • Jun 20 '26
NekoMOD: ProTracker for ComputerCraft (Version 1.0)
This is a heavily optimized ProTracker player that i made for ComputerCraft, it is inspired from MinkMod (https://www.reddit.com/r/ComputerCraft/comments/1o497xb/minkmod_a_protracker_player_written_in_lua_for/).
This supports:
44.1 kHz Playback (which is CD Quality audio) [NO 12 KHZ LIMIT!!]
Linear Interpolation
And Way More!
It has been heavily optimized via localizing globals (it's way faster to do this than global tables) and recycling mixCache, rawBuffer, and outputBuffer
You can try it by doing: pastebin get 0Kwx11cX NekoMOD.lua
Source Code is at https://pastebin.com/raw/0Kwx11cX
r/ComputerCraft • u/ImagineerDave • Dec 28 '25
Create meets Computercraft - working flute organ in my cathedral
r/ComputerCraft • u/Arkowne • Nov 08 '25
VBC : A videoplayer forr CC:Tweaked !
I've been working on a video player for a while, and after testing several methods, I think I've finally found something usable! I hope you like it!
r/ComputerCraft • u/Think_Measurement572 • Oct 16 '25
Is it possible to put variable in rednet.send?
I'm trying to make a turtle remote so I can make many turtles separatly from using only 1 remote via ids
r/ComputerCraft • u/_n3m0__ • Aug 10 '21
Just found this sub so i though I would post this here to. This was my first real project I made in ComputerCraft. Any tips on how to improve?
r/ComputerCraft • u/ArtifexSev • Oct 23 '24
SIGILS: a ComputerCraft factory manager and item pipe replacement
SIGILS, the Shack Industries Graphical Item Logistics Software, is a system where you connect your in-game machines to a ComputerCraft computer with wired modems and create virtual item pipes using a web browser.
Basically I was playing a modpack and I got tired of having to organize all my pipes just to break them when I needed to change them, so being a programmer I decided that the solution to all things is software.
A tutorial for the basic usage of SIGILS is available. I intended to make a video about it but without any external motivation, I stopped working on it when I stopped playing my modded playthrough. I think most of my playthrough was spent programming SIGILS, though.
Anyone brave enough to try SIGILS can report issues to the GitHub issues page. Maybe if people start using it, I'll be motivated to work on it again.
Here's a screenshot of a basic mass-smelting setup. If you drag any machine into another machine, you can combine them into super-machines and make groups of their slots that you can create pipes to and from. This one combines furnaces, blast furnaces, and smokers into one mega-furnace:

And here's a screenshot of a section of my factory from last playthrough, which processes ores in my massive Integrated Dynamics chest monster, generates obsidian with Create and Integrated Dynamics, and runs my Immersive Engineering potato-to-biodiesel refinery.

Some mods don't play nice with the ComputerCraft Inventory API, such as Mekanism, so as a workaround I attach hoppers and Create chutes stuff to the sides of Mekanism machines and connect the hoppers to the wired modems instead, which SIGILS pipes items between.
Also, SIGILS supports fluids, which is great because I find pumping fluids around to be an absolute nightmare.
r/ComputerCraft • u/[deleted] • Jun 10 '21
Turtle Butler Using Mekanism Boxes (Sorry for lag spike)
r/ComputerCraft • u/SirEdvin • Aug 01 '26
Automated Teleporter Selection Screen/Manager with CC:Tweaked and Advanced Peripherals ❤️ (details in comments)
r/ComputerCraft • u/ConnorSwis • Jun 19 '23
Pure Lua ChatGPT Interface in ComputerCraft (API key required)
r/ComputerCraft • u/duduHSA • Apr 29 '26
Auto realoding a cannon with ComputerCraft
I fell like need some Optimization i Will paste the code in the coments
r/ComputerCraft • u/lipiaknight1234 • Jan 14 '26
Computes are connecting despite using endermodems. Compact machines issue?
this is in the overworld and this is in the compact machine
attached are the images of the setup, which is very, very simple. the only differance between this and the final is that there will be an alarm on top of the second computer, which goes off when a redstone signal is applied.
the modems are connecting to the PC's but not to eachother. the test message isnt going through. I dont know whats wrong :/
r/ComputerCraft • u/Insurgentbullier • Nov 28 '25
Dopamine Driven Development
code really bad and barely useable therefore no link
r/ComputerCraft • u/Agent1-1 • Aug 07 '25
http.get() returns nil despite correct config — works with wget
The image shows the first Lua line as: local body = http.get("http://192.168.1.41:5005/sg-command")
I've been making my own script for calling a Python Flask server API to get commands for a Stargate. I have very recently encountered an issue where I can't get anything from the API, and the function "http.get()" returns nil. I've tested this several times on a single-player world as well as my creative testing server, and I'm still getting the issue. The issue
Checking my 'computercraft-server.toml' file, I can see that under http.Rules, host is set to private ($private), and action is set to allow. This configuration is on my server and my modpack instance
[[http.rules]]
#The magic "$private" host matches all private address ranges, such as localhost and 192.168.0.0/16.
#This rule prevents computers accessing internal services, and is strongly recommended.
host = "$private"
#Allow all requests to private IP addresses.
action = "allow"Client & Server:
Neoforge 1.21.1 - 21.1.197
Mods Related to the issue:
CC: Tweaked - cc-tweaked-1.21.1-forge-1.116.1.jar
StargateJourney - Stargate Journey-1.21.1-0.6.40.jar
My API is only hosted locally at (192.168.1.41:5005/sg-command)
API body (from Postman): {"action":"open","from":"home","to":"farms"}
Here's my script: https://pastebin.com/9GuseW1a
Official StargateJourney Documentation:
https://povstalec.github.io/StargateJourney/computercraft/stargate_interface/
https://povstalec.github.io/StargateJourney/survival/dialing/#dialing-with-computercraft
I've tried ChatGPT to solve this issue, and I just keep going in circles, so any help is greatly appreciated.
If you need any more info on this, I'll be more than willing to supply (within reason, I'm not giving public access to my homelab servers)
r/ComputerCraft • u/piokoxer • Aug 09 '24
proud of myself for this one, first (fully working properly) computercraft.. thing. now to get some turtles to make use of this
r/ComputerCraft • u/9551-eletronics • Jul 07 '23
very fast palette based color quantization
r/ComputerCraft • u/1Euro7Cent • Jul 31 '21
Did a color paper printer to print output from the paint program. Is there a better character to use?
r/ComputerCraft • u/Chutny • Jun 13 '21
Less Stupid: Turtle Programs
Hello Everyone,
After avoiding coding in minecraft for a long time, i got curious about the turtles, since i lacked another way to Quarry.
I have now created scripts:
pastebin get z9WbNS89 Miner
pastebin get ViyCvtJ1 Planer
pastebin get xn7XEVrU Refuel
pastebin get wKfL4vr1 Module
pastebin get PAR9xAc5 Chop
As you can probably tell, this led to an appreciation for this mod and all the possibilities.
Feel free to ask questions and modify the code.
i will update the Pastebin, whenever i have a new stable version for release.
Currently the code isn't exactly optimized, but it is definitely acceptable for my needs.
(and in my biased opinion, more practical than a lot of other turtle scripts)
Less Stupid: Mining Turtle
My take on a semi intelligent mining turtle.
This Miner will leave minimal change in landscape, as it attempts to only mine valuable resources.(There is a easy to edit "Blacklist" for unwanted materials)
I like to let 2 run at the same time, then when they mine away, i check tunnels previously made and get anything they missed. (The script isn't perfect but it takes out 90% of the work)
Less Stupid: Refueler
Uses all consumable fuel in it's inventory to refuel.
Less Stupid: Planer
Removes all blocks within and above coordinates.
If you place a stack of blocks in the inventory, it will use them to create a flat floor.
Less Stupid: Module Builder
Creates modules for the Chopper script to use. Uses items in Top row.
Less Stupid: Chopper
After trees has been planted and grown the Chopper can harvest all of the wood for you.
Use Diorite bricks instead of cobble.
NOTES:
Known issues:
Sand and gravel f*cks up the turtles pathing algorithm*(might fix it in a complete revisit of the miner script)*
The Fuel required is way off.(Just give it a lot of fuel, the turtle keeps its fuel when picked up)
Chopper script may or may not only accept Cobble and/or Diorite Bricks.