View Poll Results: How does the 64-bits version of KSP work for you?

Voters
242. You may not vote on this poll
  • It worked with no or minor glitches/bugs with DirectX

    157 64.88%
  • It worked with no or minor glitches/bugs with OpenGL

    23 9.50%
  • None, it crashed/caused major game breaking/is unplayable.

    62 25.62%
Page 1 of 62 1231151 ... LastLast
Results 1 to 10 of 617

Thread: KSP 64bits on Windows (this time, it's not a request)

  1. #1

    KSP 64bits on Windows (this time, it's not a request)

    Update: As you probably know, the 0.24 version of KSP comes with an official x64 support for Windows, making this thread obsolete.
    However, in case you still want to use KSP 0.23.5 for a while, I'll let the original post. Just keep in mind this trick works with KSP 0.23.5 only, and is not officially supported by Squad or Unity. Use at your own risk.

    Original post:
    Hello everyone!

    I found out yesterday how to use a 64 bits version of KSP on Windows, and I tought you might be interested.

    Before anything else, I decline all responsibilities for anything that could happen to your save files, make sure to have a backup of every important files in your KSP folder.
    Also, due to the nature of the manipulation, there is absolutely no hope for an official or an unofficial support, from Unity or Squad. Don't expect any fix for this version.



    Now the interesting thing:
    Unity works with "players", depending on the support they are running on. For now, the only executable supported by Squad is based on the 32-bits version of this player for Windows.
    Turns out the 64-bits version of this player works perfectly fine on several computers, either on DirectX or OpenGL.

    First, you'll need to get a copy of this 64-bits player.
    For obvious Copyright reasons, I can't redistribute only the files we need, since I don't own them.
    So we need to find 2 files, for a total of 15MB, in the Unity Editor executables.
    This can be found in the Unity Evaluation Version (1GB of download + the installation)
    For now KSP uses the 4.3.3 version of the Unity Engine (others version won't work), you can download it on this page: https://unity3d.com/unity/download/archive (you only need the 4.3.3 Win installer)

    -Once you've installed Unity 4.3.3 + the editor, make a backup of your KSP save files (I didn't have any problem for now, but remember, I can't predict the behavior of this version), of KSP.exe, and of KSP_Data/Mono/Mono.dll

    -In your Unity installation folder, find the "Editor\Data\PlaybackEngines\windows64standalonepl ayer" folder. Copy player_win.exe to your KSP main directory and rename it KSP.exe.

    -Find "Editor\Data\PlaybackEngines\windows64standalonepl ayer\Data\Mono\mono.dll" and copy it to "KSP_Data\Mono"

    (-Update: Someone noticed (thanks Hamster) that the UnityEngine.dll for the 64-bits version is not the same than the 32-bits one.
    This does not seems to matter right now but I keep this in mind just in case, will update if things change)

    Update: tip from Estel, if you're using 7zip:
    by opening the unity installer with 7zip, you can acces the two files without wasting time installing and removing unity.
    they can be found inside $_OUTDIR\windows64standaloneplayer\ and $_OUTDIR\windows64standaloneplayer\Data\Mono\
    -You can uninstall Unity if you want, we don't need it anymore.

    You now have a 64-bits DirectX version of KSP on windows.
    It is possible that the game crash when you try to start a game. If this happen, first try to update your video drivers.
    If it still don't work, you can try to force Unity to use DirectX11 (thanks gpisic) or OpenGL, just add one of those argument to your Steam Launch properties or your KSP shorcut:
    -force-opengl (Windows only)
    Make the game use OpenGL for rendering, even if Direct3D is available. Normally Direct3D is used but OpenGL is used if Direct3D 9.0c is not available.
    -force-d3d9 (Windows only)
    Make the game use Direct3D 9 for rendering. This is the default, so normally there's no reason to pass it.
    -force-d3d11 (Windows only)
    Make the game use Direct3D 11 for rendering.
    Let me know if this work for you, and please accept my apologies for every grammatical mistake I've made, feel free to correct if necessary.

    --------------------------------------------------------------------------------------------------------


    RECAP: now we have a bunch of comments, let's see what's are "minor glitches/bugs" you might encounter:


    -The first and "normal" bug you'll expect is a flashing screen (the astronauts complex) during transitions in the KSC. There is currently no fix for that, but it does not have any impact on the gameplay.

    -Decouplers ejection force seems to be very low/inexistent. (not game-breaking, but you might want to be aware of that)

    -Some particular parts can cause the game to crash randomly. Not always the same condition, but the same error in logs (see p45).
    This bug has been noticed twice, when using an AV-T1 Winglet. (To be confirmed). Only workaround is to not use this part if you encounter crashes with it.

    -The game can still write in a wrong memory location, causing the same type of crashes as the 32-bits version. This is due to a bug in the way Unity handle DirectX to fix it the first thing is to update your video drivers (and reboot, seriously), test again, and if it still don't work, you can use the OpenGL trick.

    -The OpenGL version of unity does not look as good as the DirectX one, and the framerate is not as good.
    In fact, you should expect about the same framerate as the Linux version while using OpenGL.
    I consider this should be tried last, but the OpenGL thing is a really decent alternative.

    -The "Could..... not preload global game manager #0 i=0" error is what you get if you don't use the correct version of the Unity Player.
    To be sure (and to reproduce the operation once the engine will be updated, without waiting for an update here): right click on your original KSP.exe.
    Go to "details" and check the version. You should be able to see what Unity version you need to download. (launcher.exe and KSP.exe don't use the same version)

    -No solution yet for MacOS users, I can only advise to use Bootcamp.

    -Some people report some deformation in their asteroids's grounds, or in their strut's location. I can't help but recommend to start a new game from scratch and see if this happen again.

    -The 64bits-version does not seems to like Visual Enchancements so much, it might not work on first try.

    -In general, I would advise of starting from a clean install of KSP, doing this trick and test one mod at a time.

    -Works with 0.23.5 only.

    -Can cause some weird mouse behavior when switching to another application. A right-click anywhere on the screen seems to fix it.

    -Right-click ingame might not be very responsive. Workaround to be confirmed: press escape, then resume game. (will update when sure about this).

    -Kerbal Attachment System parts are working, but grabbing a part ingame might result by the destruction of your ship and the death of your Kerbal.
    Don't grab anything that is already attached to a vessel with KAS. (no known workaround).

    Remember, for the testing purpose, you should start from a CLEAN version of KSP, and load one mod at a time.
    Please report it non-working only if you had difficulties running a clean version or a very slightly modded version.

    Mods are not supposed to be compatible yet.


    (update:you can find some useful informations about mods compatibility with 64-bits here:http://forum.kerbalspaceprogram.com/...bugging-Thread)
    Last edited by Lilleman; 18th July 2014 at 07:02. Reason: last edit: removed the link to the OpenGl bench video, it was Unigine, not Unity...

  2. #2
    Kerbal Pamperer parameciumkid's Avatar
    Join Date
    Jan 2014
    Location
    SPACE! SPAAAA....ce. Kerbals killed: ZERO
    Posts
    1,147
    Sweet!
    I'm a little scared to try this first, though, so I'll wait and see if anyone else has any major issues before doing it myself. Keep us posted on anything you find, too.



    I play on Intel HD Graphics. ;P

  3. #3
    Actually, I'm being a little dramatic for the "I decline all responsibilities" stuff. Only bugs I found until now were already in 32-bits KSP, and there's no reason for the game to delete your saves files. I just don't know if this can happen or not.

  4. #4
    Quote Originally Posted by parameciumkid View Post
    I'm a little scared to try this first, though
    Why? In the worst case, the program would just crash. It can't imagine it would permanently damage your computer or any files on it. It would basically just exit.
    Toolbar - flexible buttons toolbar
    Precise Node - precisely edit your maneuver nodes

  5. #5
    Friendly Neighborhood Mod sal_vager's Avatar
    Join Date
    Feb 2012
    Location
    England
    Posts
    10,688
    Back up the KSP.exe, as I don't think this is working as you expect, one of the issues with the Linux 64bit binary is that it still can't use a lot of RAM.

    Someone needs to test this and see if the new KSP.exe can actually go above 4gigs.

  6. #6
    Is there any benefit to this other than avoiding the 32bit memory usage cap?

    Or in light of the last post, "possibly" avoiding it.

  7. #7
    I was quite surprised with the result, otherwise I wouldn't have created a account on the forum just to post this.
    The only return I have is very positive, that's why I posted this here.
    Now I need more opinions, and to share the word!
    Last edited by Lilleman; 5th June 2014 at 14:29. Reason: repeated myself....

  8. #8
    Crazy Rocket Scientist EvilotionCR2's Avatar
    Join Date
    Jun 2012
    Location
    Minmus base alpha
    Posts
    870
    Quote Originally Posted by Duke23 View Post
    Is there any benefit to this other than avoiding the 32bit memory usage cap?

    Or in light of the last post, "possibly" avoiding it.
    Performance improvements.
    And holy crap sal, you now have almost 9000 posts?

  9. #9
    Junior Rocket Scientist gpisic's Avatar
    Join Date
    Apr 2014
    Location
    utopia planitia
    Posts
    717
    So far it is working for me, testing now the above 4GB limitation....

    infinite possibilities in infinite combinations

  10. #10
    Basic program is working. Now I need some extra mods so my memory usage needs to grow. Any suggestion for high memory consuming mods?

Page 1 of 62 1231151 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •