This file uploader is meant for ancient versions of ComputerCraft where there is no ability to upload files via drag-n-drop, and your crappy server admin has disabled the HTTP library.
The limit per paste is 512 chars, so the minified version MUST stay within this limit at all times. It should in theory be easy to do this, but we'll see.
This uses a program to run inside of minecraft along with a companion AutoHotKey program to copy-paste your code to the game.
- On your CC computer, run
edit uploader.lua
. - Copy the contents of
minified-copy-pasteable.lua
. - Paste into the computer.
- Hit CTRL, then S to save. Hit CTRL, then E to exit.
- Run
uploader yourfilenamehere.lua
- Ensure you have autohotkey installed.
- Run the companion autohotkey program.
- Press 'a' when ready, it will prompt you to select your ComputerCraft window then your editor window.
- Select 'OK', then select the topmost line of the file you want to copy in your editor.
- When done, hold 'q' until it stops.
- Press 'q' ingame to save the file.