Git Product home page Git Product logo

knightlauncher's People

Contributors

cafuneandchill avatar crowfunder avatar dependabot[bot] avatar foyylaroni avatar lucasluqui avatar puzovoz avatar yihleego avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

knightlauncher's Issues

Is `jar-mod` a feature to be developed or something else?

Hi Lucas,

I found that /code-mods/*.jar was defined in the project, but it doesn't seem to work now.
Do you have any plans for the future?

List<String> rawFiles = FileUtil.fileNamesInDirectory(LauncherGlobals.USER_DIR + "/mods/", ".zip");
rawFiles.addAll(FileUtil.fileNamesInDirectory(LauncherGlobals.USER_DIR + "/code-mods/", ".jar"));
for (String file : rawFiles) {
JSONObject modJson;
try {
modJson = new JSONObject(Compressor.readFileInsideZip(LauncherGlobals.USER_DIR + "/mods/" + file, "mod.json")).getJSONObject("mod");
} catch (Exception e) {
modJson = null;
}

I'm interested in developing jar mods that modify bytecode at runtime (No hacking at all).
But I'm not sure if this is a risk to your project or user's account.

Doesn't Start the game

So, basicly just in the title it doesn't start the game
i downloaded the launcher, readed the README.txt, did what the txt thing said
opened the launcher, made the Ram thing about Max, clicked start button
and again it doesn't start the game.
if you got some sort of program(s) that im supposed to install or anything i have to do to fix this issue i'd appreciate it.
i'll wait for response/questions/anything and thanks.

Cannot compile on Windows, even with resolved dependency errors.

Resolved pom.xml dependency errors as outlined in this commit: Peliex@0a74020

Jarfile compiles, moving to Spiral Knights Directory results in the following output: old-knightlauncher.log

2023/08/17 17:51:20:473 INFO com.lucasallegri.launcher: ------------ VM Info ------------
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: OS Name: Windows 10
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: OS Arch: amd64
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: OS Vers: 10.0
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: Java Home: C:\Program Files\Eclipse Adoptium\jdk-8.0.382.5-hotspot\jre
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: Java Vers: 1.8.0_382
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: User Name: trint
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: User Home: C:\Users\trint
2023/08/17 17:51:20:477 INFO com.lucasallegri.launcher: Current Directory: W:\SteamLibrary\steamapps\common\Spiral Knights
2023/08/17 17:51:20:482 INFO com.lucasallegri.launcher: ---------------------------------
2023/08/17 17:51:20:490 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:80)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:491 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:81)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:491 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:82)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:491 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:83)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:84)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:85)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:86)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:87)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:88)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:492 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:89)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:493 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:90)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
2023/08/17 17:51:20:493 SEVERE com.lucasallegri.launcher.settings: java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
java.io.FileNotFoundException: W:\SteamLibrary\steamapps\common\Spiral Knights\KnightLauncher.properties (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.lucasallegri.launcher.settings.SettingsProperties.getValue(SettingsProperties.java:43)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:91)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
Exception in thread "main" java.lang.NumberFormatException: null
	at java.lang.Integer.parseInt(Integer.java:542)
	at java.lang.Integer.parseInt(Integer.java:615)
	at com.lucasallegri.launcher.settings.SettingsProperties.load(SettingsProperties.java:91)
	at com.lucasallegri.launcher.settings.SettingsProperties.setup(SettingsProperties.java:37)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:60)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)

Launcher issue

launcher won't save some settings for example when i disable discord RPC it turns back on again by itself after a while

Can't Open Game In Launcher.

So, I can't open the game in the launcher, it just kept saying, " Can't find players count." What is that supposed to mean?

Raspberry Pi Support

Spiral Knights runs on RPi4

KnightLauncher does not!

Log:

2023/11/17 16:36:17:378 INFO com.lucasallegri.launcher: ------------ VM Info ------------
2023/11/17 16:36:17:389 INFO com.lucasallegri.launcher: OS Name: Linux
2023/11/17 16:36:17:390 INFO com.lucasallegri.launcher: OS Arch: aarch64
2023/11/17 16:36:17:390 INFO com.lucasallegri.launcher: OS Vers: 6.1.21-v8+
2023/11/17 16:36:17:391 INFO com.lucasallegri.launcher: Java Home: /usr/lib/jvm/temurin-8-jre-arm64
2023/11/17 16:36:17:392 INFO com.lucasallegri.launcher: Java Vers: 1.8.0_392
2023/11/17 16:36:17:392 INFO com.lucasallegri.launcher: User Name: sirdank
2023/11/17 16:36:17:393 INFO com.lucasallegri.launcher: User Home: /home/sirdank
2023/11/17 16:36:17:393 INFO com.lucasallegri.launcher: Current Directory: /home/sirdank/Desktop/spiral
2023/11/17 16:36:17:394 INFO com.lucasallegri.launcher: ---------------------------------
.
.
.
2023/11/17 16:36:17:440 INFO com.lucasallegri.launcher.settings: Successfully loaded all settings from prop file.
96
96
96
96
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/sirdank/.discord-rpc/libdiscord-rpc.so: /home/sirdank/.discord-rpc/libdiscord-rpc.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
	at java.lang.Runtime.load0(Runtime.java:782)
	at java.lang.System.load(System.java:1100)
	at net.arikia.dev.drpc.DiscordRPC.loadDLL(DiscordRPC.java:159)
	at net.arikia.dev.drpc.DiscordRPC.<clinit>(DiscordRPC.java:21)
	at com.lucasallegri.discord.DiscordRPC.start(DiscordRPC.java:32)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:64)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)

Steam account workaround for Linux

You might have already heard that there's no official Steam support on Linux. However it's still possible to play with Steam-bound account on Linux, but it requires certain workaround that I've described here.

Would you add a "Steam workaround for Linux" setting that would make use of Shell script that acts as a launcher (original name "Spiral", but file should be manually selectable in file input field) instead of signaling Steam and running "official" Spiral Knights in Proton/WINE?

KnightLauncher on MacOS

I’m having some trouble with starting SK with mods through the Launcher. Now every time I launch Spiral Knights, it says I have no Java on my computer.

I believe the files become unreadable because I once deleted all my sk files and it gave the same message.

The logs tell me that the mods have been mounted successfully and I haven’t downloaded any mods that arent compatible with the launcher.

Some extra info: without any mods, the game launches successfully through the Launcher.

LWJGL 2.9.3 Redist Option

If there were to be Java 9+ option in the KL Java installation procedure, newer LWJGL dlls and jars would then need to be overwritten to the accompanying locations as such.

Game wont launch using launcher

This issue happened as i uninstalled sk and reinstalled a fresh one. I did all the necessary steps such as having the game run on 64 bit java, and pasting the knight launcher contents into sk folder. But as i launch sk with 4gb ram the game wont launch at all . But when i deleted the extra.txt and launch the game directly from steam it works but it wont be as smooth without knight launcher. I hope u can help me with my problem.

KnightLauncher does not allow JVM patching of the Steam version under Linux

SpiralKnights can be run non-natively on Linux by changing the Steam settings: "Settings" -> "Compatibility" -> "Enable Steam Play for all other titles". This runs very well from my experience so far.
This runs Spiral Knights' Windows version through Steam's Proton compatibility layer. The game files are thus exactly the same and I was able to 64-bit patch the game by simply replacing the java_vm folder in the game files with the extracts of https://lucasallegri.b-cdn.net/knightlauncher/v2/java/windows/7u80/redist.zip. This has been running great without any trouble so far.

I would suggest changing LauncherApp.java line 226-227:

    // Currently Java VM patching is only supported on Windows systems.
    if(!SystemUtil.isWindows()) return false;

to

    // Currently Java VM patching is only supported on Windows systems and Linux installs through Steam.
    if(!SystemUtil.isWindows() && !(SystemUtil.isUnix() && Settings.gamePlatform.startsWith("Steam"))) return false;

to allow JVM patching on both Windows and Linux+Steam.

(sorry for no PR, I couldn't get KL to compile and I don't like to submit code I didn't test)

small request

request to add some sort of parameter to KnightLauncher.properties (don't ask why)
that let's KL target custom getdown name instead of getdown-pro.jar
for instance:
getdown.target=customname-getdown-pro.jar
https://imgur.com/a/OS6BQi0

Launcher not starting up properly

When i try to open the launcher, i get an error message saying that i need to place the .jar file in the main Spiral Knights directory, even though said file is already in the directory. The same issue occurs with the .bat file

image

image

KnightLauncher allows practically unsupported memory settings on 32bit JVM

KnightLauncher currently allows setting the memory allocation pool to be up to 3GB of memory. A 32bit JVM might in practice have much less than that memory available.

In my case, setting the RAM setting to 2GB made the game crash on startup every time ("Could not create the Java Virtual Machine"). Practical maximum values for 32bit JVMs might go as low as 1.5GB, but this depends a lot on the hardware and even current system load. See also the -Xmxn entry here:
On Solaris 2.6 and x86 platforms, the upper limit is approximately 2000 m minus overhead amounts. On Linux platforms, the upper limit is approximately 2000 m minus overhead amounts.

I suggest limiting the choices further, perhaps to at most 1.5GB, although the smarter solution might be a clear warning about the problem for 32bit JVMs and settings over >1GB, so the user knows to go back and simply set the value lower if the game doesn't start.

KnightLauncher fails to launch on Windows due to installation error, suggest clarifying README.md

Precompiled logfile after trying to execute

2023/08/17 16:36:39:622 INFO com.lucasallegri.launcher: ------------ VM Info ------------
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: OS Name: Windows 10
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: OS Arch: amd64
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: OS Vers: 10.0
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: Java Home: C:\Program Files\Zulu\zulu-17
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: Java Vers: 17.0.8
2023/08/17 16:36:39:628 INFO com.lucasallegri.launcher: User Name: trint
2023/08/17 16:36:39:629 INFO com.lucasallegri.launcher: User Home: C:\Users\trint
2023/08/17 16:36:39:629 INFO com.lucasallegri.launcher: Current Directory: C:\Users\trint\Downloads\KnightLauncher-1.7.3
2023/08/17 16:36:39:629 INFO com.lucasallegri.launcher: ---------------------------------
2023/08/17 16:36:41:232 WARNING WindowsPreferences.<init>: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0xffffffff80000002. Windows RegCreateKeyEx(...) returned error code 5.
java.lang.NoSuchMethodException: java.util.prefs.WindowsPreferences.WindowsRegOpenKey(int,[B,int)
	at java.base/java.lang.Class.getDeclaredMethod(Class.java:2675)
	at com.lucasallegri.util.WinRegistry.<clinit>(WinRegistry.java:51)
	at com.lucasallegri.util.SteamUtil.getGamePathWindows(SteamUtil.java:20)
	at com.lucasallegri.launcher.LauncherApp.checkStartLocation(LauncherApp.java:137)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:58)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.lucasallegri.util.WinRegistry.regOpenKey" is null
	at com.lucasallegri.util.WinRegistry.readString(WinRegistry.java:285)
	at com.lucasallegri.util.WinRegistry.readString(WinRegistry.java:99)
	at com.lucasallegri.util.SteamUtil.getGamePathWindows(SteamUtil.java:20)
	at com.lucasallegri.launcher.LauncherApp.checkStartLocation(LauncherApp.java:137)
	at com.lucasallegri.launcher.LauncherApp.<init>(LauncherApp.java:58)
	at com.lucasallegri.launcher.LauncherApp.main(LauncherApp.java:41)

I've since moved to trying to compile the source but the output jarfile from Maven after resolving dependencies will not output anything other than the popup window declaring that the installation is improper.

Cannot patch game to 64 bit: The Java VM download couldn't be initialized

Setup: Steam game,have the .jar and windows batch file in the root folder.
One thing of note: On initial run of the lkauncher it said that it failed some update and wont try it the next time.Perhaps my "64 bit patch" failed and now I don thave a way to install it again?

Allocating 1.5 GB causes the game to start for a second(with sound) then crash.
Allocating 2 GB or more causes the game to fail with a message box that states: "Could not create the java virtual machine".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.