So I've been using a portable Minecraft Launcher to play minecraft while at school on my breaks. The Portable Launcher is really just the regular minecraft Launcher being run with a .bat file to make the game put the files onto my external hard drive and not the AppData on the machine as it won't let me (school security measures).
The bat File reads:
@echo off
echo Loading Minecraft...
SET APPDATA=%CD%\data
Start "Minecraft" MinecraftDev.exe
I've been running the 1.5.2 minecraft client using the regular launcher as well as the Dev launcher. when the dev launcher was pre 0.9 I had no issue running it using my Bat file. since its moved to 0.9 (and now 0.9.1) it no longer gets past the launcher itself. When i select a profile and hit play I get this in the dev screen
Launcher 0.9.1 (Dev) (through bootstrap 2) started on windows...
System.getProperty('os.name') == 'Windows 7'
System.getProperty('os.version') == '6.1'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.7.0_11'
System.getProperty('java.vendor') == 'Oracle Corporation'
Going to log in with legacy stored username & password...
Loaded 2 profile(s); selected 'Current Full Release'
Trying to log in...
Delta time to compare resources: 556 ms
Download job 'Resources' skipped as there are no files to download
Job 'Resources' finished successfully
Logged in successfully
Getting syncinfo for selected version
Queueing library & version downloads
Download job 'Version & Libraries' started (8 threads, 1 files)
Finished downloading G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Job 'Version & Libraries' finished successfully
Launching game
Unpacking natives to G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number]
Launching in G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft
Running C:\Program Files\Java\jre7\bin\javaw.exe -Xmx1G -Djava.library.path=G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number] -cp G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.4\jopt-simple-4.4.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2.jar net.minecraft.client.Minecraft (removed my information from this line) --workDir G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft
Couldn't launch game
java.io.IOException: Cannot run program "C:\Program Files\Java\jre7\bin\javaw.exe" (in directory "G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft"): CreateProcess error=267, The directory name is invalid
at java.lang.ProcessBuilder.start(Unknown Source)
at net.minecraft.launcher.process.JavaProcessLauncher.start(JavaProcessLauncher.java:25)
at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:220)
at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:367)
at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:95)
at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 13 more
Deleting G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number]Couldn't get server status
java.net.ConnectException: Connection timed out: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at net.minecraft.launcher.Http.performGet(Http.java:79)
at net.minecraft.launcher.ui.sidebar.StatusPanelForm$1.run(StatusPanelForm.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
all of which when I read it should be working as it finds Java and the Logs in correctly but then losses the Java for some reason after I hit play.
When I switch off the Dev Launcher and back to the regular current launcher it opens and runs just fine (ie: changing the bat file to have Minecraft.exe in place of MinecraftDev.exe). I've never had this issue pre 0.9 and the only thing I see that may be different is that its trying to create a 1.5.2-natives-[instance number] folder which I never saw it create before (maybe it has and I've never noticed it). I've tried posting this to the Mojang guys to see if they can see this as II know I'm not the only one runngin Minecraft Portably, but for some reason "I dont have permissions to submit a problem" which makes no sense to me. Anyone else, running Minecraft Portably, running into this with the Dev consol or am I the only one.
Unpacking natives to G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number]
Launching in G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft
Mine doesn't do that. It unpacks and launches to the same .minecraft directory
You got me... that's coppied directly from the Dev Launcher. If its messing up down the line somewhere I cant see why.
edited: On a side note, I moved my MinecraftPortable folder to that location and it now works... kind of weird though as I havent had my MinecraftPortable in that location for over a year now.
Well to post against myself. "When I moved my MinecraftPortable folder to that location, it now works" if I have the current version of minecraft selected (1.5.2). When I select the snapshot for some reason its looking for the java on my portable hardrive in that same location and not on the machine. Anyone have any ideas?
The new Dev launcher Profiles have individual configurations for the game directory. In order for that to work it has to override the %APPDATA% variable (which must now only be used to get the 'default' value for where the .minecraft will be located).
So try going to the Profile Editor tab and reconfiguring the 'game directory'
Now unfortunatley I have to figure out how the resourse pack works so I can put my custom texturepack to work (in the snapshot) but that isn't related to this so consider this topic closed.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The bat File reads:
@echo off
echo Loading Minecraft...
SET APPDATA=%CD%\data
Start "Minecraft" MinecraftDev.exe
I've been running the 1.5.2 minecraft client using the regular launcher as well as the Dev launcher. when the dev launcher was pre 0.9 I had no issue running it using my Bat file. since its moved to 0.9 (and now 0.9.1) it no longer gets past the launcher itself. When i select a profile and hit play I get this in the dev screen
Launcher 0.9.1 (Dev) (through bootstrap 2) started on windows...
System.getProperty('os.name') == 'Windows 7'
System.getProperty('os.version') == '6.1'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.7.0_11'
System.getProperty('java.vendor') == 'Oracle Corporation'
Going to log in with legacy stored username & password...
Loaded 2 profile(s); selected 'Current Full Release'
Trying to log in...
Delta time to compare resources: 556 ms
Download job 'Resources' skipped as there are no files to download
Job 'Resources' finished successfully
Logged in successfully
Getting syncinfo for selected version
Queueing library & version downloads
Download job 'Version & Libraries' started (8 threads, 1 files)
Finished downloading G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Job 'Version & Libraries' finished successfully
Launching game
Unpacking natives to G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number]
Launching in G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft
Running C:\Program Files\Java\jre7\bin\javaw.exe -Xmx1G -Djava.library.path=G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number] -cp G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.4\jopt-simple-4.4.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2.jar net.minecraft.client.Minecraft (removed my information from this line) --workDir G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft
Couldn't launch game
java.io.IOException: Cannot run program "C:\Program Files\Java\jre7\bin\javaw.exe" (in directory "G:\Drive Space\Documents\Games\MinecraftPortable\data\.minecraft"): CreateProcess error=267, The directory name is invalid
at java.lang.ProcessBuilder.start(Unknown Source)
at net.minecraft.launcher.process.JavaProcessLauncher.start(JavaProcessLauncher.java:25)
at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:220)
at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:367)
at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:95)
at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 13 more
Deleting G:\Drive Space\MinecraftPortable\data\.minecraft\versions\1.5.2\1.5.2-natives-[instance number]Couldn't get server status
java.net.ConnectException: Connection timed out: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at net.minecraft.launcher.Http.performGet(Http.java:79)
at net.minecraft.launcher.ui.sidebar.StatusPanelForm$1.run(StatusPanelForm.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
all of which when I read it should be working as it finds Java and the Logs in correctly but then losses the Java for some reason after I hit play.
When I switch off the Dev Launcher and back to the regular current launcher it opens and runs just fine (ie: changing the bat file to have Minecraft.exe in place of MinecraftDev.exe). I've never had this issue pre 0.9 and the only thing I see that may be different is that its trying to create a 1.5.2-natives-[instance number] folder which I never saw it create before (maybe it has and I've never noticed it). I've tried posting this to the Mojang guys to see if they can see this as II know I'm not the only one runngin Minecraft Portably, but for some reason "I dont have permissions to submit a problem" which makes no sense to me. Anyone else, running Minecraft Portably, running into this with the Dev consol or am I the only one.
Mine doesn't do that. It unpacks and launches to the same .minecraft directory
edited: On a side note, I moved my MinecraftPortable folder to that location and it now works... kind of weird though as I havent had my MinecraftPortable in that location for over a year now.
So try going to the Profile Editor tab and reconfiguring the 'game directory'
Now unfortunatley I have to figure out how the resourse pack works so I can put my custom texturepack to work (in the snapshot) but that isn't related to this so consider this topic closed.