https://github.com/daelvn/ccrunx
Wrapper around CCEmuX for running projects
https://github.com/daelvn/ccrunx
ccemux computercraft moonscript runner wrapper
Last synced: 11 months ago
JSON representation
Wrapper around CCEmuX for running projects
- Host: GitHub
- URL: https://github.com/daelvn/ccrunx
- Owner: daelvn
- License: other
- Created: 2018-12-03T19:12:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T00:53:25.000Z (over 6 years ago)
- Last Synced: 2025-01-17T13:25:25.724Z (about 1 year ago)
- Topics: ccemux, computercraft, moonscript, runner, wrapper
- Language: MoonScript
- Homepage:
- Size: 266 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CCRunX
Better version of the [ccrun](https://github.com/daelvn/ccrun) wrapper. This is a wrapper around CCEmuX which will let you create environments and run your projects inside CCEmuX.
## Installing
This should be as easy as cloning this repo (`git clone https://github.com/daelvn/ccrunx.git`), making the script an executable if it isn't already (`chmod +x ./ccrunx`) and running it. It's recommendable that you put this script in your path. If you need to install CCEmuX, you can easily download it from the AUR as ccemux-git (Arch). This requires you to install the dependences `lrunkit` and `ltext` manually.
Additionally, you can download the whole package using LuaRocks: `luarocks install ccrunx`, although you will still have to download CCEmuX.
## Usage
First, you should configure an environment for your project.
```
$ ccrunx configure project
```
Where `project` will be the name of your folder. After this, all you have to do is run the project, which will copy the contents of `project/` into the computer ID. You can do it like this:
```
$ ccrunx run project [-i |--id ]
```
The ID defaults to 0. If you want to create a new ID, you can use:
```
$ ccrunx new project 255
```
Optionally, you can attach certain files to an environment, which will permanently store them in place.
```
$ ccrunx attach project rom-extra/
```
Now, every time that you run the project, the files from rom-extra/ will be always moved to `id:/`
## Credits
Thanks to the guys at [CCEmux](https://github.com/CCEmuX/CCEmuX) for this amazing emulator!