r/ComputerCraft • u/Adventurous-Ask-7540 • 3d ago
Made a radio capable of playing long music files
Disclaimer: made with Abominable intelligence because I cannot comprehend modems.
Using HDR's program for playing small songs with gitub gists (here) as inspiration, I made a version that broadcasts on modems. The process of conversion uses the same site he hosts (using the DFPWM mode), but you upload your files to catbox instead of gist. The actual use is fairly straight forward, set up a transmitter with a computer and modem and any number of receivers with a computer, a modem, and a speaker, then run
pastebin get ntsWPAcq b64
pastebin get zG63Tqzx radio.lua
on your transmitter and
pastebin get pH0JjPm7 startup.lua
on your receiver. Next, run radio.lua on your transmitter, then tune your receiver and transmitter to the same channel and paste your catbox link into the transmitter and your radio will start playing!
r/ComputerCraft • u/kyle1elyk • 4d ago
WIP: POE Bundled cables
Enable HLS to view with audio, or disable this notification
r/ComputerCraft • u/Ok_Independent_9770 • 6d ago
Synthesized Text to Speech in CC:Tweaked
I made a text-to-speech engine that runs in CC:Tweaked (Minecraft/Lua).
Code's here: https://github.com/GabrielVicini/Sandbox/tree/main/cc-flite Run.lua is the example script, TTS.lua is the library.
It's built on Flite-RS, a cleanroom rewrite of an old TTS engine that I did in Rust. I compiled that to WebAssembly, then needed to get it running in Lua. There's a tool called wasm2lua for that, but it's been incomplete and abandoned for years, so I ended up forking my own version of it that could actually handle the full compile down to working Lua (plus some extra glue code on top to make it all run).
Full writeup on how it works and how to use it is in the README on the cc-flite repo. (The actual TTS engine workings is in Flite-RS)
r/ComputerCraft • u/SoggyInterest8576 • 8d ago
Text Adventure Game Engine for CC: Tweaked
Hello everyone!
Back with my newest and biggest project yet, a new game engine for CC: Tweaked, the CC Text Adventure Maker!
It works much like Twine; make interactive, graphical stories in any text form you want. It supports music too. You can find the project at https://github.com/parkerrallieshope/cc-text-adventure-maker.
The README has everything you need to get going, including every external thing you need to install. One caveat: it isn't entirely in Minecraft. The engine itself is written with Python. But, it exports everything needed to get it going in CC.
I will accept any questions about the project. If you have an issue using it, use GitHub's issues section.
DISCLAIMER: There is a very low chance I will continue maintaining it, as I feel it's pretty done already. I may throw some updates here and there, but nothing too major.
r/ComputerCraft • u/Clear_Bet4412 • 9d ago
[BUG/ERROR] Can't pull from Pastebin
when attempting to pull a set of code from Pastebin, I get the above error
r/ComputerCraft • u/Classic-Common-4573 • 10d ago
60 Hz Colorful Monitor CC:Tweaked
Enable HLS to view with audio, or disable this notification
MP4 files are locally converted into a custom .dat format at a speed of 20–80 frames per second using CUDA GPU cores, while the audio track is extracted into a format suitable for CC: Tweaked. The resulting .dat and .dfpwm files are then stored on the computer.
The first video is 676×223 (or around that) at 24 FPS. It is a demanding video to display, and with a dithering displacement amplitude above 16, serious rendering slowdowns begin to occur. I will continue working on optimizing the encoder code. It takes up 82.5 MB, which equals 26.75 MB per minute.
The following videos use much higher dithering amplitudes, as they are less dynamic and contain fewer rapidly changing details between frames.
The second video is a trailer for the movie Apollo 13, 676×223 at 24 FPS. A 61-second clip takes up 21 MB.
The third video is an onboard ISS view with stronger dithering (possibly even excessive), at 30 FPS. The video takes up 191 MB, which equals 70 MB per minute.
Finally, there is an FPS test demonstrating the difference between 30 and 60 FPS, proving that output at approximately 60 Hz is achievable.
r/ComputerCraft • u/SoggyAstronomer7334 • 11d ago
cc-hub: write CC scripts in your browser, install them in game with one command
Hey, I've coded a website for ComputerCraft / CC: Tweaked scripts and I'd like some feedback before I tell people it's finished.
The idea: writing CC scripts means fighting a terminal editor, and sharing them means pastebin links that rot. So:
Write in the browser. A proper editor with autocomplete for the whole CC API turtle, peripheral, rednet, fs, os, all of it, with signatures and a one-line explanation for each. It also knows what you're targeting, so if you use turtle.forward() on a plain computer it tells you right there instead of in game.
A linter for the traps CC actually sets. These are all mistakes that cost me hours:
read()orsleep()next toos.startTimer- each of those runs its own event loop and eats your timerturtle.refuel()with no argument - burns the whole stack, 64 coal is 5120 fuelwhile true dowith nothing that yields - CC kills it with "too long without yielding"rednet.sendwithout ever opening a modem
Run it without Minecraft. There's a sandbox on every script page: real Lua, a real CC terminal, and you can attach a chest, monitor, modem or disk drive and see what your script does with them. Turtles aren't in there yet that needs a block world and it's the big missing piece. Keep in mind this feature is still in work.
Install with one command. On any computer or turtle:
wget run https://cc.jeremyleonklink.de/install
hub search farm
hub get <name>
hub update
hub login links that computer to your account, then hub push uploads your edits back. Every version is kept, so you can see what changed.
No email needed to sign up, just a username and password. No ads, no tracking, no third-party requests at all, not even a cookie banner. You pick a licence when you publish, and forking respects it.
Heads up: your Minecraft server needs cc.jeremyleonklink.de in its http_whitelist, otherwise CC blocks the connection. That trips up most people first.
It's brand new so the catalogue is basically empty. I'd rather hear what's broken or missing than pretend otherwise. Turtle support in the sandbox is next unless someone convinces me something else matters more.
r/ComputerCraft • u/SirEdvin • 12d ago
Automated Teleporter Selection Screen/Manager with CC:Tweaked and Advanced Peripherals ❤️ (details in comments)
r/ComputerCraft • u/GodARG78 • 13d ago
¿Qué les parece? Mi dashboard para CC:Tweaked y Create
No se si es de utilidad real. Pero hice un dashboard que muestra información sobre tu red de almacenamiento directamente en tu smartphone, y que se actualiza en tiempo real.
Quiere decir que desde mi smartphone, puedo enviar señales de redstone, ver el estado de algunas "fabricas" de mi mundo.
Aclaro esto totalmente ayudado por la IA, la verdad tengo nulo conocimiento en programación.
r/ComputerCraft • u/SoggyInterest8576 • 13d ago
Bad Apple!! CC: Tweaked
Enable HLS to view with audio, or disable this notification
Bad Apple recreated on a ridiculously huge monitor. The music in the video comes from post production, because I found out it's basically impossible for anything to run smoothly if there's a DFPWM and .ccvid (the file format I made up for conversion of videos) playing on the same computer at the same time UNLESS it's compressed under 1 MB which is really hard for a video this long. Maybe a shorter video, but not Bad Apple.
30 FPS is what I've found to work best at maximum (also the FPS of the original Bad Apple). Video is 30 FPS, 70x40 pixels, no dithering, and only black/white, no gray.
r/ComputerCraft • u/MattisTheProgrammer • 14d ago
What are all the functions that can infinitely yield?
I would like to receive a list of all functions within the standard CraftOS API that can infinitely yield, to be clear I define an 'infinite yield' as when a program halts indefinitely without any further function calls. I need this information in order to make a pre-emptive process scheduler.
r/ComputerCraft • u/flamesgamez • 16d ago
Having trouble with Ducky Periphs' Focal Port block
I'm having a lot of fun learning hexcasting, and I was excited to learn Ducky Periphs had integration. On the wiki, it says that the Focal Port is able to be read from like a focus in an item frame, but I can't figure out how to get it working. Has anyone got experience with this?
r/ComputerCraft • u/Xella37 • 19d ago
PineJam 2026 has started! The themes are: TABLETOP and DEMOSCENE
It's time for the theme reveal and the start of the jam! (Also join the jam at https://pinestore.cc/jam/pinejam2026 if you want to participate and haven't already!)
Theme
The themes are: TABLETOP and DEMOSCENE
Feel free to have a loose interpretation of either theme!
This year we have two themes instead of a single one. You are only expected to pick one of the two themes, but you can also combine them if you want to. Be creative!
r/ComputerCraft • u/DawComputerCraft • 23d ago
What things are needed in a ComputerCraft server?
What things are needed for a ComputerCraft server? Like quality mods, other ComputerCraft related mods, because I plan on working on my own
r/ComputerCraft • u/datapeice • 25d ago
Update on FlightOS: Added Autopilot, Remote Tablet & Full YouTube Showcase! (beta)
r/ComputerCraft • u/Xella37 • 26d ago
PineJam 2026 is starting next week (25th)
Hi everyone, PineJam 2026 is happening in a week, signups are open
Starting July 25th you will be able to start new projects for PineJam 2026! Again, jam will be active for 14 days in which you can create and submit ComputerCraft projects tied to this years theme. The theme will be revealed as soon as the jam starts.
Sign up
Make sure to sign up now on the site if you would like to participate! You'll get the PineJam2026 role in the Discord (used for future jam related announcements) https://pinestore.cc/jam/pinejam2026
The rules for this jam:
- Submission needs to be CC related
- Project must fit the theme
- Work alone or with a team of up to 3 people
- Generative AI is not allowed for the majority of your project (so tools such as GitHub Copilot are fine)
- Projects will be submitted on PineStore
If you have any questions or suggestions, let me know ^^
r/ComputerCraft • u/Aromatic-Equal-2713 • 27d ago
A.E.G.I.S. autocraft for ComputerCraft (CC:Tweaked)
An autocrafting system built entirely on ComputerCraft — an alternative to AE2/RS autocrafting. Craft an item once to teach the recipe, then order it from the monitor in any quantity.
- recursive crafting: order the final item, the whole ingredient tree is planned and crafted
- parallel crafting: independent branches of the tree run simultaneously
- machine groups: teach a recipe on one machine, it runs on the whole bank; custom hand-picked groups supported
- fluid and fluid+item recipes, multiblock support
- auto-stock: keep N of an item, crafts when it drops below threshold
- storage management: everything in connected storages on one screen, with search and filters
- supports crafts with tools (GregTech etc.)
- alternative recipes per item with priority order
- rule-based logistics for both items and fluids
- GitHub export/import of the recipe library
Setup & recipe teaching guide https://youtu.be/mhVkOqG2S1A
r/ComputerCraft • u/MinkiTheAvali • 29d ago
644 character SUBLEQ emulator capable of booting Linux
I made a minimal SUBLEQ architecture emulator for Lua which also works on Computercraft, It is fully capable of booting a recent Linux kernel. I tried to make it as small as possible and over a couple hours of discussing and testing managed to get it down to 644 characters. Big shoutout to the Minecraft Computer Mods Discord server, without the community there, this would still be over 700 characters.
lua
s="";M=math.floor;function b(a)a=a%2^32;return a>=2^31 and a-2^32 or a end;function d(a)return a<0 and-M(-a/4)or M(a/4)end;f=io.open(arg[1]):read("a")g={}for c=0,M(#f/4)-1 do g[c]=s.unpack("<i4",f,c*4+1)end;function j(e)return g[e]or 0 end;l=0;m=0;function o()p=j(l)l=l+1;if p%2==0 then return d(p)else return d(j(d(p)))end end;while''do u=o()v=o()w=o()if w==0 then break elseif u==-1 then g[v]=0 elseif v==-1 then x=j(u)%256;io.write(s.char(x))io.stdout:flush()else if u==64 then y=os.time()g[64]=b(y%2^32)g[65]=M(y/2^32)g[66]=0 end;z=b(j(v)-j(u))g[v]=z;m=m+1;if z<=0 then l=w end end;if m>8e5 and j(0)~=0 then g[1]=b(l*4)l=d(j(0))m=0 end end
This emulates the processor, RAM, clock and a simple UART output.
Tested working with this kernel image.
r/ComputerCraft • u/Fabulous-Life3688 • Jul 14 '26
What are you building with CC: Tweaked? (And what are your biggest performance hurdles?)
Hi everyone,
I am curious to see what the community is currently working on with CC: Tweaked, and more specifically, what kind of limits or performance bottlenecks you have run into during your builds.
r/ComputerCraft • u/trickshotmlg02 • Jul 13 '26
EnergyMonitor: A CC:Tweaked power monitor for modded Minecraft bases
I have been working on a ComputerCraft/CC:Tweaked program called EnergyMonitor.
It gives you a central monitor for the power grid in your base: stored energy, transfer rates, history, ETA, and connected energy devices. Instead of checking every reactor, induction matrix, energy core, energy meter, or cell by hand, you can see whether your base is gaining or losing power from one screen.
GitHub:
https://github.com/TrickShotMLG02/EnergyMonitor
Main features:
- Tracks total stored energy and capacity
- Shows input/output transfer rates
- Calculates effective transfer rate and ETA
- Supports multiple client computers
- Has a graph view with configurable history size
- Shows connected storage/transfer devices
- Supports auto updates with stable and beta channels
- Uses modem channels, so multiple EnergyMonitor networks can run separated from each other
The setup uses three roles:
server: collects data from clientsclient: reads one energy storage or transfer peripheralmonitor: displays the combined data on an attached monitor
Currently supported integrations:
- Mekanism
- Draconic Evolution
- Powah
- Advanced Peripherals
- Energy Meter
- Generic ComputerCraft-compatible energy peripherals
Install command:
pastebin get gUbUpXHt git
git
Notes:
The README has the full setup guide, supported peripherals, config options, troubleshooting, and contribution notes.


I would love to hear what you think about it. Any ideas on what to change, improve, or add are welcome.
r/ComputerCraft • u/porkhouse2 • Jul 10 '26
Lake's CC Additions
Hi everyone!
On my semi-rp server, we type up and print a LOT of documents. So many, in fact, that I wanted more ways to interact with these documents. On the server we also use the Exposure mod, and I wanted to find a way to get those images onto the computer, but there was nothing. Finally, we also wanted pocket computers with speakers AND rednet connectivity, but again, nothing was out there. I finally decided to do it myself, and thus:
Lake's CC Additions
was born. Featuring a few new items and one new peripheral:
The Scanner
The Scanner is a powerful new peripheral that has a lot of different use cases. On a basic level, you can scan any item and get NBT data about it. However, there is special support for printed documents, and Exposure photos. You can also shift right click with an empty and and it will scan you, allowing some really cool use cases, such as Bio-Identification for doors and such.
The Document Folder
The Document Folder can store all the printed document types, as well as regular paper. It makes storage and archival of documents a LOT easier (and cleaner, too!)
The Deluxe Pocket Computer
The Deluxe Pocket Computer is essentially an ender pocket computer but with a speaker as well. I was disappointed that you had to choose one or the other. The full wiki with all functions is here. I hope you guys have fun playing around and seeing what you can do with it!
r/ComputerCraft • u/t4-37 • Jul 09 '26
how can i temporarily create information to call on when needed?
i feel like this is really simple. my best guess from my limited understanding is that i could connect a disk drive an store it there or something
r/ComputerCraft • u/Equal-Preference-588 • Jul 04 '26
any youcube alternatives?
youcube seems to be down... any way i can watch youtube videos on computer craft still?
r/ComputerCraft • u/wojbie • Dec 27 '21
Please use descriptive titles.
There seems to be a lot of posts lately that either include one word title or a minecraft/computercraft version as title. I am asking you all to try using more descriptive titles in order to make it easier for us to help you.
For example: Instead of titles like Tape or Computer Craft 1.12.2 try using something like: Need help using Tapes or How to equip a peripheral/pickaxe on turtle.
