I know how to set the Minecraft offline mode player name via:
Java -Xms512m -Xmx1024m -cp "%APPDATA%\.minecraft\bin\*" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft "MyName"
How do I pass more parameters to the Minecraft jar file? For instance, I would like to pass the directory parameter to the jar.
Also is it possible to make it so that the above line is executed through a Java applet?
Any help is much appreciated :)