Pierce01 / MinecraftLauncher-core

Lightweight module that downloads and runs Minecraft using javascript / NodeJS
MIT License
356 stars 81 forks source link

Black microscopic window on custom jar launch #92

Closed Adloya closed 11 months ago

Adloya commented 2 years ago

Hi,

I am creating a client and I started to code a launcher for it in ElectronJS with MLC to start the custom jar. When I start my custom jar with the Minecraft Launcher, it works and the window is displaying fine. But when I start it with MLC, it creates the smallest possible window, and when I resize it, it's just a black window

I can hear the music and when I resize it I see the main menu for a millisecond

I'm not very talented, so it could be an error on my side but I checked everything and It certainly not a error in the jar Also I'm french, sorry for my english and the excessive length of this issue x)

When it's in fullscreen it's just a transparent window that lets me click through it

Here are a couple screenshots :

(First one : What it is supposed to do (Minecraft Launcher)) (Second one : What it does with MLC) (Third : When I resize it)

What it is supposed to do (Minecraft Launcher)

What it does with MLC

When I resize it

Here is the code responsible for starting the game :

let options = {
          authorization:
            msmc
              .getMCLC()
              .getAuth(
                JSON.parse(localStorage.getItem("Microsoft_login"))
                  .authInformation.profile
              ) ||
            JSON.parse(localStorage.getItem("Microsoft_login")).authInformation 
              .profile,
          version: {
            number: "1.8.8",
            custom: "Multistar_Client",
            type: "release",
            arguments: [
              `-Dorg.lwjgl.util.Debug=${launcher_settings.advanced.LWJGL_debug}`, // config file (bool)
            ],
          },
          root: launcher_settings.minecraft.mc_path, // config file (string)
          memory: {
            min: launcher_settings.java.min_ram, // config file (string)
            max: launcher_settings.java.max_ram, // config file (string)
          },
          window: {
            width: launcher_settings.minecraft.res.width, // config file (int)
            height: launcher_settings.minecraft.res.width, // config file (int)
            fullscreen: launcher_settings.minecraft.fullscreen, // config file (bool)
          },
};
console.log("[MULTISTAR] : Starting the game");
launcher.launch(options);

And here are the logs :

