Skip to content

Instantly share code, notes, and snippets.

View icedream's full-sized avatar

Carl Kittelberger icedream

View GitHub Profile
@icedream
icedream / minekawaii.lua
Last active December 16, 2015 05:19
Package Setup YAML file. I'm using this for a new script I made to make making packages for Craftitude easier. I hope... This example shows a setup for the "Minekawaii" mod.
-- Instructions file for Minekawaii
-- Variables:
-- TARGETFOLDER => The target folder where to install the package. In this case, this will be "mods".
-- TARGETFILE => The target file name under which to install the package. In this case, this will be "minekawaii.jar".
-- URL => The URL from which to download the archive. This is the ZIP/JAR file to the mod online.
function Install()
GetResolver("archive", {
input = GetResolver("download", { url = "$(URL)" })
@icedream
icedream / ExampleInstructions.lua
Last active December 16, 2015 04:29
Example Lua script to describe how to install/uninstall mods.
-- Example instructions file for a mod in the
-- Craftitude Repository system
-- As applicable to draft 0.7 (upcoming)
function Install()
-- Download a file
var download = GetResolver("download", { url="http://this.is.a.websi.te/with/an/archive/on/it.zip" })
-- Convert the download to a usable archive
var archive = GetResolver("archive", { input = download })
@icedream
icedream / CraftitudeDocumentation.md
Last active December 15, 2015 13:09
Craftitude repository documentation.

Craftitude Repository Documentation

Gist Draft Mar 28 2013, Version 0.2d by Icedream (Carl Kittelberger)

Filesystem Tree


[DIR] repositoryname
@icedream
icedream / MinecartMania-Remapping-Fix.md
Last active December 13, 2015 20:48
MinecartMania Remapping Fix

How to apply this?

Note: Make sure you have your Minecraft server completely shut down.

  1. Get the latest MCPC-Plus source code.
  2. Compile the source code or download the latest JAR build from MCPC's Jenkins server.
  3. Open the built JAR in a ZIP browser (WinRAR/7-Zip/...) and extract vcb2obf.srg to the /plugins/ folder of your source code clone.
  4. Download mm2obf.srg and save it in the same folder.
  5. Download srgtool and save it in the same folder.