To install texture packs in your WoM Minecraft Client Wrapper easily, please see this topic:
Installing textures easily!
37 replies [Last post]
triddin's picture
triddin
User offline. Last seen 2 weeks 4 days ago. Offline
Developer
Owners
Joined: 08/09/2009

Sometimes it can be really annoying when the client application loses focus and the mouse ungrabs, or you're typing in the chat and need to alt-tab somewhere else, but if you do all you've typed will be lost. I prefer to have to press escape to lose the focus instead of it happening automatically, so here's a quick hack to remove the code that detects focus loss from working:

(This hack uses the same procedures to unpack and repack as the nofog hack, so if you're not familliar with the process, head over there first to check it out)

v.30 Update! Extract the jar and use a hex editor to open com/mojang/minecraft/l.class (Yes it has moved to a different class file)

Search for this piece of code:
19 04 b4 00 fc b6 02 1e

Replace with:
00 00 00 00 00 00 00 00

When you repackage the minecraft.jar you will need to delete the following files prior to doing so:

del META-INF\*.DSA
del META-INF\*.SF

Old way for archive purposes:
Extract the jar and use a hex editor to open com/mojang/minecraft/k.class

Search for the piece of code that looks like this at around 0x44af:

000044af: 99 00 11 b8 02 3c 9a 00 0b 19 04 b4 00 c6 b6 01
000044bf: 98 19 04

Basically in java virtual machine talk the above code says: If we were focussed and we have lost focus, then call a function to put up the menu and ungrab the mouse. We want to nuke where it calls that function by replacing the GETFIELD and INVOKEVIRTUAL instructions with NOOPs (0x00) instead. So when you've found the hex code that looks like the above, change it to the following instead:

000044af: 99 00 11 b8 02 3c 9a 00 0b 00 00 00 00 00 00 00
000044bf: 00 19 04

charrr's picture
charrr
User offline. Last seen 1 day 11 hours ago. Offline
Donator
Staff
Joined: 08/23/2009
sweeeeeeeet.

sweeeeeeeet.

charrr
heaven or hell, let's rock

st Troops's picture
st Troops
User offline. Last seen 46 weeks 5 days ago. Offline
Members
Joined: 10/10/2009
fly

it does not seam to work i have a zip on my folder and i downloaed winzip and it dont work wat should i do ?????????????????????????

triddin's picture
triddin
User offline. Last seen 2 weeks 4 days ago. Offline
Developer
Owners
Joined: 08/09/2009
Rename the file

You can rename the minecraft.jar to minecraft.zip then extract it, hex edit the files, recompress and rename back to minecraft.jar.

But honestly this is a fairly advanced procedure, if you're having problems at the unzipping stage, it's not too likely that you'll be able to do the rest of the operation.

If you have some friends that are computer savvy, it might be worthwhile outsourcing this operation.

- trids

ummwat's picture
ummwat
User offline. Last seen 5 weeks 6 days ago. Offline
Members
Joined: 08/17/2009
...

Do you know how to even extract .zip files, or are you weird or something...

SIMPLE HOW TO RUN HACKS STEP BY STEP:
1: Download
2: Extract with WinRAR or WinZIP
3: Download minecraft.jar
4: Extract, place file in lib folder
5: Run run.bat file

Daedal's picture
Daedal
User offline. Last seen 20 min 21 sec ago. Offline
Appeals Manager
WoM Legend
Executives
Joined: 08/16/2009
Don't be condescending or i

Don't be condescending or i will Have H4X remove your posts.

With love,

GolemdX's picture
GolemdX
User offline. Last seen 3 weeks 18 hours ago. Offline
Members
Joined: 10/04/2009
Uh-oh (2)

SHA1 digest error for com/mojang/minecraft/k.class
after I repack into a .zip and change it back to a .jar

Not sure if it makes a difference, but that chain of code wasn't in the exact same place, mostly because my lines were longer, I guess...

Maow, dobe.

triddin's picture
triddin
User offline. Last seen 2 weeks 4 days ago. Offline
Developer
Owners
Joined: 08/09/2009
If you get a SHA1 digest

If you get a SHA1 digest error, then you didn't follow the instructions in the linked no-fog hack for extracting and recompressing the minecraft.jar.

As per the instructions you need to remove the signature files from the META-INF folder.

Check out the instructions for details which files to remove.

stewbug's picture
stewbug
User offline. Last seen 14 weeks 2 days ago. Offline
Members
Joined: 10/13/2009
hex editor

Which hex editor did you use?

GolemdX's picture
GolemdX
User offline. Last seen 3 weeks 18 hours ago. Offline
Members
Joined: 10/04/2009
Oops

Sorry, I confused the two hacks and thought I was reading the no-fog hack for some reason.

I used GHex.

Maow, dobe.

JohnnyBeCrafty's picture
JohnnyBeCrafty
User offline. Last seen 34 weeks 3 days ago. Offline
Members
Joined: 09/14/2009
i went to the site and put

i went to the site and put the minecraft-server.jar in the wom folder but it doesnt work. Where do you get the original minecraft.jar on the site. please help.

When god gives you lemons chuck them at old people.

ummwat's picture
ummwat
User offline. Last seen 5 weeks 6 days ago. Offline
Members
Joined: 08/17/2009
Umm...

The file minecraft-server.jar is a different file.

Here:
http://minecraft.net/client/minecraft.jar

Mizuho-chan's picture
Mizuho-chan
User offline. Last seen 42 weeks 6 days ago. Offline
Members
Joined: 10/23/2009
For the new version, NOP 8

For the new version, Replace x4e63 with "00 00 00 00 00 00 00 00", in com/mojang/minecraft/l.class

GolemdX's picture
GolemdX
User offline. Last seen 3 weeks 18 hours ago. Offline
Members
Joined: 10/04/2009
Thanks

Thanks for that tip! The main post should be updated.

EDIT: Actually, I just tried it, I can't seem to find x4e63 in l.class... I can't play Minecraft :(.

Maow, dobe.

Casting Kai's picture
Casting Kai
User offline. Last seen 5 weeks 1 day ago. Offline
Members
Joined: 08/30/2009
Umm...?

My little friend Java.Lang.NullPointerException decided to drop in, why is that?  (I tried the update post suggestion and the original post, it's not working.)  The string in the first post does not exist in either l.class or k.class.  I tried the adress in the last post, and it failed.

ummwat's picture
ummwat
User offline. Last seen 5 weeks 6 days ago. Offline
Members
Joined: 08/17/2009
Time

To look at the front page.

someblackguy's picture
someblackguy
User offline. Last seen 36 weeks 3 days ago. Offline
Members
Joined: 09/07/2009
Same problem

I'm using the newest minecraft.jar and trying to apply the hack to it with GHex, and I can't seem the find either values that are stated in the starting post or Mizuho-chan's post. Am I doing something wrong or is this just something many people have trouble with?

Thanks in advance

Hello

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
You have to change your views

You have to change your views in the program.

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

TehButter's picture
TehButter
User offline. Last seen 12 weeks 3 days ago. Offline
Members
Joined: 08/23/2009
Values

I can never seem to find the values you are talking about. It tells me it is out of bounds when i try to search for it. Both in the no-fog and this hack... I am using Hex Workshop. Any tips on value searching?

H4X's picture
H4X
User offline. Last seen 1 day 11 hours ago. Offline
WoM CEO / Founder
Owners
Joined: 07/30/2009
Updated!

Updated!

---
Whats with these noobs and no avatars?

broodjekaas's picture
broodjekaas
User offline. Last seen 29 weeks 3 days ago. Offline
Members
Joined: 11/25/2009
tried this for hourswhy you

tried this for hours
why you dont just upload the edited minecraft.jar to the site?

if anyone have a working minecraft.jar with working focus please send me a message

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
Legality issues.

Because it is illegal. Notch said not to, and by law, we can't direct link (you click and you're there) or upload.

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

Raidho's picture
Raidho
User offline. Last seen 30 weeks 5 days ago. Offline
Members
Joined: 02/03/2010
But you can still post a

But you can still post a Broken link, with slash or file extension missing. Lol.

Now seriously. I tried to hack the archive and repack it. Did all properly - replaced sequence with nops and deleted signatures. After repacking into jar (with jar file format) it doesn't work. Client seems refuses to use repacked minecraft.jar, effect is the same as if there wasn't any minecraft.jar (i tested this). Repacking with no changes to l.class makes it the same, so it's obviously the Repacking Method lack. I used the linux package manager and 
jar cf minecraft.jar ./minecraft
Both gives same result: failure. Please tell me which utility did you used to repack .jar .
Такие дела. Алсо, на русском мне было бы проще общаться.

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
Well...

If you do it here, it will get removed, and if you try again, you'll be banned. Lol.

I did it in the Archive Manager, but I saved by overriding.
Если бы я знал, я бы постарался.

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

Raidho's picture
Raidho
User offline. Last seen 30 weeks 5 days ago. Offline
Members
Joined: 02/03/2010
Afraid of evil cops? Noone

Afraid of evil cops? Noone actually cares, except for you. Also, there is no ban that can stop me from posting. 

I tried with archive manager, get same result, but this time i had managed to look what's inside of reassembled archive.
Archive manager wasn't supposed to follow this behavior by design, atleast i didn't expected this, so i didn't checked previous reassembled archives. Now, know how it works, reassembled archive in correct way. Now it works fine. 
Хороший хак кстати. Алсо, раз уж я больше тут никогда не появлюсь - покедова! И да, кстате, всем похуй на копирайты и прочую хуйню, так что ты бы мог спокойно выкладывать хацки, тем более что хацк игры это фуфло в сравнении с кряками к фотошопу которые лежат везде где ни поподя. Ну ты понел.

joshuam08's picture
joshuam08
User offline. Last seen 10 weeks 1 min ago. Offline
Members
Joined: 09/11/2009
I really need this because MC

I really need this because MC stuffs up on Ubuntu, but when I search for 19 04 b4 00 fc b6 02 1e.
in l.class, no results show

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
You're not looking in the

You're not looking in the right part then. I found it.

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

joshuam08's picture
joshuam08
User offline. Last seen 10 weeks 1 min ago. Offline
Members
Joined: 09/11/2009
Ok, I finally found it. It

Ok, I finally found it. It didn't show in a search. Now when I try run MC, terminal just opens then closes. I can copy what it says because it closes before I Can copy it.

Zemnmez's picture
Zemnmez
User offline. Last seen 25 weeks 5 days ago. Offline
Members
Joined: 12/17/2009
Obseulete?

The new file fails some sort of hash check now. What should I do?

nikalus's picture
nikalus
User offline. Last seen 6 days 21 hours ago. Offline
Members
Joined: 01/31/2010
question

Can someone post what line the string of code we need to change is on?

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
http://www.worldofminecraft.c

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

nikalus's picture
nikalus
User offline. Last seen 6 days 21 hours ago. Offline
Members
Joined: 01/31/2010
It's not the script I'm

It's not the script I'm having issues with (in fact I am using that script you posted) whenever I (try to) join a server it gives me that error I posted in my thread that you locked. My suspicion is that there is a second string that is the same as the one posted by the OP and thats the one im editing. I could be wrong though.
Also I was referring to the actual minecraft.jar that has the edited l.class file.
EDIT: My OS is Ubuntu 10.04 64-bit

Masao's picture
Masao
User offline. Last seen 1 week 4 days ago. Offline
Members
Joined: 09/18/2009
I cant seem to follow this

I cant seem to follow this one as i cant find the com folder after i unpack the jar

jio's picture
jio
User offline. Last seen 5 days 16 hours ago. Offline
Members
Joined: 09/03/2010
I searched the binary

I searched the binary throughly, but can't seem to find the pointers you mentioned. Has the binaries changed?

Here are the matches for "1904", "19 04", "04b4" and "04 b4"

InvisiblePerson's picture
InvisiblePerson
User offline. Last seen 10 hours 5 min ago. Offline
Executives
Joined: 08/18/2009
It hasn't changed, you're in

It hasn't changed, you're in the wrong part. Read the post.

You can't spell manslaughter without laughter.
Wir sind Größer als Große und Höher als Hoch.
Для матушки России

jacobdb's picture
jacobdb
User offline. Last seen 3 days 16 hours ago. Offline
Members
Joined: 08/29/2010
any ideas how to package this in linux?

i need some help with the repacking it into a .jar file, extracting worked, but i somehow dont know how to repack in linux.

Refresh100's picture
Refresh100
User offline. Last seen 1 day 14 hours ago. Offline
Members
Joined: 09/07/2010
Com folder?

I opened up that .jar file and all I got was thisThere was no com folder, and that was downloaded from the official site.

Refresh100's picture
Refresh100
User offline. Last seen 1 day 14 hours ago. Offline
Members
Joined: 09/07/2010
Com folder?

I opened up that .jar file and all I got was thisThere was no com folder, and that was downloaded from the official site.