Skip to content

Instantly share code, notes, and snippets.

@robot56
Created January 24, 2014 03:26
Show Gist options
  • Save robot56/8591582 to your computer and use it in GitHub Desktop.
Save robot56/8591582 to your computer and use it in GitHub Desktop.
Minecraft 'fix' for OpenGL issues with the Intel 965 Express Chipset Series. Batch script simply "workarounds" the issue by telling the game to ignore Twitch stuff on Windows. Feel free to add on/modify the script.
cd %APPDATA%\.minecraft\versions
::batch is lame, so XCOPY only works upto Win7. robocopy only works WinVista -> Win8; bleh.
xcopy /E /I 1.7.4 1.7.4-fix
::If on Windows 8, uncomment this line:
::robocopy 1.7.4 1.7.4-fix /COPYALL /E
cd 1.7.4-fix
rename 1.7.4.jar 1.7.4-fix.jar
rename 1.7.4.json 1.7.4-fix.jar
echo { >1.7.4-fix.json
echo "id": "1.7.4-fix", >>1.7.4-fix.json
echo "time": "2013-12-12T05:29:58-05:00", >>1.7.4-fix.json
echo "releaseTime": "2013-12-09T07:28:10-05:00", >>1.7.4-fix.json
echo "type": "release", >>1.7.4-fix.json
echo "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex >>1.7.4-fix.json${assets_index_name} --echouuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type}", >>1.7.4-fix.json
echo "libraries": [ >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "java3d:vecmath:1.3.1" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "net.sf.trove4j:trove4j:3.0.3" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.ibm.icu:icu4j-core-mojang:51.2" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "net.sf.jopt-simple:jopt-simple:4.5" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.paulscode:codecjorbis:20101023" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.paulscode:codecwav:20101023" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.paulscode:libraryjavasound:20101123" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.paulscode:librarylwjglopenal:20100824" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.paulscode:soundsystem:20120107" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "io.netty:netty-all:4.0.10.Final" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.google.guava:guava:15.0" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.apache.commons:commons-lang3:3.1" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "commons-io:commons-io:2.4" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "net.java.jinput:jinput:2.0.5" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "net.java.jutils:jutils:1.0.0" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.google.code.gson:gson:2.2.4" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "com.mojang:authlib:1.2" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.apache.logging.log4j:log4j-api:2.0-beta9" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.apache.logging.log4j:log4j-core:2.0-beta9" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20131120" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20131120" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20131120", >>1.7.4-fix.json
echo "natives": { >>1.7.4-fix.json
echo "linux": "natives-linux", >>1.7.4-fix.json
echo "windows": "natives-windows", >>1.7.4-fix.json
echo "osx": "natives-osx" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo "extract": { >>1.7.4-fix.json
echo "exclude": [ >>1.7.4-fix.json
echo "META-INF/" >>1.7.4-fix.json
echo ] >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "net.java.jinput:jinput-platform:2.0.5", >>1.7.4-fix.json
echo "natives": { >>1.7.4-fix.json
echo "linux": "natives-linux", >>1.7.4-fix.json
echo "windows": "natives-windows", >>1.7.4-fix.json
echo "osx": "natives-osx" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo "extract": { >>1.7.4-fix.json
echo "exclude": [ >>1.7.4-fix.json
echo "META-INF/" >>1.7.4-fix.json
echo ] >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "tv.twitch:twitch:5.12" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "tv.twitch:twitch-platform:5.12", >>1.7.4-fix.json
echo "rules": [ >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "action": "disallow" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "action": "disallow", >>1.7.4-fix.json
echo "os": { >>1.7.4-fix.json
echo "name": "linux" >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo ], >>1.7.4-fix.json
echo "natives": { >>1.7.4-fix.json
echo "linux": "natives-linux", >>1.7.4-fix.json
echo "windows": "natives-windows-${arch}", >>1.7.4-fix.json
echo "osx": "natives-osx" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo "extract": { >>1.7.4-fix.json
echo "exclude": [ >>1.7.4-fix.json
echo "META-INF/" >>1.7.4-fix.json
echo ] >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "name": "tv.twitch:twitch-external-platform:4.5", >>1.7.4-fix.json
echo "rules": [ >>1.7.4-fix.json
echo { >>1.7.4-fix.json
echo "action": "disallow", >>1.7.4-fix.json
echo "os": { >>1.7.4-fix.json
echo "name": "windows" >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo ], >>1.7.4-fix.json
echo "natives": { >>1.7.4-fix.json
echo "windows": "natives-windows-${arch}" >>1.7.4-fix.json
echo }, >>1.7.4-fix.json
echo "extract": { >>1.7.4-fix.json
echo "exclude": [ >>1.7.4-fix.json
echo "META-INF/" >>1.7.4-fix.json
echo ] >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo } >>1.7.4-fix.json
echo ], >>1.7.4-fix.json
echo "mainClass": "net.minecraft.client.main.Main", >>1.7.4-fix.json
echo "minimumLauncherVersion": 13, >>1.7.4-fix.json
echo "assets": "1.7.3" >>1.7.4-fix.json
echo } >>1.7.4-fix.json
@UnknownGuy11
Copy link

Where do I paste this command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment