Jump to content

zophar

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by zophar

  1. Hey scyphozoa, any chance you can link me on how this process works? I've used a few modpacks by hand patching the jars in the past and writing some scripts to build updates, but never used any programs to so this. Much appreciated!
  2. Re: Common Problems (And their solutions) thankx agelian and sorry to muck up the thread... hoping to help some folks (and post a working script) for similar setups, but no dice yet... if you might happen to have a link as to sprout and how this process works, it would be greatly appreciated here's my attempt at what agelian suggested, if anything looks horribly wrong here, a reply is very much appreciated #!/bin/sh LAST_DIR=$CWD MC_BIN_DIR="${MC_HOME}/.minecraft/bin" NATIVES_DIR="${MC_BIN_DIR}/natives" JVM_ARGS="-Xms512M -Xmx2048M -Xincgc" JVM_ARGS="${JVM_ARGS} -Dorg.lwjgl.librarypath=${NATIVES_DIR}" JVM_ARGS="${JVM_ARGS} -Dnet.java.games.input.librarypath=${NATIVES_DIR}" JVM_ARGS="${JVM_ARGS} -Duser.home=${MC_HOME}" # technic (sprout) build fat jar from minecraft.jar and modpack.jar if [ -e "${MC_BIN_DIR}/modpack.jar" ]; then FAT_DIR="${MC_BIN_DIR}/.fat-jar" if [ -d "${FAT_DIR}" ]; then echo "${FAT_DIR} already exists" exit 1; fi; cd $MC_BIN_DIR mkdir $FAT_DIR unzip -q -d $FAT_DIR -o -u minecraft.jar rm -rf "${FAT_DIR}/META-INF" unzip -q -d $FAT_DIR -o -u modpack.jar cd $FAT_DIR zip -q -r "${MC_BIN_DIR}/minecraft-modified.jar" . cd $MC_BIN_DIR mv minecraft.jar minecraft.jar.orig mv modpack.jar modpack.jar.orig rm -rf $FAT_DIR fi; cd "${MC_HOME}/.minecraft" JVM_CP=$(find . -name \*.jar | xargs echo | sed s/\ /:/g) # technic mod pack creates lib dir also if [ -d lib ]; then JVM_CP=$JVM_CP:$(find lib -name \*.jar | xargs echo | sed s/\ /:lib//g) fi; JVM_MAIN="net.minecraft.client.Minecraft" JAVA_CMD="/usr/bin/java" ${JAVA_CMD} ${JVM_ARGS} -cp ${JVM_CP} ${JVM_MAIN} cd $LAST_DIR exit 0; result: java.lang.NullPointerException at net.minecraft.client.Minecraft.a(Minecraft.java:438) at net.minecraft.client.Minecraft.b(Minecraft.java:431) at net.minecraft.client.Minecraft.a(Minecraft.java:298) at net.minecraft.client.Minecraft.run(Minecraft.java:624) at java.lang.Thread.run(Thread.java:679)
  3. Running TechnicSSP 6 via bash and bypass new launcher I'm running on Linux and the new launcher seems to be working quite well. Gratz! I know this is a highly odd question, but hoping someone else is interested in doing this as well and can help... How would one run a technicssp 6 minecraft install from a bash script (bypassing the launcher and automatic updates)? I've got this script that seems to work well for me to assemble a classpath, but it's not picking up the latest technic pack, I assume there's something else needed other than $MC_HOME = ~/.technlauncher/technicssp ? I did notice that there's some new jars in the minecraft bin directory, so I modified my script to pickup those. #!/bin/sh MC_BIN_DIR="${MC_HOME}/.minecraft/bin" NATIVES_DIR="${MC_BIN_DIR}/natives" JVM_ARGS="-Xms512M -Xmx2048M -Xincgc" JVM_ARGS="${JVM_ARGS} -Dorg.lwjgl.librarypath=${NATIVES_DIR}" JVM_ARGS="${JVM_ARGS} -Dnet.java.games.input.librarypath=${NATIVES_DIR}" JVM_ARGS="${JVM_ARGS} -Duser.home=${MC_HOME}" JVM_CP=$(find $MC_BIN_DIR -name \*.jar | xargs echo | sed s/\ /:/g) # technic mod pack creates lib dir also MOD_LIB_DIR="${MC_BIN_DIR}/lib" if [ -d "${MOD_LIB_DIR}" ]; then JVM_CP=$JVM_CP:$(find $MOD_LIB_DIR -name \*.jar | xargs echo | sed s/\ /:lib//g) fi; echo $JVM_CP JVM_MAIN="net.minecraft.client.Minecraft" JAVA_CMD="/usr/bin/java" ${JAVA_CMD} ${JVM_ARGS} -cp ${JVM_CP} ${JVM_MAIN} exit 0;
×
×
  • Create New...