Launcher 1.4.1: "Auto-Maximized" is broken

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

OronDF343

New Member
Jul 29, 2019
34
0
0
The new version of the launcher no longer automatically maximizes the minecraft window (tested with Monster 1.1.2).
 

ayhlanne

New Member
Jul 29, 2019
1
0
0
The newest version somehow breaks the resolution of the starting Minecraft screen. I have two screens and it somehow decided on its own to take up the resolution of both my screens combined and show only half a startup screen. This did not happen with previous versions (problems started with 1.4.0). Tweaking the advanced options (including auto-maximize) does not seem to have an effect.
 

Leonexis

New Member
Jul 29, 2019
10
0
0
On Linux (specifically, Ubuntu 14.04 64bit w/ Unity, Java 7u65 (webupd8), AMD FX-8320 8-core w/ 16GB DDR3, Gallium 0.4 driver on AMD RS780, two monitors [1:1080p, 2:1280x1024]), the broken Auto Maximize in FTB Launcher 1.4.3 actually causes the Minecraft launch wrapper to crash as the FTB launcher provides a negative number. Specifically, log from Minecraft with all mods disabled:

Code:
/home/leonexis/Downloads/FTB/MinecraftLog.txt: written by FTB Launcher
Jul 21, 2014 3:52:26 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Jul 21, 2014 3:52:26 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Jul 21, 2014 3:52:26 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_65, running on Linux:amd64:3.13.0-30-generic, installed at /usr/lib/jvm/java-7-oracle/jre
2014-07-21 15:52:26 [WARNING] [ForgeModLoader] The coremod codechicken.core.launch.DepLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2014-07-21 15:52:26 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-07-21 15:52:26 [INFO] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2014-07-21 15:52:28 [INFO] [ForgeModLoader] Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
2014-07-21 15:52:28 [INFO] [ForgeModLoader] Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
2014-07-21 15:52:28 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-07-21 15:52:28 [INFO] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
2014-07-21 15:52:28 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2014-07-21 15:52:29 [INFO] [STDERR] Warning: version of CodeChickenLib-universal-1.6.4-, 1.0.0.62 is newer than request 1.0.0.43
2014-07-21 15:52:29 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
2014-07-21 15:52:29 [INFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2014-07-21 15:52:30 [SEVERE] [ForgeModLoader] Unable to launch
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: joptsimple.OptionArgumentConversionException: Cannot convert argument '' of option ['width'] to class java.lang.Integer
        at joptsimple.AbstractOptionSpec.convertWith(AbstractOptionSpec.java:94)
        at joptsimple.ArgumentAcceptingOptionSpec.convert(ArgumentAcceptingOptionSpec.java:276)
        at joptsimple.OptionSet.valuesOf(OptionSet.java:222)
        at joptsimple.OptionSet.valueOf(OptionSet.java:171)
        at net.minecraft.client.main.Main.main(SourceFile:70)
        ... 6 more
Caused by: joptsimple.internal.ReflectionException: java.lang.NumberFormatException: For input string: ""
        at joptsimple.internal.Reflection.reflectionException(Reflection.java:140)
        at joptsimple.internal.Reflection.invoke(Reflection.java:122)
        at joptsimple.internal.MethodInvokingValueConverter.convert(MethodInvokingValueConverter.java:48)
        at joptsimple.internal.Reflection.convertWith(Reflection.java:128)
        at joptsimple.AbstractOptionSpec.convertWith(AbstractOptionSpec.java:91)
        ... 10 more

It took me forever to figure out, but I found the command used to run Minecraft from the FTB launcher (token information removed, formatted for some cleanness):

Code:
/usr/lib/jvm/java-7-oracle/jre/bin/java
-Xms256M -Xmx2048M -XX:PermSize=256m
-Djava.library.path=/home/leonexis/Downloads/FTB/FTBLite2/natives
-Dorg.lwjgl.librarypath=/home/leonexis/Downloads/FTB/FTBLite2/natives
-Dnet.java.games.input.librarypath=/home/leonexis/Downloads/FTB/FTBLite2/natives
-Duser.home=/home/leonexis/Downloads/FTB/FTBLite2 -Djava.net.preferIPv4Stack=true
-cp :/home/leonexis/Downloads/FTB/libraries/net/minecraftforge/minecraftforge/9.11.1.965/minecraftforge-9.11.1.965.jar:/home/leonexis/Downloads/FTB/libraries/net/minecraft/launchwrapper/1.8/launchwrapper-1.8.jar:/home/leonexis/Downloads/FTB/libraries/org/ow2/asm/asm-all/4.1/asm-all-4.1.jar:/home/leonexis/Downloads/FTB/libraries/org/scala-lang/scala-library/2.10.2/scala-library-2.10.2.jar:/home/leonexis/Downloads/FTB/libraries/org/scala-lang/scala-compiler/2.10.2/scala-compiler-2.10.2.jar:/home/leonexis/Downloads/FTB/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/leonexis/Downloads/FTB/versions/1.6.4/1.6.4.jar:/home/leonexis/Downloads/FTB/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar:/home/leonexis/Downloads/FTB/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/leonexis/Downloads/FTB/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/leonexis/Downloads/FTB/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/leonexis/Downloads/FTB/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/leonexis/Downloads/FTB/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/leonexis/Downloads/FTB/libraries/argo/argo/2.25_fixed/argo-.25_fixed.jar:/home/leonexis/Downloads/FTB/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar:/home/leonexis/Downloads/FTB/libraries/com/google/guava/guava/14.0/guava-14.0.jar:/home/leonexis/Downloads/FTB/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/home/leonexis/Downloads/FTB/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/leonexis/Downloads/FTB/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/leonexis/Downloads/FTB/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/leonexis/Downloads/FTB/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar:/home/leonexis/Downloads/FTB/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar:/home/leonexis/Downloads/FTB/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar:/home/leonexis/Downloads/FTB/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.1/lwjgl-platform-2.9.1.jar:/home/leonexis/Downloads/FTB/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5.jar net.minecraft.launchwrapper.Launch
--username leonexis --session token:xxx --version 1.6.4
--gameDir /home/leonexis/Downloads/FTB/FTBLite2/minecraft
--assetsDir /home/leonexis/Downloads/FTB/assets/virtual/legacy
--tweakClass cpw.mods.fml.common.launcher.FMLTweaker
--width -689 --height 1000

The issue is near last part of the command: "--width -689". For some reason, it caused the NumberFormatException. Disabling Auto Maximize fixed this issue.

HTH
-Leo
 

Taladan

Member
Jul 29, 2019
54
0
16
The issue is near last part of the command: "--width -689". For some reason, it caused the NumberFormatException. Disabling Auto Maximize fixed this issue.

HTH
-Leo

Can confirm. Ubuntu 14.04 running newest version of the launcher (1.4.3) Auto maximised is borked. When I unchecked it, ftb started up just fine.
 

A2000

New Member
Jul 29, 2019
28
0
0
Launcher 1.4.3 in Windows 7, Maximized doen't work, and the Maximize button doesn't work at all.

Any workaround or way to fix it?