Yes
My earlier post was wrong, sorry, it was launching an old version and I didn't realise.
What you need to do for 1.6.1 is a little more complex.
First, you'll need to launch from the launcher. Assuming Minecraft launches ok, you'll get a load of output in the Development Console. What you need to look for is a line that looks a bit like this (yes, it's very long!):
java -Xmx1G -Djava.library.path=%APPDATA%\.minecraft\versions\1.6.1\1.6.1-natives-10107774015424 -cp %APPDATA%\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;%APPDATA%\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;%APPDATA%\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;%APPDATA%\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;%APPDATA%\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;%APPDATA%\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;%APPDATA%\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;%APPDATA%\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;%APPDATA%\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;%APPDATA%\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;%APPDATA%\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;%APPDATA%\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;%APPDATA%\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;%APPDATA%\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;%APPDATA%\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;%APPDATA%\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;%APPDATA%\.minecraft\versions\1.6.1\1.6.1.jar net.minecraft.client.main.Main --username %YOUR_USERNAME% --session token:%SOME_TOKEN% --version 1.6.1 --gameDir %APPDATA%\.minecraft --assetsDir %APPDATA%\.minecraft\assets
I've edited mine a bit to remove system-specific data, it'll probably start with something like
Running C:\Program Files\Java\jre7\bin\javaw.exe
Close Minecraft, but not the launcher. You will see some lines at the end of the Dev Console that read something like
Game ended with no troubles detected (exit code 0)
Deleting C:\Users\fredley\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-11569750504590
Couldn't delete C:\Users\fredley\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-11569750504590 - scheduling for deletion upon exit
This is obviously a problem! Make a copy of the 1.6.1-natives-11569750504590
folder (just make a copy in the same folder called 1.6.1-natives-backup
in the same folder). Edit your command so that it uses your backup copies (just paste it in a text editor and find-replace 11569750504590
with backup
).
Don't use my command, as it will not work. Account/session data is in the command so you must use your own copy as generated by the launcher.
Copy your entire, edited command (excluding Running
at the start), and save it somewhere. You can then launch from cmd
using this command at any time.
If you want to have an icon to launch Minecraft it's as simple as right-clicking your desktop, selecting New > Shortcut and entering this command as the 'file'.
Fixing this issue is quite simple. It is generally caused by modified keybinds (changing the controls). For some reason, mine seem to change "randomly" a lot, or maybe it is just my little siblings; anyway, here's how to fix it:
- Go to options (either in game or in the main menu) and select "controls"
- The first button is Button 1, AKA the left mouse button (generally used for breaking blocks)
- Ensure that button 1 is set to attack
If all else fails, I'd say you have set your mouse button to = escape some how. If you are using windows, I'd recommend checking out this page: http://windows.microsoft.com/en-au/windows-vista/change-your-keyboard-layout to change your keyboard layout back to default.
Best Answer
OK, I tested a macro for my mouse and for my computer. I boldened the 'my' because I most probable have different system spacs and OS then you do (if you don't have a HP250G3 Laptop with Windows 8.1 and the same applications I have :D )
What it does:
Goes to the desktop, if not already there (moves pointer to the down right corner and clicks),
Doubleclicks the Minecraft Launcher shortcut icon (again, by mouse, even though not needed)
Waits 12 seconds
Presses Enter (More safe is to do this by mouse, what if you acidentally unclick the window)
Instead of hard-wiring this into your computer, use a macro recorder - a program that you run, it sees what you did, then saves it. You can then run it for getting exactly what you did before. For getting a macro recorder, what you could do is check what's on Google. What I found is:
Hope helped!