Kerbal space program linux

squarism / linux_ksp.md

KSP is delaying the 64-bit windows port for a while, at least past 1.0. The 32-bit Windows KSP version is a bit cramped. You install too many mods and the game will crash. It’s hard to work out the balance point. On the KSP forums and on reddit, sometime people suggest switching to Linux. Someone is having problems playing a game and someone basically suggests learning Unix. Then the thread dies.

Linux (even if you’ve used it for a decade) is hard. Especially getting all the things to work properly. I used three different distros until I got AMD video drivers to work correctly and even now I’m not sure. You can have an easy time installing Linux. Maybe you got lucky on your hardware. Having a bad time in Linux is crazy-pants-party-time. You have to know a lot of commands just to collect information on what is going on.

Try a sprinkle of empathy.

So I wrote down what I did since I’m wiping my Linux partition over and over again. I hope this helps someone. Maybe you can link this.

15.10 has removed the need for the following sections:

  • video card setup (on my R290)
  • mono-complete from apt will load ckan (so you don’t need to do the install, but you might need to do moz-imports)
  • steam updates will make steam not launch. remove the .so file as stated below.

This is for a 2xx series Radeon so this might be useless. I found these steps pretty different than the old school xorg.conf stuff we used to have to do in Linux. Pretty nice now! 🍰

sudo apt-add-repository ppa:oibaf/graphics-drivers sudo apt-get update sudo apt-get install mesa-vdpau-drivers sudo apt-get dist-upgrade sudo reboot 

Instructions for nvidia (I hear) are easier? Idk.

Steam complains about GLX context even though everything is fine. Great! Let’s fix their legacy problem. 🐛

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update sudo apt-get install mono-complete mozroots --import --ask-remove 
# current bug with SSL certs # Error getting response stream - SendFailure # no mozroots commands will change anything apt-get install libcurl4-openssl-dev 

CKAN (kerbal space program mods) can’t see hidden folders. 🌀

mono ckan.exe ksp add default \ ~/.local/share/Steam/steamapps/common/Kerbal\ Space\ Program/ 

Maybe you have one of those gaming mice? You have set mouse sentivitiy all the way down in Ubuntu or Linux Mint and it’s still too sensitive?

## fix mouse sensitivity #cat ~/bin/mouse-fix.sh` #!/bin/bash # For some reason, I get two mouse devices here. DEVIDS=`xinput list | grep "Gaming Mouse" | sed -e "s/^.*id=\(9\+\).*/\1/"` DEVID=($DEVIDS) if [ "$" != "" ]; then xinput --set-prop $DEVID "Device Accel Constant Deceleration" 2 echo Set device deceleration for device $DEVID. fi # Then add this to startup applications on login # (Menu->Preferences->Startup Applications) # This will differ based on what Ubuntu flavor you picked. I went with Xubuntu. 

Name this file selections.txt . Change this list to whatever you want. I was unable to load this many mods under Windows. So I assume you might have a huge list like this too. 🐯

AstronomersPack AstronomersPack-AtmosphericScattering AstronomersPack-Auroras-4K AstronomersPack-Clouds-High AstronomersPack-DistantObjectEnhancement AstronomersPack-Eve-Jool-Clouds-4K AstronomersPack-PlanetShine AstronomersPack-Snow AstronomersPack-SurfaceGlow B9 CommunityTechTree DMagicOrbitalScience EnvironmentalVisualEnhancements-HR InfernalRobotics Karbonite KarbonitePlus KAS KerbalEngineerRedux KWRocketry MemoryUsage MFS NEAR NearFutureConstruction NearFutureElectrical NearFutureProps NearFuturePropulsion NearFuturePropulsionExtras NearFutureSolar NovaPunch PlanetShine RemoteTech SCANsat TweakScale UniversalStorage USI-ART USI-EXP USI-FTT USI-SRV USITools 

You should have already configured ckan with a default install from above.

Читайте также:  Linux path to chrome

Download CKAN from their releases page. Put ckan.exe and selections.txt in the same folder and open a shell. Run this.

for mod in `cat selections.txt`; do mono ckan.exe install --no-recommends \ --headless $mod; done 

A recent long play through on 1.0.5 before the (HOPEFULLY AWESOME AAAAA 1.1)

000_FilterExtensions JSI PlanetaryBaseInc 000_FilterExtensions Configs KAS ProceduralParts 000_Toolbar KerbalEngineer ProgressParser 000_USITools KerbalJointReinforcement RCSBuildAid AdjustableLandingGear KerbalStats RcsSounds B9_Aerospace Kethane RealPlume B9_Aerospace_HX KIS RemoteTech B9AnimationModules Klockheed_Martian_Gimbal SCANsat B9PartSwitch Kopernicus scatterer BahaSP KPlus ShipManifest Chatterer KWCommunityFixes SmokeScreen CoherentContracts KWRocketry SpaceY-Expanded ColorCodedCans MagicSmokeIndustries SpaceY-Lifters CommunityResourcePack MarkIVSystem Squad CommunityTechTree MenuStabilizer.dll SurfaceLights ContractConfigurator ModRocketSys TarsierSpaceTech ContractsWindow ModuleManager.2.6.20.dll toolbar-settings.dat CrossFeedEnabler ModuleManager.ConfigCache TriggerTech Diazo ModuleManager.ConfigSHA TweakScale DMagicOrbitalScience ModuleManager.Physics UmbraSpaceIndustries DPSoundFX ModuleManager.TechTree UniversalStorage EditorExtensionsRedux NavyFish VanguardAstrodynamics EngineLight NearFutureConstruction WarpPlugin EnhancedNavBall NearFutureElectrical WaterSounds ExtraplanetaryLaunchpads NearFutureProps WaypointManager Firespitter NearFuturePropulsion WheelSounds FreedomTex NearFutureSolar WiderContractsApp FuelTanksPlus NearFutureSpacecraft Workshop InterstellarFuelSwitch PartCommander 

