linux client here.
3 replies [Last post]
Veepee
WoM Member
Members
WoM Member: 12586
WoM Coins: 2

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


InvisiblePerson
WoM Member
Contributor
WoM Member: 446
WoM Coins: 18
Try this:

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

Veepee
WoM Member
Members
WoM Member: 12586
WoM Coins: 2
It does not work. The

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


Raidho
WoM Member
Members
WoM Member: 12856
WoM Coins: 4
Experiencing same problem:

Experiencing same problem: unedited minecraft.jar works fine (almost), while edited won't even launch.