Jump to content

64 bit question


Sokar408

Recommended Posts

Alright, so I have been thinking about getting up a Linux OS with the sole purpose of playing KSP in 64 bit.

The idea is, that by doing that, I'll have able to comfortably use all the mods I like. Now heres the question:

Considering a lot of mods intentionally disables 64 bit, like FAR (I know there is a mod to unlock it), does that mean, that it simply won't run on a 64 bit KSP client, or that 64 bit doesn't provide any benefit for that particular mod? In either case does that mean that setting up a Linux OS to play KSP 64 bit is pointless?

Overall my question really is, is the assumption that getting up Linux OS to play KSP in 64 bit, will provide a substantial benefit for performance and lack of RAM issues?

Link to comment
Share on other sites

The addons like FAR don't look for Linux when determining whether to run or not, just for the Windows 64bit KSP executable, and recently a friend of mine transferred all her addons over from a Windows install to a Linux one.

Everything turned out better than expected :)

Link to comment
Share on other sites

The addons [noparse][…][/noparse] don't look for Linux when determining whether to run or not

This isn't always the case, especially when P/Invoke into native code is involved.

I can think of 2 mods that use(d) non-portable shared libraries:

  • KerbCom Avionics 0.3.x shipped a third-party numeric solver for Windows and Mac
  • My personal version control system integration plugin (which, due to its potential for malicious abuse, shall remain forever unreleased) uses a Linux-only C shim.

Link to comment
Share on other sites

The question was about mods that lock themselves on Winx64, and the answer is "they don't lock themselves on Linux x64." It's true that mods that use native libs won't be cross-platform, though, but as you said they're few and far between. :)

(Principia is another, but Principia will have its native side available for all three platforms.)

Link to comment
Share on other sites

Alright, so I have been thinking about getting up a Linux OS with the sole purpose of playing KSP in 64 bit.

The idea is, that by doing that, I'll have able to comfortably use all the mods I like. Now heres the question:

Considering a lot of mods intentionally disables 64 bit, like FAR (I know there is a mod to unlock it), does that mean, that it simply won't run on a 64 bit KSP client, or that 64 bit doesn't provide any benefit for that particular mod? In either case does that mean that setting up a Linux OS to play KSP 64 bit is pointless?

Overall my question really is, is the assumption that getting up Linux OS to play KSP in 64 bit, will provide a substantial benefit for performance and lack of RAM issues?

One thing to be aware of in 64 bit Linux is that KSP (STILL!) has a bug where it sometimes crashes while loading PNG textures. I don't recall the details, but it's got something to do with a piece of 32 bit code left over in the main executable.

Anyway, to fix it, you need to patch two locations from 0x01 to 0x00 (note the red arrows I added):

root@michael:/usr/share/KSP_linux# fcmp KSP.x86_64_original KSP.x86_64

Reading KSP.x86_64_original (20207816 bytes)

Reading KSP.x86_64 (20207816 bytes)

Comparing KSP.x86_64_original with KSP.x86_64

0099F587: 01 00 <------

0099F58C: 01 00 <------

fcmp: 2 mismatches encountered

This patch is ONLY for KSP v0.25 and ONLY for the 64 bit Linux version. Older versions of 64 bit Linux KSP also need the patch, but in a different location.

Use a hex editor to make the patch... if you are not able to do it, let me know and I'll PM or email you the patched executable.

-- Roger

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...