[MULTISTAR] : Starting the game
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Using Java version 1.8.0_202 64-bit
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Parsed version from version manifest
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Set native path to C:\Users\marce\AppData\Roaming\.minecraft\natives\1.8.8
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Detected custom in options, setting custom version file
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Collected class paths
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Using ; to separate class paths
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Attempting to download assets
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Downloaded assets
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Set launch options
launcher.js:271 [MULTISTAR] : (debug) [MCLC]: Launching with arguments -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -Djava.library.path=C:\Users\marce\AppData\Roaming\.minecraft\natives\1.8.8 -Xmx4096M -Xms1024M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Dlog4j.configurationFile=log4j2_17-111.xml -cp C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.6\netty-1.6.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.5.2\vecmath-1.5.2.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.6\jopt-simple-4.6.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.15.Final\netty-all-4.0.15.Final.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\17.0\guava-17.0.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.3.2\commons-lang3-3.3.2.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.5.21\authlib-1.5.21.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.6.1\realms-1.6.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-compress\1.8.1\commons-compress-1.8.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.1\lwjgl-2.9.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.1\lwjgl_util-2.9.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.1\lwjgl-platform-2.9.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch\6.5\twitch-6.5.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\tv\twitch\twitch-external-platform\4.5\twitch-external-platform-4.5.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.8.8\netty-1.8.8.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\jna\3.4.0\jna-3.4.0.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\net\java\dev\jna\platform\3.4.0\platform-3.4.0.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.23.Final\netty-all-4.0.23.Final.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\com\mojang\realms\1.7.39\realms-1.7.39.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.4-nightly-20150209\lwjgl-2.9.4-nightly-20150209.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.4-nightly-20150209\lwjgl_util-2.9.4-nightly-20150209.jar;C:\Users\marce\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.4-nightly-20150209\lwjgl-platform-2.9.4-nightly-20150209.jar;C:\Users\marce\AppData\Roaming\.minecraft\versions\Multistar_Client\Multistar_Client.jar net.minecraft.client.main.Main --username Adloya --version 1.8.8 --gameDir C:\Users\marce\AppData\Roaming\.minecraft --assetsDir C:\Users\marce\AppData\Roaming\.minecraft\assets --assetIndex 1.8 --uuid f396492cd32a499bb8c3a90ceaac79fb --accessToken [DON'T WANNA POST ANY TOKENS] --userProperties {} --userType msa --width 1366 --height 1366
 [MULTISTAR] : (data) [22:14:21] [Client thread/INFO]: Setting user: Adloya

 [MULTISTAR] : (data) [22:14:21] [Client thread/INFO]: (Session ID is [I DON'T WANT TO POST ANY TOKENS x)])

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] *** Reflector Forge ***

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.Attributes

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.asm.transformers.BlamingTransformer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.ChunkWatchEvent$UnWatch

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.relauncher.CoreModManager

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.DimensionManager

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Pre

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.GuiScreenEvent$DrawScreenEvent$Post

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.EntityViewRenderEvent$FogColors

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.EventBus

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.eventhandler.Event$Result

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.ExtendedBlockState

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.FMLClientHandler

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.FMLCommonHandler

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.biome.BiomeGenBase.getWaterColorMultiplier

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.addDestroyEffects

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.addHitEffects
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.canCreatureSpawn

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.canRenderInLayer
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.doesSideBlockRendering

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.getBedDirection

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.getExtendedState

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.hasTileEntity
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.isAir

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.isBed
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.isBedFoot
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.block.Block.isSideSolid

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.entity.Entity.canRiderInteract

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Field not present: net.minecraft.entity.Entity.captureDrops
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Field not present: net.minecraft.entity.Entity.capturedDrops

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.entity.Entity.shouldRenderInPass
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.entity.Entity.shouldRiderSit

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.ForgeEventFactory
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeHooks

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ForgeHooksClient

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.Item.getDurabilityForDisplay

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.Item.getModel
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.Item.onEntitySwing

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.Item.shouldCauseReequipAnimation
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.Item.showDurabilityBar

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.item.ItemRecord.getRecordResource
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.ForgeModContainer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.potion.PotionEffect.isCurativeItem

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.tileentity.TileEntity.canRenderBreaking

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.tileentity.TileEntity.getRenderBoundingBox
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.tileentity.TileEntity.hasFastRenderer
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.tileentity.TileEntity.shouldRenderInPass

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.preDrawBatch

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.drawBatch

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.client.renderer.vertex.VertexFormatElement$EnumUsage.preDraw

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.client.renderer.vertex.VertexFormatElement$EnumUsage.postDraw

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.World.countEntities

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.World.getPerWorldStorage

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.WorldProvider.getCloudRenderer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.WorldProvider.getSkyRenderer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Method not present: net.minecraft.world.WorldProvider.getWeatherRenderer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.GuiModList

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.IColoredBakedQuad
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.property.IExtendedBlockState
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.IRenderHandler
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ISmartBlockModel

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.ItemModelMesherForge

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraft.launchwrapper.Launch

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.pipeline.LightUtil

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.common.MinecraftForge

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.MinecraftForgeClient

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.model.ModelLoader

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderBlockOverlayEvent$OverlayType
[22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.registry.RenderingRegistry

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderItemInFrameEvent

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Pre

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Post

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Pre

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.client.event.RenderLivingEvent$Specials$Post

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.SplashProgress

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraftforge.event.world.WorldEvent$Load

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] *** Reflector Vanilla ***

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: [OptiFine] (Reflector) Class not present: optifine.OptiFineClassTransformer

 [MULTISTAR] : (data) [22:14:22] [Client thread/INFO]: LWJGL Version: 2.9.1

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] 

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] OptiFine_1.8.8_HD_U_H8
[22:14:23] [Client thread/INFO]: [OptiFine] Build: null
[22:14:23] [Client thread/INFO]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[22:14:23] [Client thread/INFO]: [OptiFine] Java: 1.8.0_202, Oracle Corporation
[22:14:23] [Client thread/INFO]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] LWJGL: 2.9.1

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] OpenGL: NVIDIA GeForce GTX 960M/PCIe/SSE2, version 4.6.0 NVIDIA 516.59, NVIDIA Corporation

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] OpenGL Version: 4.6.0

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] Maximum texture size: 16384x16384

 [MULTISTAR] : (data) [22:14:23] [Thread-6/INFO]: [OptiFine] Checking for new version

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [Shaders] ShadersMod version: 2.4.12
[22:14:23] [Client thread/INFO]: [Shaders] OpenGL Version: 4.6.0 NVIDIA 516.59

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [Shaders] Vendor:  NVIDIA Corporation
[22:14:23] [Client thread/INFO]: [Shaders] Renderer: NVIDIA GeForce GTX 1680/PCIe/SSE2
[22:14:23] [Client thread/INFO]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  4.0 
[22:14:23] [Client thread/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[22:14:23] [Client thread/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[22:14:23] [Client thread/INFO]: [Shaders] Load ShadersMod configuration.

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [Shaders] No shaderpack loaded.

 [MULTISTAR] : (data) [22:14:23] [Thread-6/INFO]: [OptiFine] Version found: I7

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: Reloading ResourceManager: Default, Shogo 16x

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] *** Reloading textures ***

 [MULTISTAR] : (data) [22:14:23] [Client thread/INFO]: [OptiFine] Resource packs: Shogo 16x

 [MULTISTAR] : (data) If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.

 [MULTISTAR] : (data) [22:14:24] [Client thread/ERROR]: Couldn't initialize twitch stream

 [MULTISTAR] : (data) [22:14:24] [Sound Library Loader/INFO]: Starting up SoundSystem...

 [MULTISTAR] : (data) [22:14:24] [Thread-8/INFO]: Initializing LWJGL OpenAL

 [MULTISTAR] : (data) [22:14:24] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

 [MULTISTAR] : (data) [22:14:24] [Thread-8/INFO]: OpenAL initialized.

 [MULTISTAR] : (data) [22:14:24] [Sound Library Loader/INFO]: Sound engine started

 [MULTISTAR] : (data) [22:14:25] [Client thread/INFO]: [OptiFine] Mipmap levels: 4

 [MULTISTAR] : (data) [22:14:25] [Client thread/INFO]: [OptiFine] Multitexture: false

 [MULTISTAR] : (data) [22:14:25] [Client thread/INFO]: [OptiFine] Multipass connected textures: false

 [MULTISTAR] : (data) [22:14:25] [Client thread/INFO]: [OptiFine] ConnectedTextures: mcpatcher/ctm/default/bookshelf.properties

 [MULTISTAR] : (data) [22:14:25] [Client thread/WARN]: [OptiFine] File not found: mcpatcher/ctm/default/12.png

 [MULTISTAR] : (data) [22:14:25] [Client thread/WARN]: [OptiFine] File not found: mcpatcher/ctm/default/13.png
[22:14:25] [Client thread/WARN]: [OptiFine] File not found: mcpatcher/ctm/default/14.png
[22:14:25] [Client thread/WARN]: [OptiFine] File not found: mcpatcher/ctm/default/15.png

 [MULTISTAR] : (data) [22:14:25] [Client thread/INFO]: [OptiFine] Multipass connected textures: false

 [MULTISTAR] : (data) [22:14:25] [Client thread/ERROR]: Using missing texture, unable to load minecraft:mcpatcher/ctm/default/12.png, java.io.FileNotFoundException

 [MULTISTAR] : (data) [22:14:25] [Client thread/ERROR]: Using missing texture, unable to load minecraft:mcpatcher/ctm/default/15.png, java.io.FileNotFoundException

 [MULTISTAR] : (data) [22:14:25] [Client thread/ERROR]: Using missing texture, unable to load minecraft:mcpatcher/ctm/default/14.png, java.io.FileNotFoundException

 [MULTISTAR] : (data) [22:14:25] [Client thread/ERROR]: Using missing texture, unable to load minecraft:mcpatcher/ctm/default/13.png, java.io.FileNotFoundException

 [MULTISTAR] : (data) [22:14:26] [Client thread/INFO]: Created: 512x512 textures-atlas

 [MULTISTAR] : (data) [MULTISTAR] (DiscordRPC) : RPC Started as Adloya#1873

 [MULTISTAR] : (data) [*] Starting the Multistar Client
[i] Version 0.0.1

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] *** Reloading custom textures ***

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky1.properties
[22:14:48] [Client thread/INFO]: [OptiFine] CustomSky: Texture not found: minecraft:mcpatcher/sky/world0/cloud2.png
[22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky2.properties
[22:14:48] [Client thread/INFO]: [OptiFine] CustomSky: Texture not found: minecraft:mcpatcher/sky/world0/cloud2.png
[22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky3.properties

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky4.properties

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] CustomSky: Texture not found: minecraft:mcpatcher/sky/world0/starfield01.png
[22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky5.properties

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] CustomSky: Texture not found: minecraft:mcpatcher/sky/world0/starfield02.png

 [MULTISTAR] : (data) [22:14:48] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky6.properties

 [MULTISTAR] : (data) [22:14:49] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky7.properties

 [MULTISTAR] : (data) [22:14:49] [Client thread/INFO]: [OptiFine] CustomSky properties: mcpatcher/sky/world0/sky8.properties

 [MULTISTAR] : (data) [22:14:49] [Client thread/INFO]: [OptiFine] Enable face culling: acacia_leaves, birch_leaves, dark_oak_leaves, jungle_leaves, oak_leaves, spruce_leaves
AarushX commented 2 years ago

window: { width: launcher_settings.minecraft.res.width, // config file (int) height: launcher_settings.minecraft.res.width, // config file (int) fullscreen: launcher_settings.minecraft.fullscreen, // config file (bool) },

Are these three entries being set/read correctly?

Adloya commented 2 years ago

Yes they are, I even checked without specifying custom window properties, it still does it I also checked my java installation, that wasn't it either

If you need a screenshot of the values, here is it : image

Pierce01 commented 2 years ago

Hey there, Adloya.

I'm thinking this issue is being caused by either two things: 1) The mojang launcher using another java version that it downloaded itself. I'd recommend using javaPath to point to that bin folder and see what happens. 2) Files are not being downloaded properly, which is usually caused by a malformed version json. Would you be able to post that json file?

Also, I see you have custom arguments. You should be using options.customLaunchArgs for custom args. options.version.arguments is not a valid option and is getting ignored.

Adloya commented 1 year ago

Hey, I checked with multiple java versions (Oracle, Adoptium, OpenJDK/JRE), even with the ones used by the launcher, it didn't change anything.

Thanks for letting me know about the customArgs setting in MCLC

I checked some things in the json file :

Here is the JSON file :

{
    "id": "Multistar_Client",
    "time": "2014-09-02T01:24:35-07:00",
    "releaseTime": "2014-09-02T01:24:35-07:00",
    "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type}",
    "type": "release",
    "libraries": [
      {
        "name": "com.mojang:netty:1.6"
      },
      {
        "name": "java3d:vecmath:1.5.2"
      },
      {
        "name": "net.sf.trove4j:trove4j:3.0.3"
      },
      {
        "name": "com.ibm.icu:icu4j-core-mojang:51.2"
      },
      {
        "name": "net.sf.jopt-simple:jopt-simple:4.6"
      },
      {
        "name": "com.paulscode:codecjorbis:20101023"
      },
      {
        "name": "com.paulscode:codecwav:20101023"
      },
      {
        "name": "com.paulscode:libraryjavasound:20101123"
      },
      {
        "name": "com.paulscode:librarylwjglopenal:20100824"
      },
      {
        "name": "com.paulscode:soundsystem:20120107"
      },
      {
        "name": "io.netty:netty-all:4.0.15.Final"
      },
      {
        "name": "com.google.guava:guava:17.0"
      },
      {
        "name": "org.apache.commons:commons-lang3:3.3.2"
      },
      {
        "name": "commons-io:commons-io:2.4"
      },
      {
        "name": "commons-codec:commons-codec:1.9"
      },
      {
        "name": "net.java.jinput:jinput:2.0.5"
      },
      {
        "name": "net.java.jutils:jutils:1.0.0"
      },
      {
        "name": "com.google.code.gson:gson:2.2.4"
      },
      {
        "name": "com.mojang:authlib:1.5.21"
      },
      {
        "name": "com.mojang:realms:1.6.1"
      },
      {
        "name": "com.mojang:netty:1.6"
      },
      {
        "name": "org.apache.commons:commons-compress:1.8.1"
      },
      {
        "name": "org.apache.httpcomponents:httpclient:4.3.3"
      },
      {
        "name": "commons-logging:commons-logging:1.1.3"
      },
      {
        "name": "org.apache.httpcomponents:httpcore:4.3.2"
      },
      {
        "name": "org.apache.logging.log4j:log4j-api:2.0-beta9"
      },
      {
        "name": "org.apache.logging.log4j:log4j-core:2.0-beta9"
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl:2.9.1",
        "rules": [
          {
            "action": "allow"
          },
          {
            "action": "disallow",
            "os": {
              "name": "osx"
            }
          }
        ]
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1",
        "rules": [
          {
            "action": "allow"
          },
          {
            "action": "disallow",
            "os": {
              "name": "osx"
            }
          }
        ]
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1",
        "rules": [
          {
            "action": "allow"
          },
          {
            "action": "disallow",
            "os": {
              "name": "osx"
            }
          }
        ],
        "natives": {
          "linux": "natives-linux",
          "windows": "natives-windows",
          "osx": "natives-osx"
        },
        "extract": {
          "exclude": [
            "META-INF/"
          ]
        }
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl:2.9.2-nightly-20140822",
        "rules": [
          {
            "action": "allow",
            "os": {
              "name": "osx"
            }
          }
        ]
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.2-nightly-20140822",
        "rules": [
          {
            "action": "allow",
            "os": {
              "name": "osx"
            }
          }
        ]
      },
      {
        "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.2-nightly-20140822",
        "rules": [
          {
            "action": "allow",
            "os": {
              "name": "osx"
            }
          }
        ],
        "natives": {
          "linux": "natives-linux",
          "windows": "natives-windows",
          "osx": "natives-osx"
        },
        "extract": {
          "exclude": [
            "META-INF/"
          ]
        }
      },
      {
        "name": "net.java.jinput:jinput-platform:2.0.5",
        "natives": {
          "linux": "natives-linux",
          "windows": "natives-windows",
          "osx": "natives-osx"
        },
        "extract": {
          "exclude": [
            "META-INF/"
          ]
        }
      },
      {
        "name": "tv.twitch:twitch:6.5"
      },
      {
        "name": "tv.twitch:twitch-platform:6.5",
        "rules": [
          {
            "action": "allow"
          },
          {
            "action": "disallow",
            "os": {
              "name": "linux"
            }
          }
        ],
        "natives": {
          "linux": "natives-linux",
          "windows": "natives-windows-${arch}",
          "osx": "natives-osx"
        },
        "extract": {
          "exclude": [
            "META-INF/"
          ]
        }
      },
      {
        "name": "tv.twitch:twitch-external-platform:4.5",
        "rules": [
          {
            "action": "allow",
            "os": {
              "name": "windows"
            }
          }
        ],
        "natives": {
          "windows": "natives-windows-${arch}"
        },
        "extract": {
          "exclude": [
            "META-INF/"
          ]
        }
      }
    ],
    "mainClass": "net.minecraft.client.main.Main",
    "minimumLauncherVersion": 14,
    "assets": "1.8"
  }
kirillsaint commented 1 year ago

change version from 1.8.8 to 1.8

Adloya commented 11 months ago

change version from 1.8.8 to 1.8

I won't lie, I've forgotten about all of this ! This solution works for me, tysm ! I'll try to continue my things !