Custom Animations
Minecraft 1.5 and above supports animations for blocks and items (info). OptiFine additionally enables the animation of all other textures.
To create a custom animation for any texture in the game create a ".properties" file in the anim/ folder of your texture pack. In it, supply the source and destination texture, along with coordinates of the area you wish to animate. The following example animates the first painting in kz.png.
- "from" is the location of the custom animation.
- "to" is the texture you wish to animate.
- "x, y, w, h" are the coordinates of the rectangular area of the destination texture.
The source texture should be a vertical strip of separate frames. The width of the source texture should be equal to the value of "w". If not, it will be scaled automatically. You can have many different animations applied to the same texture by creating separate properties files for each. The properties file can also contain tile order and speed information as described above.
Each custom animation may specify its animation speed and frame order.
tile.X=Y
duration.X=Z
X starts at 0 and represents the order you want frames to display in. Y in the tile number in the animation .png file. The first tile is 0, the second is 1, etc. Z is the duration you want that frame displayed, in game ticks (if omitted, duration is assumed to be 1 for that frame). For example, to make an animation with 3 tiles, run on a 5-frame animation with a pause in the middle, the .properties file might look like this:
Just in case you for some reason don't know, this doesn't work any more. Are you ever going to fix animations? You say optifine supports the animation of all textures and many people rely on this feature because mcpatcher doesn't have the performance enhancements. Can you clarify for me if you will ever add this animation feature back?
With OptiFine, this is what my (FeedTheBeast) marble wall looks like. It's flat. You can hardly see where the torches are, because all of the wall has the same brightness.
When I disable OptiFine and load everything else identically, this is what that same wall looks like. There's depth and character to it because of the broader range of brightness in the lighting.
How do I get the best of the OptiFine configurations and FPS boost without losing the broad range of brightnesses in my lighting that for whatever reason OptiFine reduces and flattens?
Thanks for reading,
~Aeredor
Update: I figured it out. It was actually the texture pack, not OptiFine, that had the problem. I renamed environment/lightmap0.png to lightmap0.dontuse, and now the lighting with and without OptiFine are the same.
I donated $10 to get a cape, and I went to see my cape, and it wasn't there. When I went to go see if I even had a cape (on optifine.net) it said "cape not found." Please help! I acutally donated $10, and I would be really unhappy if you guys just scammed me. But I think it was just an error. Please fix it. My minecraft username is: fango7541. Please fix it! I don't want my $10 to go to waste!
Optifine IS compatible with Forge, I've been using both of them as well as other mods on MC 1.6.2 for a while now.
I think he means optifine as a coremod, so that instead of using an installer or manually overwriting files in the jar, you just put a zip file in a folder in the coremods folder. As he said, "like other mods", which usually aren't jar overwrites but just get put into a folder.
I think he means optifine as a coremod, so that instead of using an installer or manually overwriting files in the jar, you just put a zip file in a folder in the coremods folder. As he said, "like other mods", which usually aren't jar overwrites but just get put into a folder.
Actually this is possible. I load optifine as a library using the json file.
You managed to decompile and continue without me giving source code? O_O Bro, you are a god. Of course do whatever the [REDACTED] you want!!!! Good luck on it
It has come to my attention that there have been an overwhelming number of bug reports for buildcraft quarries flickering when optifine is installed, understand that the buildcraft team cant fix the problem because its on your side in some form or another. Even if it is on the bc teams side, they cant fix it because its caused by a change you make to the way minecraft renders the world. Since your mod is closed source, the buildcraft team cant figure out what is changed that causes the issue and thus cant fix it. Buildcraft is open-source if you would like to check it out and try to figure why it and your mod optifine don't seem to play nicely.
I'm not sure if this is fixable or a bug, but my sound seems to randomly die after a minute of entering Minecraft... The only other mod I have on besides Optifine is Modloader and Rei' Minimap, both of which don't affect audio in any way I know of.
I'm not sure if this is fixable or a bug, but my sound seems to randomly die after a minute of entering Minecraft... The only other mod I have on besides Optifine is Modloader and Rei' Minimap, both of which don't affect audio in any way I know of.
I think he means optifine as a coremod, so that instead of using an installer or manually overwriting files in the jar, you just put a zip file in a folder in the coremods folder. As he said, "like other mods", which usually aren't jar overwrites but just get put into a folder.
You are correct. But as of 1.6.2 Forge does not use a core mod folder only a mods folder.
That's why I was hoping the new version of Optifine was going to be more Forge friendly.
This mod is cool but I can't get it to play nice with 512 of Sphax....Crashes on load;anything I can do to fix this?
Are you getting an "ArrayIndexOutofBounds: 1024" error in the crash log? It's a somewhat common issue that's baffling a lot of people; it appears to be that, at least with some setups, Optifine puts a ceiling on the number of texture files (not size-on-disk, but number of .png's) it can handle. (I've reported it several times, waiting on someone to acknowledge they're aware of the problem.)
Rollback Post to RevisionRollBack
Amateur dinosaur hunter and extreme weather enthusiast, whose interests include spoken mime, armchair parkour, tactical gaslighting (for fun or for pay), conspicuous ninjutsu and Schröedinger's pentameter—of which this sentence may or may not be an example.
Please help! I donated $10 and it said my cape couldn't be found!!! Please help! I hope you're not running a scam here, because I donated $10, and I don't want it to go to waste! Please, my minecraft username is: fango7541 . Please help! I know you wouldn't want your $10 to be wasted Please help! I donated $10 and it said my cape couldn't be found!!! Please help! I hope you're not running a scam here, because I donated $10, and I don't want it to go to waste! Please, my minecraft username is: fango7541 . Please help! I know you wouldn't want your $10 to be wasted
I'm about to give up! For the past 2 days I've been trying to get OptiFine and Minecraft Forge to work, but they simply won't work together. I've tried almost everything, but either minecraft won't start or there is some kind of error! Please someone help me!!! BTW I have a mac.
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 8/13/13 6:10 PM
Description: Initializing game
java.lang.NullPointerException
at Config.getResourceManager(Config.java:894)
at net.minecraft.client.gui.FontRenderer.getHdFontLocation(FontRenderer.java:1155)
at net.minecraft.client.gui.FontRenderer.<init>(FontRenderer.java:112)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:468)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at Config.getResourceManager(Config.java:894)
at net.minecraft.client.gui.FontRenderer.getHdFontLocation(FontRenderer.java:1155)
at net.minecraft.client.gui.FontRenderer.<init>(FontRenderer.java:112)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:468)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 44915360 bytes (42 MB) / 88539136 bytes (84 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Launched Version: 1.6.2-Forge9.10.0.789
LWJGL: 2.9.0
OpenGL: GeForce GTX 550 Ti/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Just in case you for some reason don't know, this doesn't work any more. Are you ever going to fix animations? You say optifine supports the animation of all textures and many people rely on this feature because mcpatcher doesn't have the performance enhancements. Can you clarify for me if you will ever add this animation feature back?
Update: I figured it out. It was actually the texture pack, not OptiFine, that had the problem. I renamed environment/lightmap0.png to lightmap0.dontuse, and now the lighting with and without OptiFine are the same.
Patreon
Hold F3 and press S in game.
Yeah, But many Forge mods crash because of Optifine
You are correct. But as of 1.6.2 Forge does not use a core mod folder only a mods folder.
That's why I was hoping the new version of Optifine was going to be more Forge friendly.
Are you getting an "ArrayIndexOutofBounds: 1024" error in the crash log? It's a somewhat common issue that's baffling a lot of people; it appears to be that, at least with some setups, Optifine puts a ceiling on the number of texture files (not size-on-disk, but number of .png's) it can handle. (I've reported it several times, waiting on someone to acknowledge they're aware of the problem.)
// Don't be sad, have a hug! <3
Time: 8/13/13 6:10 PM
Description: Initializing game
java.lang.NullPointerException
at Config.getResourceManager(Config.java:894)
at net.minecraft.client.gui.FontRenderer.getHdFontLocation(FontRenderer.java:1155)
at net.minecraft.client.gui.FontRenderer.<init>(FontRenderer.java:112)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:468)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at Config.getResourceManager(Config.java:894)
at net.minecraft.client.gui.FontRenderer.getHdFontLocation(FontRenderer.java:1155)
at net.minecraft.client.gui.FontRenderer.<init>(FontRenderer.java:112)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:468)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 44915360 bytes (42 MB) / 88539136 bytes (84 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Launched Version: 1.6.2-Forge9.10.0.789
LWJGL: 2.9.0
OpenGL: GeForce GTX 550 Ti/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null