I downloaded the hack. Installed Don't lose focus hack.
Everything works fine until i edit the minecraft.jar. I've done everything properly. It just wont start anymore.
this is how my minecraft-osx.sh looks like
#!/bin/sh
JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
DIR=`echo $0 | sed -E 's/\/[^\/]+$/\//'`
if [ "X$0" != "X$DIR" ]; then
cd $DIR
fi
RUN=true
while [ $RUN == "true" ]; do
$JAVA -classpath skin:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/macosx -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Xmx800M Main
if [ $? -ne 10 ]; then RUN=false; fi
done
It does not work.
The unmodified version works
now the whole code in the minecraft-osx.sh file looks like;
#!/bin/sh
JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
java -Xms800M -Xmx800M -classpath .:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/linux Main
DIR=`echo $0 | sed -E 's/\/[^\/]+$/\//'`
if [ "X$0" != "X$DIR" ]; then
cd $DIR
fi
RUN=true
while [ $RUN == "true" ]; do
$JAVA -classpath skin:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/macosx -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Xmx800M Main
if [ $? -ne 10 ]; then RUN=false; fi
done
Experiencing same problem: unedited minecraft.jar works fine (almost), while edited won't even launch.
WoM Coins: 18
Try this:
#!/bin/sh
JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
java -Xms800M -Xmx800M -classpath .:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/linux Main