But could you please tell us what you have changed, so we can tailor our own custom tilesets for it without having to change any blocks?
I don't know what you're asking, but:
For animated textures, Minecraft draws on top of your terrain.png/items.png as the game runs. All this stuff was hard-coded for 16x16 textures, so using bigger textures would make it draw on the wrong tiles. The patcher modifies the compiled game code so it draws them in the right place. The game draws fire at row 2&3, column 16, water at row 13 columns 14&15, and lava at row 15, columns 14&15. I did not modify any tilesets.
Ok maybe I misunderstood.
Let me try to be more clear:
Can I use your patcher on my Minecraft installation where I am using my own custom 512x512 tileset and custom items file, so that it will leave all the graphics for the blocks/resources and items alone and just fix the animation issues for fire/water and lava? (I understand those animations will revert to the old water fire and lava textures, but that's ok as long as the other textures remain instact)
Doesn't work for Mac as far as I can tell. Since all we have to do to install new textures is place the folder in the same directory as Minecraft.app we don't have to insert the files into the Minecraft.jar file.
It just uses the Brick Texture from the Painterly Pack, and I want the Brick Texture from Doku's RPG Pack.
This patch does not change your textures, it just fixes the code that renders them in the game. With the latest version of the patcher you can select a texture pack to use, so you could use it to install Doku's RPG pack if that is what you want.
Quote from LandoChronus »
EDIT: Yep it works perfectly in the downloaded version. Thanks for the help. I now can truly enjoy the beautiful world of Minecraft :-D
Great! I will add a note to the OP about this.
Quote from t0lkien »
I've got DOKU's RPG pack. As soon as I try to link the minecraft.jar file in the Original field, I get a popup window telling me there are:
No classes match for FlowWater
No classes match for StillLava
No Classes match for StillWater
No classes match for FlowLava
These messages mean that the classes in the .jar are not correct/modified/already patched, and the patcher doesn't know how to fix them. Are you using the latest version of Alpha? If you have a copy of the original minecraft.jar you can patch from that, or delete your .minecraft/bin directory and start over (you will have to reinstall your textures).
Quote from hauer »
Good one - now if you could do a miracle and make new water textures work ;D
I have an idea for how to do this but it's more "new code" than "fixed code" so it's a different kind of patching than I'm doing right now. I've been considering adding checkboxes to install other code mods and manage collisions though so maybe soon.
Quote from ThatCanadianGuy »
Alright, a 32x32 fi-oh wait it can cause weirdness on the edges of items when the item is wielded? I'll stick with my 16x16 Painterly texture pack :tongue.gif:
I was playing last night and suddenly realized why this happens, so I will probably fix this next!
Quote from Yskonyn »
Can I use your patcher on my Minecraft installation where I am using my own custom 512x512 tileset and custom items file, so that it will leave all the graphics for the blocks/resources and items alone and just fix the animation issues for fire/water and lava? (I understand those animations will revert to the old water fire and lava textures, but that's ok as long as the other textures remain instact)
Yes, that is exactly what this patcher does. It does not change your textures unless you use the "Texture Pack" option to install a texture pack. All it will do is scale up your items.png to match terrain.png so the game does not crash. In the latest version of the patcher there are even options to keep your custom fire, water, and lava textures (non-animated) and only fix the fire-on-other-tiles glitch.
Quote from crusaderesper »
Doesn't work for Mac as far as I can tell. Since all we have to do to install new textures is place the folder in the same directory as Minecraft.app we don't have to insert the files into the Minecraft.jar file.
I've tested it on OSX and it seems to work but you need to put the textures in the jar or use the texture pack option on the patcher. If you have the textures somewhere else the patcher will not find them and will not know what size to patch the code to support.
This is pure, liquid awesome. I wish it'd keep the pack's textures for water and lava, but have them animated, but you can't have everything. See if you can get Notch to implement this into the game officially!
I'm using this fix with Brown and Bloom Textures, Autocart, BetterGrass, Elemental Arrows, Stacking food/buckets and an ingame mini-map and everything is smooth as silk.
Same here, except with my texture pack and no bettergrass
I kind of dislike bettergrass, it looks a bit... un-natural...
I dont know, maybe its just me
But I'm really glad all of these mods are compatible with eachother, I would hate choosing only one...
I'm currently using the original fix and have just found out you've fixed 64x64 and beyond. Very cool, but I'm in a quandary now as I'm halfway through work on a 32x32 Steampunk texture pack. Should I continue with this or start upgrading to 64x64 and higher...argh! Decisions, decisions. And then there's the official October 31st halloween update from Notch. How will this effect your coding? What should I do...my brain is going to explode, too many things happening at once. Aaaaagh!!
And then there's the official October 31st halloween update from Notch. How will this effect your coding?
The way many other mods are developed is by the author decompiling the .class files in their minecraft.jar, finding the file they want to change, editing the code in a Java IDE, and recompiling a new .class file that you can drop in your minecraft.jar.
The way my patcher works is to open the .class files directly from your minecraft.jar file, determine what the functionality of each file is based on what functions it calls, what constants it uses, etc. Then, for the classes that need to be fixed, it scans through the actual bytecode for patterns that are broken and patches them on the fly. I don't decompile the classes or change anything by hand.
So, if an update is released that doesn't significantly change the particular functionality that I'm patching, the patcher will still work without any changes. I expect to have to release an update after the halloween update, but it's possible that I won't. Or that the halloween update will fix the problems itself.
Quote from Cda »
i run windows xp and would love someone to give steps on how to get this to work.
If the patcher doesn't work, post what you did and what happened as descriptively as possible. If the patcher worked but Minecraft stops working, click the Run Minecraft button on the patcher, and after it stops/crashes/whatever, use the Copy to Clipboard button in the Log window and paste it here.
If the patcher doesn't work, post what you did and what happened as descriptively as possible. If the patcher worked but Minecraft stops working, click the Run Minecraft button on the patcher, and after it stops/crashes/whatever, use the Copy to Clipboard button in the Log window and paste it here.
Well i click to open/run the file and nothing happens at all... thats about as descriptive i can get.
LATEST UPDATE:
1.1.4 - Added support for tilesets up to 256x256. Added a combo box to change the tile size. Fixed compass location on tilesets higher than 32x32 (Still tiny for now! With 256x256 tilesets you will have to pull it out to use it.)
IMPORTANT: Animations are not recommended for tilesets 128x128 or bigger. Drawing these pixel by pixel is incredibly slow, so your game will probably lag intensely.
TROUBLESHOOTING:
If something goes wrong, please use the "Run Minecraft" button in the patcher and hit "Copy to Clipboard" on the log window that pops up. Paste the information in this thread or PM me.
Awesome work, Xau! Now all those people developing HD texture packs will finally continue their work. I haven't downloaded this or used it yet, but I really appreciate what you've done here.
It seems to hang patching the AnimTexture(z.class)... whatever that means.. I left it for a few minutes, but eventually just did as you asked and tried to run it...
Patching class: StillLava (at.class)
Patching class: FlowLava (eg.class)
Patching class: AnimManager (ey.class)
Change constant value 1048576 -> 262144
Update const reference 2 -> 313 - <init>@35
Patching class: FlowWater (ht.class)
Patching class: StillWater (ml.class)
Reading terrain.png...
Patching class: AnimTexture (z.class)
[java, -cp, C:\Users\***\AppData\Roaming\.minecraft\bin/minecraft.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/lwjgl.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/lwjgl_util.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/jinput.jar, -Djava.library.path=C:\Users\***\AppData\Roaming\.minecraft\bin/natives, -Xmx1024M, -Xms512M, net.minecraft.client.Minecraft]
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.minecraft.client.Minecraft. Program will exit.
Exception in thread "main"
Ok maybe I misunderstood.
Let me try to be more clear:
Can I use your patcher on my Minecraft installation where I am using my own custom 512x512 tileset and custom items file, so that it will leave all the graphics for the blocks/resources and items alone and just fix the animation issues for fire/water and lava? (I understand those animations will revert to the old water fire and lava textures, but that's ok as long as the other textures remain instact)
This patch does not change your textures, it just fixes the code that renders them in the game. With the latest version of the patcher you can select a texture pack to use, so you could use it to install Doku's RPG pack if that is what you want.
Great! I will add a note to the OP about this.
These messages mean that the classes in the .jar are not correct/modified/already patched, and the patcher doesn't know how to fix them. Are you using the latest version of Alpha? If you have a copy of the original minecraft.jar you can patch from that, or delete your .minecraft/bin directory and start over (you will have to reinstall your textures).
I have an idea for how to do this but it's more "new code" than "fixed code" so it's a different kind of patching than I'm doing right now. I've been considering adding checkboxes to install other code mods and manage collisions though so maybe soon.
I was playing last night and suddenly realized why this happens, so I will probably fix this next!
Yes, that is exactly what this patcher does. It does not change your textures unless you use the "Texture Pack" option to install a texture pack. All it will do is scale up your items.png to match terrain.png so the game does not crash. In the latest version of the patcher there are even options to keep your custom fire, water, and lava textures (non-animated) and only fix the fire-on-other-tiles glitch.
I've tested it on OSX and it seems to work but you need to put the textures in the jar or use the texture pack option on the patcher. If you have the textures somewhere else the patcher will not find them and will not know what size to patch the code to support.
Make sure that minecraft.jar is not open in any other process (minecraft itself, winrar, 7zip, another instance of the patcher, etc).
This one deserves to be stickied even! *thumbs up*
The Quick Fix!
Click the creeper!
Same here, except with my texture pack and no bettergrass
I kind of dislike bettergrass, it looks a bit... un-natural...
I dont know, maybe its just me
But I'm really glad all of these mods are compatible with eachother, I would hate choosing only one...
what am i doing wrong here?
Please make sure you are using the latest version of the patcher and post the exact steps you are taking.
Example:
I'm currently using the original fix and have just found out you've fixed 64x64 and beyond. Very cool, but I'm in a quandary now as I'm halfway through work on a 32x32 Steampunk texture pack. Should I continue with this or start upgrading to 64x64 and higher...argh! Decisions, decisions. And then there's the official October 31st halloween update from Notch. How will this effect your coding? What should I do...my brain is going to explode, too many things happening at once. Aaaaagh!!
i run windows xp and would love someone to give steps on how to get this to work.
maybe i am missing something.
The way many other mods are developed is by the author decompiling the .class files in their minecraft.jar, finding the file they want to change, editing the code in a Java IDE, and recompiling a new .class file that you can drop in your minecraft.jar.
The way my patcher works is to open the .class files directly from your minecraft.jar file, determine what the functionality of each file is based on what functions it calls, what constants it uses, etc. Then, for the classes that need to be fixed, it scans through the actual bytecode for patterns that are broken and patches them on the fly. I don't decompile the classes or change anything by hand.
So, if an update is released that doesn't significantly change the particular functionality that I'm patching, the patcher will still work without any changes. I expect to have to release an update after the halloween update, but it's possible that I won't. Or that the halloween update will fix the problems itself.
Assuming you have a texture pack installed already and the latest version of Minecraft with no other mods:
1. download and run https://s3.amazonaws.com/minehax/mcpatcher-1.1.3.exe
2. click patch
If the patcher doesn't work, post what you did and what happened as descriptively as possible. If the patcher worked but Minecraft stops working, click the Run Minecraft button on the patcher, and after it stops/crashes/whatever, use the Copy to Clipboard button in the Log window and paste it here.
Well i click to open/run the file and nothing happens at all... thats about as descriptive i can get.
i am also using google chrome if that helps any.
1.1.4 - Added support for tilesets up to 256x256. Added a combo box to change the tile size. Fixed compass location on tilesets higher than 32x32 (Still tiny for now! With 256x256 tilesets you will have to pull it out to use it.)
IMPORTANT:
Animations are not recommended for tilesets 128x128 or bigger. Drawing these pixel by pixel is incredibly slow, so your game will probably lag intensely.
TROUBLESHOOTING:
If something goes wrong, please use the "Run Minecraft" button in the patcher and hit "Copy to Clipboard" on the log window that pops up. Paste the information in this thread or PM me.
LATEST DOWNLOAD:
WINDOWS: https://s3.amazonaws.com/minehax/mcpatcher-1.1.4.exe
EVERYBODY ELSE: https://s3.amazonaws.com/minehax/mcpatcher-1.1.4.jar (run with gui or 'java -jar mcpatcher-1.1.4.jar')
BONUS SCREENSHOT:
I have no idea
Patching class: StillLava (at.class)
Patching class: FlowLava (eg.class)
Patching class: AnimManager (ey.class)
Change constant value 1048576 -> 262144
Update const reference 2 -> 313 - <init>@35
Patching class: FlowWater (ht.class)
Patching class: StillWater (ml.class)
Reading terrain.png...
Patching class: AnimTexture (z.class)
[java, -cp, C:\Users\***\AppData\Roaming\.minecraft\bin/minecraft.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/lwjgl.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/lwjgl_util.jar;C:\Users\***\AppData\Roaming\.minecraft\bin/jinput.jar, -Djava.library.path=C:\Users\***\AppData\Roaming\.minecraft\bin/natives, -Xmx1024M, -Xms512M, net.minecraft.client.Minecraft]
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.minecraft.client.Minecraft. Program will exit.
Exception in thread "main"