So i was playing SK for a few days after getting a new pc, been gone for a long time, and the fps was like 8-12 and laggy (client would freeze and such)
and i could not understand why, i have a laptop with quad core 8 gig ram 2 gig video card, low end system these days but still good for SK. i found this post and realized i was running 32 bit java on 64 bit windows 8.1, followed the instructions and boosted to 25 fps is most crowded haven area, dont know if there are any new lines to add in extra.txt or if its not useful now but TYVM!!
Only issue now is this weird bug that only i seem to have where my sound will click in and out with a noticable TICK! and then i cant see bombs placed and some attacks like DA charged attack or puppy blasts (so annoying and yes, it kills me sometimes)... not that im asking for help here, but maybe someone will notice who can debug this one cuz i have tried everything except asking for help so far, gonna make a new post maybe later today on it.
ty again and happy gaming
SK Performance Tweaking Guide
SK Performance Tweaking Guide
A comprehensive guide on ricing up your Java client to increase framerate, reduce stutters, and improve gameplay
This is a guide I wrote for my guild that I have decided to make public for the benefit of the SK community. I do not pretend to be an expert in Java, and these suggestions are merely what I have found works through my own research and experimentation. Many of the ideas were borrowed from previous threads on the subject, and this is my attempt to distill the most useful tweaks into one comprehensive step-by-step guide.
DISCLAIMER: I cannot guarantee that you will not encounter problems after doing the tweaks. Most people from my guild that have followed my instructions have had no issues, but I'm not making any assurances that everything will work for you. I also do not plan on offering any case-by-case technical support as I'm a busy guy and I've already laid everything out as foolproof as possible. Therefore, I advise you to only perform these tweaks if you are comfortable with them, and know how to restore any changes in case they don't work out for you.
If you like my work here, I'd appreciate if you'd check out this thread and lend your support if you like my ideas.
Most of the original extra.txt contents in this thread were incorporated into SK's normal launch parameter list (can be viewed, but not changed in getdown.txt).
I came to these options and numbers:
-Xmx900M
-Xms700M
-XX:NewSize=300m
-XX:SoftRefLRUPolicyMSPerMB=16
-XX:+UseParallelGC
-XX:-UseAdaptiveSizePolicy
-XX:MaxGCPauseMillis=16
-Dorg.lwjgl.opengl.Window.undecorated=true
By the way...
UseAdaptiveSizePolicy is disabled by this (Notice the minus sign and not plus)... After a lot of testing SK freezes for half a second every second or two when UseAdaptiveSizePolicy is used on a bunch of systems (It's on by default on many configs). Also a sharp eye will notice the 16 millisecond values used here are a bit above 60fps. getdown.txt is possible to edit, if you know what MD5 stands for and where it's applied. But knowing the userbase here, they'd probably screw it up so it's for the best the bar was raised to prevent them from editing it.
Yah, and needs to be re-edited every update (since the checks are updated for error correction reasons). Possible, but not worth it in the end since we already have the extra.txt.
...Which takes 10 seconds to update, and would usually only need to be done once every two weeks. MD5 isn't hard.
Bump
I literally cannot find the Java folder in my programs in the C:/Program Files. I don't know if its missing or if it installed some where else. I have the latest version of Java: Java SE 8u91 / 8u92. Can anyone help a knight out, I'm tired of constantly crashing in the town square and in the Shroud event...
Have you checked program files x86? It's likely you have the 32bit version of java installed and need to install the 64bit version via Java's website. Make sure you choose the windows offline x64bit version!
Does this still even work? :x
Welcome back enclavean
Thanks :3
Yes, it's still relevant, they increased the amount of ram given by default but not that much, with the amount of ram people might have nowadays it's probably a good idea to increase it further.
One option I found useful is
-XX:+DisableExplicitGC
since the game forces a GC on every map change, if you have a lot of ram then you don't need to do this and it helps loading times, especially if you repeat levels in the same session.
Since this thread is bumped again, just like to mention that the extra.txt file that I made following the instructions exactly does not work, and actually prevents spiral knights from launching properly.
Have you checked the log to see which directives it's complaining about?
My dude, THANK YOU.
I didnt even realize it ran on 32-bit right off the bat. This will help in the future.
Almost 10 years since I started playing, and I didn't have a clue why my game was so unplayable, doubt you will see this but just to let you know that the post is still relevant so TYVM! you have changed my gaming exp in sk :)