> General Discussions
Portable Minecraft v1.40
Koolio:
I looked into yesterday.. premium logins with mojang servers are working still, it seems to get a accesstoken fine first time.. but on subsequent tries it gets a 403 forbidden.. I'm thinking this is mojang not accepting multi logins after a short period of time, where official launcher uses some stored session file.. which I don't support in my launcher, might have to fix it properly though.
also found out what was wrong with it not loading up most the jar files compared to the official launcher.. the code wasn't understanding inheritsFrom
in the json file for forge/litemod version like 1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226.json you will have this line:
"inheritsFrom":"1.11.2-forge1.11.2-13.20.0.2226",
which means it needs to load the file "1.11.2-forge1.11.2-13.20.0.2226.json" from the other version folder.. this part was working, however in that file it would have a line like "inheritsFrom":"1.11.2",... which is the base original version of minecraft these this modded versions would be using.. and my launcher didn't ever get past loading the library files from the original.. I guess that level of recursion wasn't expected, still I fixed that .. so now my launcher includes all the same jar files in the commandline as the officiallauncher.. I figure that would get it working, but now its a got different error..
its meant to put the base jar file to load up in the startup as .minecraft\versions\1.11.2\1.11.2.jar ..as it is the last inheritedFrom file... instead it was trying to load this...
\.minecraft\versions\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226.jar
which doesn't exist.. still even after fixing that problem, its now got a totally different error
"---------------------------
Launch Error
---------------------------
Exception in thread "main"
---------------------------
OK
---------------------------
"
and I'm at loss as to what the problem is with it now, as the command line args from my launcher and official are pretty similar now... at least another 30 more jar files more than how it was before.. when it was only loading up the jar files from the 1st/2nd version folders...
--- Code: ---javaw -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -Xmx2048m -Djava.library.path=C:\Users\Koolio\AppData\Roaming\.minecraft\versions\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226-natives -cp C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.6\netty-1.6.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\jna\3.4.0\jna-3.4.0.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.6\jopt-simple-4.6.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.23.Final\netty-all-4.0.23.Final.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\17.0\guava-17.0.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.24\authlib-1.5.24.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.10.16\realms-1.10.16.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\it\unimi\dsi\fastutil\7.0.12_mojang\fastutil-7.0.12_mojang.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.11.2-13.20.0.2226\forge-1.11.2-13.20.0.2226.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\5.0.3\asm-all-5.0.3.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\jline\jline\2.13\jline-2.13.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2.3.3.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\typesafe\config\1.2.1\config-1.2.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-actors-migration_2.11\1.1.0\scala-actors-migration_2.11-1.1.0.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.11.1\scala-compiler-2.11.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-library_2.11\1.0.2\scala-continuations-library_2.11-1.0.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\plugins\scala-continuations-plugin_2.11.1\1.0.2\scala-continuations-plugin_2.11.1-1.0.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.11.1\scala-library-2.11.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-parser-combinators_2.11\1.0.1\scala-parser-combinators_2.11-1.0.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-reflect\2.11.1\scala-reflect-2.11.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-swing_2.11\1.0.1\scala-swing_2.11-1.0.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\libraries\com\mumfrey\liteloader\1.11.2-SNAPSHOT\liteloader-1.11.2-SNAPSHOT.jar;
C:\Users\Koolio\AppData\Roaming\.minecraft\versions\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226.jar net.minecraft.launchwrapper.Launch --tweakClass com.mumfrey.liteloader.launch.LiteLoaderTweaker --username Koolio --version 1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226 --gameDir "C:\Users\Koolio\AppData\Roaming\.minecraft\1.11.2-LiteLoader1.11.2-1.11.2-forge1.11.2-13.20.0.2226" --assetsDir "C:\Users\Koolio\AppData\Roaming\.minecraft\assets" --assetIndex legacy --uuid 27f5240e8e734e889c39c35edfe5cd6a --accessToken 573456fdc6634db38b673eda28388fc9 --userType mojang --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge --width 1280 --height 720
--- End code ---
Notice the uuid and accessToken from premium logins are included so it does work :)
Anyway it will have to wait as I could debugging that for hours and I don't have the time, might look at it next week though, i guess some progress has been made on it either way :) Just a few more fixes away from getting it working again I'm sure now, though looking at the codebase again it really is a mess.. and now I remember why it had abandoned it :)
o0Julia0o:
^^. Uh - wow, o.k. Thank you for deeply looking into it, Koolio!! I think i can´t really help - hm. For me it would be nice, if i could use a forged jar(json, libraries, assets) from another launcher. So it´s portable, in the end with the MCLauncher. I tried all the way told, but - yeah.. the problem seems to be huger.
I would be happy, if you could say more in the next weeks.
o0Julia0o:
Copying this 3 folders into the KZ-Launcher-Folder - and the KZ-Launcher can handle newer versions:
assets
libraries
versions
This is working with Minecraft 1.12.2
I tried the same with Minecraft 1.15.2 and getting this error after trying to launch 1.15.2 out of the KZ-Launcher:
Any chance to get 1.15.2 to work with the KZ-Launcher? THX!
Pepsi87:
This is a bit out of my knowledge zone; however.. did you copy those 3 folders from a java version on you computer correct? And it works with 1.12.2, but not 1.15.2?
Are you coping 1.15.2 folders in the same fashion from an external version, or are you updating them through the launcher?
If so it would seem there are file conflicts, and i've had this kind of same issue years ago when i tried installing tons of mods to my single player worlds haha.
I don't really know German but the error is saying something along the lines of "The object is not set to an instance"
Ill try and replicate the same error to see if I cant help out, meanwhile, try to completely reinstall the launcher; like delete all the files and try it from scratch, going straight to 1.15.2
Koolio:
yeah it used to be possible to use the old mc launcher if you had the official mc launcher to initially create and fetch all the files for things....
alot has changed in the recent mc versions and the launcher just doens't understand some of the json files now, including login detail connection handling...
honestly its just not worth using my launcher for newer mc versions now as it won't work with plugins like Forge either, as they seem to want to download something new each time, so even doing the copy folder tricks won't work to get even the offline mode to startup.
But nice to know someone was still using the launcher for older version.. I still prefere it myself as it was faster and quick to run, but the work involved in making an updated one just isn't worth it for me now so sorry I can't help with that.
Navigation
[0] Message Index
[*] Previous page
Go to full version