All installed through ckan. These aren’t the top level names. They are everything . so .

Here’s the ckan file which is probably more useful.

Источник

Kerbal, Linux and You (KSP 1.0.4, 1.0.5)

Kerbal, Linux and You (KSP 1.0.4, 1.0.5) for Kerbal Space Program

Are you sure you want to do it? (Don’t waste your time. Read it)

If you are totally new with linux but still want to try kerbal with it, here’s couple pros and cons before we start.

+ Free Operating System.
+ You can run linux aside Windows (but not a same time)
+ Better FPS
+ Linux saves RAM -> stability -> you can load more mods -> you can build bigger
+ You can run 64bit stable version of the game
+ Shorter loading times

There is hardware limitation. AMD devices are not fully supported by linux operating system. If you have Nvidia you are good to go.

Читайте также:  Paragon virtualization manager linux

– At the moment there is bug between Unity and OpenGL which means:
no rendering. In Kerbal version 1.1 these is hopefully fixed since it’s going to use unity v.5.

– Bugs you need to fix get game playble.

Pick Distro

This are three distros I can recommend.

Ubuntu [www.ubuntu.com]
Linux Mint [linuxmint.com]
SteamOS [Beta, but worth to try]

All these distros basics debian but are more user friendly.

I really recommend try ’em all since some machines works beter with ubuntu or steam os and some “works out of box” with linux mint. I personally prefer try them this order: Ubuntu > Mint > SteamOS.
I personally use Mint but recommend Ubuntu because it is officially supported by a Steam.

And yes. You can try them from a cd or USB flash disk without installing anything on a hard disk.

I don’t want to take a part how to install linux OS on your machine because there is Internet and Google full of manuals and forums to tell you how to do it. Thou, you should start looking up unetbootin [unetbootin.github.io] and empty flash disk.

Avaivable as 32 bit or 64bit

Desktop:
Unity [www.ubuntu.com] (When you have more than enought power on your machine. Not suitable for older machines in my opinion)
Gnome [wiki.ubuntu.com] ( Lighter than Unity )
KDE [www.kubuntu.org] (you guess it)

Avaivable as 32 bit or 64bit

I don’t have much experience about MATE or Xfce but I can say Cinnamon is close of Ubuntu Unity desktop but slightly lighter.

it’s still Beta with bugs and stuff but I still recommend to try it. Hopefully this is the distro of future all gamer ‘ll change sooner or later and say good bye for good for a Micro$oft.

After OS installation. (updating & installing graphic drivers)

First thing to do after installing Linux operating system is to update it. Find update center and install all updates they have to offer or open terminal and copy paste fallowing:

Second thing to do is make sure your graphic driver is up to date.

Go your gpu provider web site and download latest linux version of the driver.

It should look something like “something.run”. Now it gets a pit tricky. You have to press CTRL + ALT + F6 to get out from Desktop. Next you need to turn off Desktop by a command:

Now you can run installer by a command:

replace “filename.run” by actual name of the file.
in some cases you need to use different command to run a file, which is:

Reboot the system by a command:

GPU driver is now installed and you are ready to proceed install steam and ksp.

Читайте также:  Linux узнать размер блока файловой системы

You can enter folder by a command

where your file should be. You don’t need to write whole name of the folder. Just a beging of it and press Tab. A list of the folders and files you get by typing a command

. Good luck if this is your first time doing something like this.

Installing Steam and KSP

Now we are ready to install Steam. In menu find “Software Manager” and look up for a “steam launcher” and install it. Or you can open terminal and copy paste fallowing:

Just in case your distro don’t have steam in repos

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys B05498B7 sudo sh -c ‘echo “deb precise steam” >> /etc/apt/sources.list.d/steam.list’

Steam Icon should now appear on Desktop. If not. Launch Steam by typing in terminal:

Steam launches and you are able to use it like in good old times in windows and install Kerbal Space Program like you used to. (You ‘ll automaticly receive 32 and 64bit versions. Don’t worry about it.)

After Steam has download and installed game for you, you may want to run it as 64bit. While Steam is still open go to games library and right klick KSP icon. Choose properties and on first tab you can see “Set Laucnh Otions…” Klick it and copy paste fallowing:

You also need to patch executable which is easy with a script someone* made

Download Script HERE [www.dropbox.com]
move it to kerbal game folder by using file explorer or by a command:

Basically if you don’t use mods you are now done. In next chapter I tell how to install CKAN (mod installer) and what you need to do, to get it work. Feel free to test game now.

NOTE: There is couple bugs you can only fix by modding the game! Strongly recommend to keep on reading.

If you are missing drag when returning Kerbal athmosphere.
This means your physics config file is rekt.
To fix this go to your kerbal game folder. Find Physics.cfg and remove it. Now open steam and in game library right klick KSP icon with a mouse and choose properties. Open third tab “Local files” and choose “VERIFY INTEGRITY OF THE GAME CACHE…”. After it’s done launch a game and do the test flight. Still not working? Repeat.

Install CKAN (and atleast bugfix mods)

Next we install CKAN mod installer for a kerbal

Sorry there is no easy qui for this. Time to open terminal.
This is pretty much copypasta from githup:
………………………………………………………………………………………………………………
Install packages needed to run ckan

Источник

Оцените статью
Adblock
detector