• 0

    posted a message on OptiFine HD (FPS Boost, Dynamic Lights, Shaders and much more)
    Quote from sp614x

    Hello everybody,

    OptiFog 1.7.3_HD_E
    (includes support for HD textures, HD fonts and BetterGrass, MCPatcher not needed)

    this mod adds a lot of options for better looks and performance. Doubling the FPS is common.
    Moves fog away, adds mipmaps, chunk loading control (mod CAF), Smooth FPS, brightness control, VSync and many other.

    Download OptiFog + Optimine 1.7.3_HD_E (compatible with DynamicLights, added: FarView and ChunkUpdates): Download 1, Download 2

    Older versions:
    Download OptiFog + Optimine 1.7.3_HD_D (added descriptions for the main options, bugfixes): Download 1, Download 2
    Download OptiFog + Optimine 1.7.3_HD_C (fixed BetterGrass, options Sky and Stars): Download 1, Download 2
    Download OptiFog + Optimine 1.7.3_HD_B (fine tuned Advanced OpenGL, +30% FPS possible): Download 1, Download 2
    Download OptiFog + Optimine 1.7.3_HD_A (added 2-pass water rendering, option weather, dynamic water and lava): Download 1, Download 2
    Download OptiFog + Optimine 1.7.3_HD (faster Smooth FPS): Download 1, Download 2

    OptiFog 1.7.3_HD_E_MT
    (multithreaded with background chunk loading, uses second core on dualcore CPU-s)

    On single core CPU: FPS much smoother, no more stuttering and freezes. No lag spikes on sunrise/sunset.
    On dual core CPU: even better, chunk loading affects only minimally the FPS.

    Please test and report back. If you encounter a problem post the error or log file so that it can be fixed. Check for "hs_err_pidXXXX.log" in the Minecraft directory.

    This version puts much more load on the CPU, GPU and the graphic driver, so be sure to use updated graphic drivers. If there is a problem which persist and can not be fixed, then you can switch to the classic version which is more stable.


    Download OptiFog + Optimine 1.7.3_HD_E_MT (compatible with DynamicLights, added: FarView and ChunkUpdates): Download 1, Download 2

    Older versions:
    Download OptiFog + Optimine 1.7.3_HD_D_MT2 (multithreaded, background chunk loading): Download 1, Download 2
    If the Adf.ly link redirects you to a survey just click "Back" and as soon as it loads the real Adf.ly page click "Stop" and then reload the page.

    If you need ModLoader: Install OptiFog AFTER ModLoader.
    If you need MCPatcher (HD Textures): Install OptiFog without the "ji.class" (the mipmaps and fog distance will not be active). For HD fonts install without the "sj.class". For BetterGrass install without "cv.class". Note that MCPatcher is NOT needed for HD textures, HD fonts and BetterGrass, they are included in OptiFog.
    If you need DynamicLights (ModLoader edition): Install OptiFog AFTER DynamicLights.
    Compatible with: ModLoader, SinglePlayerCommands, TooManyItems, PlasticCraft, CJB's Modpack, Zan's Minimap, Rei's Minimap, DynamicLights, The Aether and many other.
    Not compatible with: GSLS Shaders, MinecraftExtended.

    Optimine 1.7.3
    This mod improves FPS, especially for slower computers. Gains of 20FPS and more are common. Originally by Scaevolus.

    Download Optimine 1.7.3 (ported to 1.7.3): Download 1, Download 2

    The standalone OptiMine and OptiFog are not compatible with each other, use the combined version.

    Lag Spike of Death 1.7.3
    (included in OptiFog and Optimine)
    This fixes the annoying Lag Spike of Death, for more info: http://www.minecraftforum.net/topic/358054-minecraft-lag-spike-of-death-and-other-gamebreaking-bugs/

    Download LagSpikeOfDeath 1.7.3 (included in OptiFog and Optimine): Download 1, Download 2

    You can follow the OptiFog development here: http://optifog.blogspot.com/

    If you have found OptiFog or this post helpful, please donate to show your support. I really appreciate it.



    --.

    Installation

    Windows/Linux Instructions:
    1) Locate your minecraft.jar file. On Windows, it's in %APPDATA%/.minecraft/bin
    2) Create a backup of minecraft.jar
    3) Open minecraft.jar in an archive editor (WinRar/7-Zip/etc)
    4) Delete the META-INF folder.
    5) Copy the .class files from the downloaded zip file into the jar file, replacing previous files.
    6) Run Minecraft and test!

    Mac Instructions:
    1) Locate your minecraft.jar file. On Mac, it's in <home>/Library/Application Support/minecraft/bin
    2) Create a backup of minecraft.jar
    3) rename minecraft.jar to minecraft.zip and double-click it to extract the contents
    4) rename the resulting folder to minecraft.jar and open it
    5) copy the .class files from the downloaded zip into the minecraft.jar folder, replacing previous files
    6) Run Minecraft and test!

    Please test and report back, include CPU, GPU and FPS before/after. Feedback is always welcome.

    TODO:

    This is a list of the things which probably might get fixed some day or not at all:
    (there is no special order or priority)
    - Option to disable nights, permanent day
    - More fog when raining/snowing - option
    - Fix onTick() performance - option worldUpdateDistance
    - Faster TNT explosions - 100 exploding TNTs should not lag that much
    - Handheld items rendering
    - Compatibility with Minecraft Extended
    - LSOD compatible with Minecraft Extended
    - Compatibility with ZipLine
    - One-click setup
    - Crystal Clear Water

    Older Versions


    OptiFog 1.7.2_HD_C
    (supports HD textures and HD fonts, MCPatcher not needed)

    Download OptiFog + Optimine 1.7.2_HD_C (added support for HD fonts): Download 1, Download 2
    Download OptiFog + Optimine 1.7.2_HD_B (fixed ModLoader compatibility): Download 1, Download 2
    Download OptiFog + Optimine 1.7.2_HD_A (restored BetterGrass, SmoothLighting): Download 1, Download 2
    Download OptiFog + Optimine 1.7.2_HD (added Animated Redstone, Explode, Flame and Smoke): Download 1, Download 2

    Optimine 1.7.2_A
    This mod improves FPS, especially for slower computers. Gains of 20FPS and more are common. Originally by Scaevolus.

    Download Optimine 1.7.2_A (added fix for Lag Spike of Death): Download 1, Download 2
    Download Optimine 1.7.2 (port of Optimine 1.6.6_B ): Download 1, Download 2

    The standalone OptiMine and OptiFog are not compatible with each other, use the combined version.

    Lag Spike of Death 1.7.2
    (included in OptiFog and Optimine)
    This fixes the annoying Lag Spike of Death, for more info: http://www.minecraftforum.net/topic/358054-minecraft-lag-spike-of-death-and-other-gamebreaking-bugs/

    Download LagSpikeOfDeath 1.7.2 (included in OptiFog and Optimine): Download 1, Download 2

    Vote results "Best FPS 1.6.6":
    83% - OptiFog + Optimine = 1135 votes
    4% - OptiFog = 52 votes
    5% - Optimine A = 71 votes
    3% - Optimine (classic) = 33 votes
    5% - Other (Vanilla) = 74 votes

    OptiFog 1.6.6_F_HD
    (supports HD textures, MCPatcher not needed)
    Download OptiFog + Optimine 1.6.6_F_HD (fixed LagSpikeOfDeath, added BetterGrass, fixed ModLoader textures): Download 1, Download 2
    Download OptiFog + Optimine 1.6.6_E1_HD (fixed HD water and lava, configurable Smooth Lighting, fast Debug Info): Download 1, Download 2
    Download OptiFog + Optimine 1.6.6_D_HD (HD textures, MCPatcher not needed): Download 1, Download 2
    Download OptiFog + Optimine 1.6.6_C (configurable clouds height, trees, grass, rain): Download 1, Download 2
    Download OptiFog + Optimine 1.6.6_B (fixed Nether light levels): Download 1, Download 2
    Download OptiFog + Optimine 1.6.6_A (Java 1.5, Mac OSX): Download 1
    Download OptiFog + Optimine 1.6.6 (best FPS): Download 1, Download 2, Download 3
    Download OptiFog 1.6.6_F_HD (HD textures, BetterGrass, better SmoothLighting and more): Download 1, Download 2
    Download OptiFog 1.6.6_C (clouds height, trees, grass, rain, fixed light levels): Download 1, Download 2
    Download OptiFog 1.6.6 (similar to 1.5_01_F): Download 1, Download 2
    Download OptiFog 1.6.5 (older, similar to 1.5_01_F): Download

    Optimine 1.6.6_B
    This mod improves FPS, especially for slower computers. Gains of 20FPS and more are common.

    Download Optimine 1.6.6_B (Java 1.5, Mac OSX): Download 1, Download 2
    Download Optimine 1.6.6_A (a bit faster, no rotate lag): Download 1, Download 2, Download 3
    Download Optimine 1.6.6 (classic, port of 1.3): Download 1, Download 2
    Download Optimine 1.6.5_A (older, a bit faster, no rotate lag): Download
    Download Optimine 1.6.5 (older, classic, port of 1.3): Download

    Fix for the Lag Spikes of Death 1.6.6
    (included in OptiFog_1.6.6_F_HD and later)
    This fixes the annoying Lag Spikes of Death, for more info: http://www.minecraftforum.net/topic/358054-minecraft-lag-spike-of-death-and-other-gamebreaking-bugs/

    Download LagSpikesOfDeath_Fix 1.6.6 (compatible with OptiFog and Optimine): Download 1, Download 2

    The Optimine classic is a port of Optimine 1.3 by Scaevolus.

    Vote results "Best FPS 1.5_01":
    80% - OptiFog_1.5_01_E_om + Optimine = 153 votes
    6% - OptiFog_1.5_01_E_om = 11 votes
    8% - OptiFog_1.5_01_E = 16 votes
    6% - Other (Vanilla) = 11 votes

    OptiFog 1.5_01_F
    (ModLoader and Optimine compatible, added Smooth FPS, Brightness and VSync, fixed flickering blue blocks).

    Changes (from 1.4_01):
    - General speedup 10-20%
    - Occlusion Culling without visual artifacts (Advanced OpenGL)
    - Mipmapping fixed, linear works without an alpha filter
    - Options moved to video settings screen (no more config file)
    - Fixed bug in PreloadedChunks
    - Added FAST OcclusionCulling (almost no artifacts visible)
    - Turned ON dynamic updates: when the player does not move loads 3 chunks per frame, when moving 1 chunk per frame.
    - Removed not needed classes, renamed back some fields. Should help with mod compatibility.
    - AdvancedOpenGL and FogType can only be turned on when supported by the hardware.
    - Now works with ModLoader
    - Now works with Optimine. Install OptiFog AFTER Optimine.
    - Fixed lag spikes on sunrise/sunset and flickering blue blocks
    - Added Smooth FPS - fixes sporadic FPS spikes and stutter, stabilzes framerate
    - Added Brightness - lifts up shadow brightness, allows to see clearly at night
    - New "Limit Framerate" option: VSync

    For Optimine: Install OptiFog AFTER Optimine.
    For ModLoader: Install OptiFog AFTER ModLoader.
    For MCPatcher (HD Textures): Install OptiFog without the "ip.class" (the mipmaps and fog distance will not be active).
    Compatible with: SinglePlayerCommands, TooManyItems, PlasticCraft, CJB's Modpack, Zan's Minimap.
    Not compatible with: GSLS Shaders, DynamicLights.

    Download version 1.5_01_F_OM (Optimine compatible): Download 1, Download 2
    Download version 1.5_01_F (NOT Optimine compatible, but may be faster): Download 1, Download 2

    Download version 1.5_01_E_om (old, Optimine compatible): Download 1, Download 2
    Download version 1.5_01_E (old, NOT Optimine compatible, but may be faster): Download 1, Download 2
    Version 1.5_01_D (older, Optimine compatible): Download 1, Download 2
    Version 1.5_01_C (older, not Optimine compatible, but may be faster): Download 1, Download 2

    For maximum FPS use:
    - Graphics: Fast
    - Render Distance: Short/Tiny
    - Fog: Fast
    - AdvancedOpenGL: Fast

    Options:
    - AdvancedOpenGL: Occlusion Culling, the game renders only the geometry which is really visible.
    OFF - all geometry is rendered (slow)
    Fast - agressive, may produce minimal artifacts (but much less than the default Minecraft OC)
    Fancy - conservative, should have no artifacts
    - Fog: Select fog type if supported by the GPU
    Fast - faster, simpler fog
    Fancy - slower, better looking fog
    - FogStart: Select fog start distance
    Min = 0.2 (close to player)
    Max = 0.8 (far from player, near to render limits)
    - Mipmap Level: how many levels of mipmaps are to be used, decreases the flickering of distant objects, should not affect FPS
    Min = 0 - no mipmaps, Minecraft default look
    Max = 4 - full mipmaps, some detail may disappear in distant objects
    - Mipmap Type: type of mipmaps, minimal FPS effect if any at all
    Nearest - faster
    Linear - better looking
    - Load Far: Enables fast render distance switching without reloading chunks, loads all the terrain at distance Far
    - PreloadedChunks: Enables movment in an area without loading new chunks
    Min = 0 - no preloading, after moving 5m new chunks will be loaded (default)
    Max = 8 - preload 8 chunks, when moving up to 8 chunks (8 x 16m = 128m) no new chunks will be loaded
    Bigger values force more chunks to be loaded at startup, which may take some time

    Even Older Versions


    Version 1.5_01_B (older): Download 1, Download 2
    Prototype 1.5_01 (even older): Download 1, Download 2.

    *** UPDATED - Added experimental Occlusion Culling (hidden geometry removal) ***
    *** UPDATED - Optimine compatible (fixed Nether bug) ***
    *** UPDATED - Added texture mipmapping (finally looking good) ***
    *** UPDATED - Added chunk loading optimizations (like mod CAF) ***
    *** UPDATED - Modular and configurable (install only what you need, configure it as you like it) ***
    *** UPDATED - ALL rendering bugs fixed, added dynamic chunk update rate ***

    FPS comparison on FANCY:
                     Far  Normal   Short    Tiny
    Plain 1.4_01       8      16      55     155
    OptiFog            9      18      58     164
    OptiFog_Exp       18      33      82     145                   


    FPS comparison on FAST:
                     Far  Normal   Short    Tiny
    Plain 1.4_01       9      18      59     175
    OptiFog           12      28     100     240
    OptiFog_Exp       27      50     117     210


    The default fog settings in Minecraft are quite bad.
    On all distance settings except FAR the game looks foggy with washed-out colors, especially bad on tiny/short.
    It may be moody for winter biomes, but irritates everywhere else.
    Also Optimine for 1.4_01 was not really working for me, so I decided to fix the problem myself.

    What the mod does:
    1. Pushes the fog away from the player so that it is only visible as transition on the render limits => looks better
    2. Uses a fast fog type on FAST and a better looking fog type on FANCY settings => FPS boost
    3. Decreases the render distance a little to get the same visible depth as before. On FAST decreases it even more to compensate for bad fog on screen edges => FPS boost
    4. Added experimental Occlussion Culling (hidden geometry removal) so only visible objects are rendered. Helps a lot on bigger render distances, on FAR and NORMAL doubles the FPS.
    5. Added Optimine compatible versions (both "inio" and "303" versions of Optimine).
    6. Added Texture mipmapping - far distances blend nicely, no more eyestrain.
    7. Added chunk loading optimizations, like mod CAF. Configure how much chunks are to be loaded and how fast, define "loading free" walking distance, limit max number of loaded chunks, fast render distance switching without reloading chunks.
    8. Modular and configurable. Install only the functions you need. Edit configuration file to turn on/off functions or change parameters. See "Readme.txt" and "optifog.txt" for details.

    The original fog starts too close to the player and everything is rendered foggy, especially on short render distances. After correcting the fog more terrain is visible, which is compensated by decreasing the render distance which increases FPS. Plain 1.4_01 always uses the better looking fog type if available, which is SLOW. The mod uses a faster fog type on FAST which is 80% faster on my PC.

    The Occlusion Culling (hidden geometry removal) is still experimental. If it is works then the results should be pretty dramatic, my FPS on NORMAL and FAR is doubled :-). OC is currently tested on nVidia. I suspect that some ATI cards may have problems with it. Please, check for visual artifacts and report back.

    The Optimine version was a dog to get running, but it is all over. Finally!

    Classic is updated to better render the sunrise/sunset on FAST.

    The mipmapping version may steal 2-3 FPS but the result is nice. Minecraft is finally looking good.

    The chunk loading optimizations allow to fine tune the chunk loading so that is does not get in the way. Also fast render distance switching without chunk reloading is possible (like mod CAF).
    Added dynamic chunk update rate. When the player is staying still it uses fast update rate to load the map faster, when the player is moving (movement, mouse, actions) uses minimal update rate to keep the FPS high.

    See "Readme.txt" and "optifog.txt" for more details.

    With the fog away, even shorter render distances look good and are playable.

    Standalone versions (1.4_01):

    OptiFog Full (includes classic, experimental OC and mipmap)
    Download: adf.ly, direct
    Alternative download: adf.ly, direct

    OptiFog (classic)
    Download: http://www.2shared.com/file/ARdFtvLu/OptiFog_14_01_B.html
    Alternative download: http://www.mediafire.com/?bvi1zxlqrussamo

    OptiFog Experimental (OC)
    Download: http://www.2shared.com/file/J_9H4d29/OptiFog_14_01_Exp_B.html
    Alternative download: http://www.mediafire.com/?32c4u943p65340b

    OptiFog Experimental MM (OC + mipmap)
    Download: http://www.2shared.com/file/r68choUH/OptiFog_14_01_Exp_mm.html
    Alternative download: http://www.mediafire.com/?3g809bbml2bls8i

    Optimine compatible versions (1.4_01)
    These will ONLY work if installed after Optimine 1.4_01. Not to be used standalone.
    The Nether bug is fixed

    OptiFog (classic)
    Download: http://www.2shared.com/file/IZ3CDSeh/OptiFog_14_01_Optimine_B.html
    Alternative download: http://www.mediafire.com/?aaxt7uka26qtcxa

    OptiFog Experimental (OC)
    Download: http://www.2shared.com/file/aMoekIEI/OptiFog_14_01_Exp_Optimine_B.html
    Alternative download: http://www.mediafire.com/?asga72fbcv3a551


    Tips and tricks:

    1. Download the latest Java 7 builds from here: http://download.java.net/jdk7/. Minecraft should run much smoother with less lag spikes. It really helps.
    2. Set the Java process to higher priority
    3. Set "Limit framerate" to Max FPS. The limiter is badly implemented and will always decrease the FPS.
    4. Lauch Minecraft with less memory (yes, really). It needs maximum 256 MB and runs fine on all settings with the default texture pack. By default java allocates insane amounts of memory (1GB?) which then gets swapped to disk and the overall performance suffers a lot. I use a custom launcher to do this, here is the CMD file:
    set APPDATA=C:\Minecraft
    start /high javaw -Xmx256M -Djava.library.path=bin/natives -cp bin/minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar net.minecraft.client.Minecraft <username> <password>

    The first line points to the minecraft installation, so you can install Minecraft anywhere. Remove it if you run from the default directory.
    The CMD file have to be in the minecraft directory (for example: %APPDATA%/.minecraft) in order to work.

    Fog Control Examples



    Distance: Normal

    Plain 1.4_01, Fast



    OptiFog, Fancy



    OptiFog, Fast




    Distance: Short

    Plain 1.4_01, Fast



    OptiFog, Fancy



    OptiFog, Fast




    Distance: Tiny

    Plain 1.4_01, Fast



    OptiFog, Fancy



    OptiFog, Fast




    "4. Lauch Minecraft with less memory (yes, really). It needs maximum 256 MB and runs fine on all settings with the default texture pack. By default java allocates insane amounts of memory (1GB?) which then gets swapped to disk and the overall performance suffers a lot. I use a custom launcher to do this, here is the CMD file:
    set APPDATA=C:\Minecraft
    start /high javaw -Xmx256M -Djava.library.path=bin/natives -cp bin/minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar net.minecraft.client.Minecraft <username> <password>

    The first line points to the minecraft installation, so you can install Minecraft anywhere. Remove it if you run from the default directory.
    The CMD file have to be in the minecraft directory (for example: %APPDATA%/.minecraft) in order to work.
    "
    This is the part that i dont understand. if someone could please explain to me how to do this i would greatly appreciate it, i just cant seem to figure it out.
    Posted in: Minecraft Mods
  • To post a comment, please .