If you need ModLoader: Install OptiFine AFTER ModLoader.
MCPatcher is NOT needed for HD textures, HD fonts and BetterGrass, they are included in OptiFine.
Install OptiFine without MCPatcher HD features for best performance.
If you absolutely need MCPatcher (HD Textures): Install OptiFine 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".
If you need DynamicLights (ModLoader edition): Install OptiFine 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, MinecraftForge.