Okay, this worked perfectly for vanilla. However, with optifine, it crashes my minecraft. I don't get to see the error cause it flashes the error then black screen. Optifine worked just fine before adding the mq.class, but as soon as I add the mq.class with optifine it crashes. I downloaded the mp.class for the standard HD 1.1 version which I also downloaded via the link you posted. Any idea as to why this is happening?
Your Graphics Adapter/GPU (ATI, Intel, Nvidia, etc.)
I am using OptiFine HD A4 Standard for Minecraft 1.1
and mq.class for OptiFine 1.1_HD_A4
I have java 6
And the information about my computer/graphics card follows:
Operating System: Windows Vista (TM) Home Basic* , Service Pack 1 (6.0.6001)
Default Language: English
DirectX* Version: 10.0
Physical Memory: 2036 MB
Minimum Graphics Memory: 8 MB
Maximum Graphics Memory: 286 MB
Graphics Memory in Use: 201 MB
Processor: x86 family 6 Model 22 Stepping 1
Processor Speed: 2194 MHZ
Vendor ID: 8086
Device ID: 29C2
Device Revision: 02
* Accelerator Information *
Accelerator in Use: Intel(R) G33/G31 Express Chipset Family
Video BIOS: 1471
Current Graphics Mode: 1280 by 1024 True Color (60 Hz)
Your Graphics Adapter/GPU (ATI, Intel, Nvidia, etc.)
To be more specific on the versions of the fix and optifine I am using:
It's OptiFine 1.1_HD_A4 and the mq.class for that optifine. I realized that what was crashing me was the wrong mq.class with the wrong version of optifine. However, now that I have the right match, it's still white...
To be more specific on the versions of the fix and optifine I am using:
It's OptiFine 1.1_HD_A4 and the mq.class for that optifine. I realized that what was crashing me was the wrong mq.class with the wrong version of optifine. However, now that I have the right match, it's still white...
Meow; Does this still happen to you with Optifine 1.1_HD_D6 + Series B?
Series B - Opaque Text and Shadows. No Alpha-Transparancy fading. Predicted 95% success rate!
Meow; Does this still happen to you with Optifine 1.1_HD_D6 + Series B?
Okay you sir are a GENIUS!
It took me a minute to get the combo of what I'm doing to work. I will try to explain:
I'm using magic launcher to use my mods, and somehow also make all this work. Here's what happened.
When I added the optifine and the mq.class straight into the jar file and ran my magic launcher with modloader and my mods, it all worked, but for some reason the texture pack wasn't "patched". So I started all over and here is the EXACT method step by step I did that got it all to work together. If anyone follows this, do each step in order.
I ran MCPatcher to patch the HD textures and HD fonts only and closed it.
Then I opened the minecraft.jar (not the other one MCPatcher adds in minecraft-1.1.jar) and the META-INF folder was already gone (so delete it if it isn't). I added in Optifine (The version you listed here).
Then I deleted out the old mq.class (just to be sure the new one went in clean)
Then I added in the mq.class B series (the one linked in this quote)
Then I opened my magic launcher
Went to setup and added in Modloader and all my mods (keep in mind magic launcher said modloader had 3 errors but I ignored that) Clicked okay, then logged in.
Everything worked. My optifine, HD textures, the colored text (best of all), and even all my mods...
I hope this helps someone in my same situation, and to the OP thank you for your hard work and diligence to help!
New feature!Now also (blindly) implements ThVortex's Unicode Text Fix. Unicode fonts should now render centered on buttons (and be detected at the correct size).
DownloadsSeries B. Opaque text with shadows. No alpha-transparancy/fading. Predicted 95% success rate!
Because the forum keeps deleting the links from the main post (as in deleting the BBcode tags, not just surpressing them) I will also be posting changes in replies while I experiment to find some cascading formatting pattern that the forum doesn't eat.
I do realise that the tag is not supposed to be
[hr] blah [/hr]
, but the forum changes it and I don't care enough to figure out why.
Also, apparently some tags only work when submited from the full editor.
Meow; does anyone know the bytecode to duplicate java strings?
Strings are passed around by reference like any other object, so a "dup" opcode should suffice.
Also, the Unicode text rendering fix I gave you had a bug in how it computed the width of a space character. The "i += 4F;" should be "i += 8F;" since I'm dividing the whole width by 2 before returning it. See http://postimage.org...yiqjm/60124166/ for an example.
Now regarding that white text... you said the color stack gets corrupted? I wonder if adding the following code before the glColor4f would help:
Also, the Unicode text rendering fix I gave you had a bug in how it computed the width of a space character. The "i += 4F;" should be "i += 8F;" since I'm dividing the whole width by 2 before returning it. See http://postimage.org...yiqjm/60124166/ for an example.
The resulting method should be this ... ?
public int getStringWidth(String s)
{
if (s == null)
{
return 0;
}
int i = 0;
for (int j = 0; j < s.length(); j++)
{
char c = s.charAt(j);
if (c == '§')
{
j++;
continue;
}
if (c == ' ')
{
i += 8F;
continue;
}
int k = ChatAllowedCharacters.allowedCharacters.indexOf(c);
if (k >= 0 && !unicodeFlag)
{
i += charWidth[k + 32] << 1;
continue;
}
if (glyphWidth[c] == 0)
{
continue;
}
int l = glyphWidth[c] >> 4;
int i1 = glyphWidth[c] & 0xf;
i1++;
i += (i1 - l) + 2;
}
return i >> 1;
}
^^^
Anyways, thanks a lot for this!
To help me fix this problem would you please post the following:
I updated OptiFine and now it doesn't happen, sorry for bothering.
Thanks a lot dude, you saved my head!
Ill bring you cookies soon!
I am using OptiFine HD A4 Standard for Minecraft 1.1
and mq.class for OptiFine 1.1_HD_A4
I have java 6
And the information about my computer/graphics card follows:
Operating System: Windows Vista (TM) Home Basic* , Service Pack 1 (6.0.6001)
Default Language: English
DirectX* Version: 10.0
Physical Memory: 2036 MB
Minimum Graphics Memory: 8 MB
Maximum Graphics Memory: 286 MB
Graphics Memory in Use: 201 MB
Processor: x86 family 6 Model 22 Stepping 1
Processor Speed: 2194 MHZ
Vendor ID: 8086
Device ID: 29C2
Device Revision: 02
* Accelerator Information *
Accelerator in Use: Intel(R) G33/G31 Express Chipset Family
Video BIOS: 1471
Current Graphics Mode: 1280 by 1024 True Color (60 Hz)
To be more specific on the versions of the fix and optifine I am using:
It's OptiFine 1.1_HD_A4 and the mq.class for that optifine. I realized that what was crashing me was the wrong mq.class with the wrong version of optifine. However, now that I have the right match, it's still white...
Meow; Does this still happen to you with Optifine 1.1_HD_D6 + Series B?
Okay you sir are a GENIUS!
It took me a minute to get the combo of what I'm doing to work. I will try to explain:
I'm using magic launcher to use my mods, and somehow also make all this work. Here's what happened.
When I added the optifine and the mq.class straight into the jar file and ran my magic launcher with modloader and my mods, it all worked, but for some reason the texture pack wasn't "patched". So I started all over and here is the EXACT method step by step I did that got it all to work together. If anyone follows this, do each step in order.
I ran MCPatcher to patch the HD textures and HD fonts only and closed it.
Then I opened the minecraft.jar (not the other one MCPatcher adds in minecraft-1.1.jar) and the META-INF folder was already gone (so delete it if it isn't). I added in Optifine (The version you listed here).
Then I deleted out the old mq.class (just to be sure the new one went in clean)
Then I added in the mq.class B series (the one linked in this quote)
Then I opened my magic launcher
Went to setup and added in Modloader and all my mods (keep in mind magic launcher said modloader had 3 errors but I ignored that) Clicked okay, then logged in.
Everything worked. My optifine, HD textures, the colored text (best of all), and even all my mods...
I hope this helps someone in my same situation, and to the OP thank you for your hard work and diligence to help!
Done!
Now also (blindly) implements ThVortex's Unicode Text Fix. Unicode fonts should now render centered on buttons (and be detected at the correct size).
Downloads
Series B. Opaque text with shadows. No alpha-transparancy/fading. Predicted 95% success rate!
Because the forum keeps deleting the links from the main post (as in deleting the BBcode tags, not just surpressing them) I will also be posting changes in replies while I experiment to find some cascading formatting pattern that the forum doesn't eat.
I do realise that the tag is not supposed to be , but the forum changes it and I don't care enough to figure out why.
Also, apparently some tags only work when submited from the full editor.
THANK YOUUUUUUUUUUUUUUUUUUUUUUUUU
Strings are passed around by reference like any other object, so a "dup" opcode should suffice.
Also, the Unicode text rendering fix I gave you had a bug in how it computed the width of a space character. The "i += 4F;" should be "i += 8F;" since I'm dividing the whole width by 2 before returning it. See http://postimage.org...yiqjm/60124166/ for an example.
Now regarding that white text... you said the color stack gets corrupted? I wonder if adding the following code before the glColor4f would help:
The resulting method should be this ... ?
I HAVEN'T SEEN COLOR IN SO LONG
Preview OptiFine A3 for Minecraft 1.2.3
Or is the preview just to buggy? I can always wait though.
It's not that buggy, but it does use a few optimizations that makes simple copy-pasta from the other version not work...