CraftOS-PC

CraftOS-PC

Modern ComputerCraft emulator

15 ratings
17 reviews
Free
In-App Purchases

Details

  • Released
  • Updated
  • July 23, 2021
  • March 14, 2024

Features

CraftOS-PC screenshot #1 for iPhone
CraftOS-PC screenshot #2 for iPhone
CraftOS-PC screenshot #3 for iPhone
CraftOS-PC screenshot #4 for iPhone
CraftOS-PC screenshot #5 for iPhone
iphone
ipad
🖼️Get Icon
Icons↘︎

About

This app emulates a classic text-based computer environment, allowing you to write and run Lua programs. It's perfect for learning to code or exploring existing programs from a popular Minecraft mod, all within a retro terminal interface.

Lua 5.2+ scripting environment
16-color text-based terminal
Virtual filesystem
Built-in shell
Extensive APIs
Compatibility with ComputerCraft programs
Exclusive graphics mode
Show original description

What's New in CraftOS

v2.8.1

March 14, 2024

Happy new year! This release of CraftOS-PC finally brings Lua 5.2 support along with compatibility with CC: Tweaked 1.109.3. In addition, it adds a new WebSocket server API, and lots and lots of critical crash fixes. This version is a breaking release. Notably, all files are now handled in binary mode, which may break programs that have embedded UTF-8 characters (this was always discouraged for this reason). In addition, bytecode dumping and loading is disabled in standards mode, but it remains enabled when standards mode is disabled. However, despite the introduction of the goto keyword, it remains a valid identifier, so programs with variables or functions named goto should continue to function. • Updated CC:T version to 1.109.3 • Update to Lua 5.2 • getfenv/setfenv now only work on Lua functions. • Add support for goto. • Remove support for dumping and loading binary chunks. • Only disabled in standards mode • File handles, HTTP requests and websocket messages now use raw bytes rather than converting to UTF-8. • fs.open now supports r+/w+ modes. • Add allow_repetitions option to textutils.serialiseJSON. • math.random now uses Lua 5.4's random number generator. • tostring now correctly obeys __name. • Rewrote WebSocket server API (#337) • Use server = http.websocketServer(port) to create a server handle • server.listen() waits for a new connection, and returns a new WebSocket handle • Handles have an additional clientID field for identifying the client connection • server.close() closes the server • Events are now under the websocket_server_ domain • WebSocket close events now send the close code if available • Fixed WebSocket ping messages causing the socket to close • Fixed many memory corruption issues around ropes • Fixed some issues with debug hooks and yielding • Fixed crash when erroring from a debug hook (#326) • Debuggers now inherit the mount list from the original computer (#327) • Fixed memory reporting when using string.rep (#328) • Fixed fs.getFreeSpace not checking parent directories if the path doesn't exist (#330) • Fixed crash when using HTTP in the VS Code extension (#332) • Fixed repeated websocket.close calls causing a crash (#336) • xpcall error handlers can now yield • Added onboarding screen for navigation bar instructions

More
1

In-App Purchases

$0.99

Plugin Collection 1

Add more features with this pack of plugins.

User reviews

Ho my god thanks

There is a problem the in app purchasse is broken.

Love CraftOs thanks you

AMAZING!

The only two things missing from this is a copy feature to copy your code, and to be able to scroll instead of pressing enter 500 times then deleting all of them.

Ho my god thanks

Thanks for keeping this app updated i love this projet so much

I love this🩷

This is an amazing app.

Bad

Bad

FAQ

What is CraftOS-PC?

CraftOS-PC is a fantasy terminal that emulates the popular Minecraft mod 'ComputerCraft', allowing you to write and run Lua programs outside of the game. It provides a retro text console experience with a full Lua scripting environment.

Is CraftOS-PC free to use?

Yes, CraftOS-PC is completely free to download and use. It does not require any payment to access its features.

What devices can I use CraftOS-PC on?

CraftOS-PC is available for iPhone, iPad, and iPod devices. It is designed to run on iOS and iPadOS.

Does CraftOS-PC have ads?

No, CraftOS-PC does not contain advertisements. It is a free and ad-free application.

Can I run existing ComputerCraft programs on CraftOS-PC?

Yes, CraftOS-PC is designed for compatibility with thousands of existing ComputerCraft programs. You can download them through the built-in Pastebin and GitHub Gist clients.

How often is CraftOS-PC updated?

The app was last updated on March 14, 2024, with version v2.8.1. Being open-source, it encourages community contributions for ongoing development and improvements.

What is the age rating for CraftOS-PC?

CraftOS-PC has an age rating of 4+, making it suitable for a wide range of users interested in programming and retro computing.

Where can I find documentation for CraftOS-PC?

Documentation for the ComputerCraft APIs is available at https://tweaked.cc, and CraftOS-PC's unique APIs are described at https://www.craftos-pc.cc/docs/. You can also join their Discord community for support.