This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Loenix's profile picture

MinePastor : Paste from Windows to ComputerCraft

Started by Loenix, 28 July 2014 - 05:34 PM
Loenix #1
Posted 28 July 2014 - 07:34 PM
MinePastor

Hi, I'm a developer and i wanted to create my own LUA programs for my turtles and i don't like snakes and requirements,
so i made this app to Paste your programs into Minecraft, so it coded in JAVA, this have the same requirements,
i'm pretty sure you have downloaded JRE.

Why should i use it ?
The application allows to use a real IDE (LUA Editor) to develop your LUA scripts.
So, you can easily import your scripts (your own or from third party)

How it works ?
using the default OS, it edits the program you asked to put, it pastes the program and save it.

How to use it ? (Read all before use)
- Open the computer or turtle console and come back to windows, so i recommend to use the windowed mode.
- Open the OS' console. For windows users, press Windows + R, type "cmd" (without quotes) and press enter.
- Open your MinePastor directory in this console, ensures you have the "MinePastor.jar" file and the "keyboard_layouts" folder with your keyboard layout in it.
- Run (with quotes)
java -jar MinePastor "the/path/to/your/LUA/files"
- Now, you have 5 seconds to go back to minecraft, the computer craft console should be opened.

Can it paste multiple LUA file in one run ?
Yes, you can enter a folder as LUA path, it will paste all your LUA files that is in this folder (filtered by extension).

How can i select my keyboard layout ?
This program accept another parameter that it the layout file name, by default, it will use the first it find in your keyboard_layouts folder.

How to download this program ?
An archive is downloadable below, just click it and unzip it to your preferred folder.

This application was tested on Windows 8.1 with Java 1.7.0_51, please reports tests for other configurations.
If you have any problem that is not already known, please reports it by replying to this thread.

Attention !
For now, only some keyboard layouts are available but you can share a layout and i will add it.

Attention !
US QWERTY and GB QWERTY keyboard layouts are now provided but i did not try it, please give me feedbacks.

Warning !
It pastes the file contents without checking the focused program or if the computer craft console is opened. It could cause serious issues if you choose to not follow the manual.

DOWNLOAD

Changelog:
Spoiler* 1.0.1 - 29/07/2014 - R10
- Added keyboard layouts : QWERTY US and QWERTY GB

* 1.0.0 - 28/07/2014 - R7
- First working version of the application
- Added keyboard layout : AZERTY French
Edited on 29 July 2014 - 05:18 AM
Cranium #2
Posted 28 July 2014 - 08:00 PM
Just a friendly notice. You might want to double check the spelling of "pastor", and make sure it fits for what you are posting: http://dictionary.reference.com/browse/pastor
LeonTheMisfit #3
Posted 28 July 2014 - 08:50 PM
Just a friendly notice. You might want to double check the spelling of "pastor", and make sure it fits for what you are posting: http://dictionary.re...m/browse/pastor

I'm glad I'm not the only one who noticed this. My first thought was "Oh man people are making PreacherTurtles".
Loenix #4
Posted 28 July 2014 - 10:15 PM
Hi guys, this is just a wordplay, my first idea was MinePaster, maybe i could name it simplier, maybe it can bother some people, i will change if this is really a religious problem ^^
Cranium #5
Posted 28 July 2014 - 10:20 PM
Oh, nothing religious, I just assumed that since you had a different keyboard, english might not be a first language. So I thought you might have made a typo.