#game crashes when i try to update

71 messages · Page 1 of 1 (latest)

river loom
#

when ever i tried to update, the update will finish then the game will just crash. also can't seem to download skins.

shy niche
#

After you update, the game crashes every time you run forge-adventure? Do you have a stack trace of the crash when trying to open? Or a forge log?

river loom
#

it's forge adventure that i try to update, yes

shy niche
#

That log unfortunately doesn't tell me anything

river loom
#

well i will at least say, it seems the skins are not allowed to be downloaded, it seems to disconnected preventing it from being downloaded. maybe it's the lack of proxy? not sure

lapis eagle
#

what OS are you using?

river loom
#

windows 11

finite garnet
river loom
#

o, didn't know this

finite garnet
#

Have you tried deleting the Forge folder and then downloading the latest snapshot? If you don't want to delete the old Forge folder, then at the very least extract the latest snapshot to a different folder. This is the recommended way to do it.

river loom
#

that is what i have been doing

finite garnet
river loom
#

well originally, i had been using the auto updater that the game has, but that didn't work, so i have just been downloading the updates from the github which does work. sorry if i wasn't clear on that, i was talking about the auto-updater not working in the game itself

finite garnet
#

And you're extracting to a new folder, right?

river loom
#

the tar files from github itself i can use and extract just fine, those do work and i have been creating new folders for those

finite garnet
#

Hmm. Well, that's all I can think of since the forge.log doesn't show anything helpful.

lapis eagle
#

are you running the exes or the jars via the cmd files?

river loom
#

the forge adventure exe, though i did use the cmd as well. would see the update popup when booting up. not clicking the update button, the game works just fine. clicking the update, the game will reach 100% in the game window then just crash with what i brought up earlier.

#

i also trying moving the game folder around to see if that will work as well

lapis eagle
#

is it possible to run the cmd file in a command prompt and see if that gives any errors?

#

im on linux and terminal provides some errors if i launch the sh script and the application fails

river loom
#

maybe, though i have not really ever tried loading apps via the command prompt

lapis eagle
#

yeah its weird for me, i came from win10 a year or so ago and multiboot when i have to

river loom
#

running the command prompt just gave me the same message, machine is running with 6 cpu cores

lapis eagle
#

i didnt see exactly what the error was,if you mentioned it can you repeat it or give a sceen shot?

#

never mind

#

its exactly that warning?

river loom
#

yes

lapis eagle
#

let me try a virtual machine with 6 cores

#

well the installer crashes on my vm no matter what

shy niche
#

I had a thought on this one earlier today: When you say the game crashes, does it close when the update bar gets to 100, and then nothing happens? The normal update flow on PC is that happens, but you then get a Java popup that prompts you to go through the rest of the installation flow. I think the problem here is you're not getting that prompt. What version of Java do you have installed?

lapis eagle
#

i would have to check the Virtual Machine but i believe its java 21

river loom
#

It's where It brings up the 6 core message

#

so i had java 21 as well

#

installed 24 to see if that would help, seems the same thing happens

lapis eagle
#

i will try Java 17 on the vm soon

#

ok changed java version to 17 no change in behavior

shy niche
#

OK, so we know the problem isn't the Java version. When Forge closes, it is suppposed to execute the .jar you downloaded immediately. Internet recommends running it directly and hopefully the native java exceptions would come through.

When I do this, it looks like the snapshot goes to the Downloads folder on PC, so let's try that next if you can find the snapshot you downloaded

river loom
#

ok, i did find the installer and it did not work when i clicked it

#

i remember that happening with the orignal installer and had to extract the tar file for it to work

finite garnet
river loom
#

the jar

finite garnet
#

Perhaps you should try the tarball? I didn't really like the jar installer, plus it had issues with not working at all on Linux. I've never had any issues with the tarball though.

river loom
#

that's what i have been using, i have just been extracting the tar files for the updates. however, they don't allow auto updating

finite garnet
#

You just said you were using the jar...

river loom
#

i meant the jar that was made from the auto-updater

#

it doesn't make a tar file as far as i am aware

finite garnet
#

Don't use auto updater. Just delete the old Forge folder and then download/extract the new snapshot.

river loom
#

i mean that's what i have been doing, it's just less convenient

finite garnet
#

Not really.

#

If your java is up to date and you've been extracting Forge to a new folder, you shouldn't be having these issues. You could try deleting your forge.preferences file in your Forge hidden folder. That might help. I think sometimes something gets wonky there and causes issues, though it is rare.

#

I think for Windows it's stored in app/roaming?

river loom
#

it didn't so anything as far as i can tell

finite garnet
#

Can you launch Forge via command prompt? That will often give you errors that can help point you to a solution.

river loom
#

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.badlogic.gdx.utils.SharedLibraryLoader in an unnamed module (file:Documents/forge-installer-203/forge-gui-mobile-dev-2.0.03-jar-with-dependencies.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.lwjgl.system.MemoryUtil (file:Documents/forge-installer-203/forge-gui-mobile-dev-2.0.03-jar-with-dependencies.jar)
WARNING: Please consider reporting this to the maintainers of class org.lwjgl.system.MemoryUtil
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
(ThreadUtil first call): Running on a machine with 6 cpu core(s).

#

this is more info then last time, but it still just ends with, running with 6 cores

finite garnet
#

A dev might be able to do something with that info though.

#

You could try running the desktop version instead of the mobile version.

river loom
#

doesn't really seem to have done anything besides the game not crashing when clicking the update button in settings, but no installer popped up either

finite garnet
#

If the game isn't crashing then that sounds like it's working.

finite garnet
river loom
#

so i did find out something about the installer, when just opening from java, it will not work. However, if it's opened through jave platfrom se binary, it works perfectly. installer appears, puts the files where they belong.

finite garnet
#

Yeah, so you are in fact using the jar installer then, not the tarball installer.

#

I think the tarball is less hassle and just works.

river loom
#

o ok, legit couldn't tell, since when i had checked what app was opening java files, it just showed 2 java platform se binaries

#

thanks anyways

finite garnet
#

Just to make doubly sure. The file that you are downloading from https://github.com/Card-Forge/forge/releases/tag/daily-snapshots is the forge-installer-2.0.04-SNAPSHOT-05.27.jar, right? That would be the jar installer. The tarball is the forge-installer-2.0.04-SNAPSHOT-05.27.tar.bz2 file. It's basically just a zip file that you extract wherever you want.

river loom
#

yes, or well that's what the auto-updater is downloading

finite marlin