dylwedma11748 / JTegraNX

Another RCM payload injector written in Java and C++
GNU General Public License v2.0
100 stars 5 forks source link

After recent java update it will no longer load #8

Open aihooo444 opened 2 years ago

aihooo444 commented 2 years ago

Here is the log of what is happening

F:\Games\Switch\Launcher and Games>java -jar JTegraNX.jar Nov 04, 2021 10:03:52 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 16 by JavaFX runtime of version 8.0.311 Exception in Application start method Exception in thread "main" java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at git.GitHandler.generateLatestRelease(GitHandler.java:57) at handlers.PayloadHandler.updatePayloads(PayloadHandler.java:65) at ui.fx.JTegraNX.start(JTegraNX.java:88) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) ... 1 more

dylwedma11748 commented 2 years ago

This issue along with #7 are happening because GitHandler can't find the strings it's looking for, I've got a fix made for it but JTegraNX v1.7 is not ready for release yet. For now just disable auto-updating in the config file to get past this.

eks28 commented 2 years ago

How do I fix in mac catalina I launch it select standard mode and it closes

I cant find config to try disable auto update to see if would work

Where is config?

dylwedma11748 commented 2 years ago

The config file gets created after JTegraNX is closed normally using the X, if this doesn't happen, it doesn't get created or updated. You'll have to create a new file and put this in it.

[SETTINGS] savedFolderPath=null savedPayloadPath= selectedConfig=No configs lastSelectedBundledPayload= autoInject=false checkJTegraNXUpdates=false checkPayloadUpdates=false enableTrayIcon=false includeFussePrimary=false includeHekate=false includeLockpickRCM=false includeTegraExplorer=false minimizeToTray=false

Save it as "JTegraNX.ini" in the same directory as the JAR file.