Launcher Version: 2.0.808-stage
I'm excited about the new Minecraft Launcher, and I'm hoping to put it to good use.
My goal is simple: run Minecraft from a USB without degrading it with excessive read/writes.
The Gameband does this automagically, but I'm dirt poor, so I made my own using the old Minecraft Launcher.exe
.
My original setup was to set the appdata
folder to a place on my USB so I didn't have to move all of Minecraft's resources and libraries (see this), but all of my profiles targeted C:\Temp\PMC
so that the saves, logs, etc that were constantly being written to were put on a hard drive to preserve the USB.
With the new launcher, it ignores the set appdata
command, so I'm using the --workDir
parameter instead. Then minecraft crashes before I even see the window open (the game, not the launcher). I saw this and it mentioned the --lockDir
argument, so I'm trying to use that.
So far I've been able to make either everything run on the USB (not good for lifespan), or the C:\ drive (not good for copy time, because it's over 100MB on USB 2.0). I'm theorizing that I can use the mklink
command to point the save folder on my USB to the real folder copied onto the C:\ drive, but I'm not sure. Another idea I had involves tweaking a PortableApps Minecraft.
My current code is this:
start "" "%CD%\bin\Minecraft.exe" --workDir "C:\Temp\PMC" --lockDir "%CD%\data\.minecraft"
That puts everything into the C:\ drive.