LunaPixelStudios / Better-MC

https://lunapixel.studio/discord
https://lunapixel.studio/discord
83 stars 15 forks source link

game crashing on launch #1430

Closed j701411 closed 1 year ago

j701411 commented 1 year ago

Describe the Bug

keep crashing on launch for some reason and getting error code 1

Reproduction Steps

1.launch game 2.crash

Screenshots and Videos

No response

Crash Report or Log

https://pastebin.com/GhZestBu

Operating System

windows 11

Minecraft Version

1.19

Modloader

Forge

Modpack Version

v19

Other Mods

No response

chorbintime commented 1 year ago

Update your GPU drivers, manually, through the vendor's website

j701411 commented 12 months ago

I already tried updating the GPU drivers. I also turned off the hardware acceleration.

Problem only happens with the mod. I can run Minecraft or other mods just fine.

j701411 commented 12 months ago

I already tried updating the GPU drivers. I also turned off the hardware acceleration.

Problem only happens with the mod. I can run Minecraft or other mods just fine.

I already tried updating the GPU drivers. I also turned off the hardware acceleration.

Problem only happens with the mod. I can run Minecraft or other mods just fine.

chorbintime commented 12 months ago

Better MC is not a mod, it is a modpack.

Hardware acceleration has nothing to do with it.

The only reason this happens is due to outdated drivers. You need to update them directly through the vendor's website.

If you're unable to get that to work, do the following:

For users who are experiencing issues with the built-in GLFW, there's a quick and easy solution for you to use the latest, bug-free GLFW that can remedy the solution.

  1. Download a pre-built GLFW library from my repository at https://github.com/Frontear/glfw/releases. Ensure you download the correct file from the desription of the release. You may also compile it yourself, details can be found here: https://www.glfw.org/docs/latest/compile.html
  2. Save the file in a location you can remember and will NOT delete (the file MUST stay there or else it will stop working)
  3. In your launcher, go to the java parameters (this is the place you put your GC arguments), and add -Dorg.lwjgl.glfw.libname="path/to/the/file". If, for example, you downloaded the file in your Downloads (C:\Users\Me\Downloads\glfw3.dll, then your argument would be -Dorg.lwjgl.glfw.libname="C:\Users\Me\Downloads\glfw3.dll")
j701411 commented 11 months ago

Thanks for the comment. I've done all you stated, and none of that still helped.

chorbintime commented 11 months ago

Send a screenshot of your Args section in ATLauncher

j701411 commented 11 months ago

-Xmx8096m -Xms256m -Dminecraft.applet.TargetDirectory="C:\Users\steves\curseforge\minecraft\Instances\Better MC [FORGE] - BMC4" -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -Duser.language=en -Duser.country=US -Dsun.java2d.d3d=false -Dorg.lwjgl.glfw.libname="C:\tmp\glfw3.dll"

image

chorbintime commented 11 months ago

Thats not where you change the args. Do it in the Curseforge launcher itself, and remove any other args that are present.

If the issue persists, retry the same thing on ATLauncher instead

j701411 commented 11 months ago

Same issue... no go.

-Dorg.lwjgl.glfw.libname="C:\tmp\glfw3.dll"

Both launchers...

chorbintime commented 11 months ago

Send a screenshot of your ATLauncher java args

j701411 commented 11 months ago

As an FYI... the GeForce new drivers just came out and I just finished installing them. It still doesn't work.

j701411 commented 11 months ago

image

j701411 commented 11 months ago

hs_err_pid25124.log

j701411 commented 11 months ago

fyi... Even though I am supposed to be using the GeForce Graphics Adapter, apparently it was going to the AMD Processor and Graphics (maybe from your dll file?). In any case, when I upgraded the AMD with the manufacter drivers, it started working.