pi-apps icon indicating copy to clipboard operation
pi-apps copied to clipboard

Kerbal Space Program

Open Botspot opened this issue 4 years ago • 60 comments

@mobilegmYT says it runs fairly well on the Pi with the help of Box86.

I haven't tried it yet, but this issue keeps it from falling off the to-do list.

Botspot avatar Dec 17 '20 18:12 Botspot

The only problem is we have to verify the user owns the game.

NoozAbooz avatar Dec 17 '20 18:12 NoozAbooz

I was thinking we could have the user download the game from Steam first.

Botspot avatar Dec 17 '20 18:12 Botspot

I tried the game on both Ubuntu 20.10 and TwisterOS, the farthest I got is the loading screen on Ubuntu, on Twister it opens a black window and crashes without any errors. also the latest version that has 32bit x86 support is 1.4.5 (latest version is 1.11).

Itai-Nelken avatar Dec 17 '20 19:12 Itai-Nelken

I was thinking we could have the user download the game from Steam first.

I own the game not from steam, so maybe each user Downloads the game files from where he owns the game, and only has to point pi-apps to where it is.

Itai-Nelken avatar Dec 17 '20 19:12 Itai-Nelken

Ah, you need to open the install files and run KSP.x86 instead of the sh

NoozAbooz avatar Dec 17 '20 19:12 NoozAbooz

Ah, you need to open the install files and run KSP.x86 instead of the sh Itai Nelken

Thats what I ran, anyway will try again on a clean install.

Itai-Nelken avatar Dec 17 '20 19:12 Itai-Nelken

You might also want to try installing it from GOG games instead of steam.

NoozAbooz avatar Dec 17 '20 20:12 NoozAbooz

You might also want to try installing it from GOG games instead of steam.

I never tried steam, I don't even have a steam account, I bought the game straight from the website.

Itai-Nelken avatar Dec 17 '20 20:12 Itai-Nelken

I fixed KSP not starting for me by downgrading to mesa 20.2

Itai-Nelken avatar Dec 21 '20 18:12 Itai-Nelken

takes over 30minutes to load, and seems to hang a lot of times.

Itai-Nelken avatar Dec 21 '20 19:12 Itai-Nelken

30 minutes to load? Only about 1 min or 2 for me.

NoozAbooz avatar Dec 21 '20 19:12 NoozAbooz

and crashes when creating a new game. now it doesn't even start. @mobilegmYT what version are you using?

Itai-Nelken avatar Dec 21 '20 19:12 Itai-Nelken

I fixed KSP not starting for me by downgrading to mesa 20.2

@Itai-Nelken Before you downgraded, did you see an error similar to this?

pi@raspberrypi:~ $ "/home/pi/GOG Games/Kerbal Space Program/start.sh" "--launcher"
Running Kerbal Space Program
Box86 with Dynarec v0.1.9 96f944c8 built on Dec 21 2020 00:03:56
Set current directory to /home/pi/GOG Games/Kerbal Space Program/game
Found path: /home/pi/GOG Games/Kerbal Space Program/game/Launcher.x86
Error: Global Symbol data_start not found, cannot apply R_386_GLOB_DAT @0xb528ebbc ((nil)) in /home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/x86/libmono.so
Error: Global Symbol __data_start not found, cannot apply R_386_GLOB_DAT @0xb528ed48 ((nil)) in /home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/x86/libmono.so
Mono path[0] = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Managed'
Mono path[1] = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono'
Mono config path = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 1 screens
displaymanager screen (0)(HDMI-1): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
support/gog_com.shlib: line 94: 22768 Aborted                 ./"${bin_32}"
pi@raspberrypi:~ $

For me, using the GOG games installer, a black window pops up for a moment, then disappears.

Botspot avatar Dec 21 '20 19:12 Botspot

I fixed KSP not starting for me by downgrading to mesa 20.2

@Itai-Nelken Before you downgraded, did you see an error similar to this?

pi@raspberrypi:~ $ "/home/pi/GOG Games/Kerbal Space Program/start.sh" "--launcher"
Running Kerbal Space Program
Box86 with Dynarec v0.1.9 96f944c8 built on Dec 21 2020 00:03:56
Set current directory to /home/pi/GOG Games/Kerbal Space Program/game
Found path: /home/pi/GOG Games/Kerbal Space Program/game/Launcher.x86
Error: Global Symbol data_start not found, cannot apply R_386_GLOB_DAT @0xb528ebbc ((nil)) in /home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/x86/libmono.so
Error: Global Symbol __data_start not found, cannot apply R_386_GLOB_DAT @0xb528ed48 ((nil)) in /home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/x86/libmono.so
Mono path[0] = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Managed'
Mono path[1] = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono'
Mono config path = '/home/pi/GOG Games/Kerbal Space Program/game/Launcher_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 1 screens
displaymanager screen (0)(HDMI-1): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
support/gog_com.shlib: line 94: 22768 Aborted                 ./"${bin_32}"
pi@raspberrypi:~ $

For me, using the GOG games installer, a black window pops up for a moment, then disappears.

@Botspot I don't own the GOG version, I bought it straight from the kerbalspaceprogram.com, so I didn't have the GOG stuff. It said the box86 stuff, Importing game controller configs, and then aborting. And a black window opens, then closes when it says aborting

Itai-Nelken avatar Dec 22 '20 11:12 Itai-Nelken

@Botspot KSP isn't free and has no demo version as far as I know, just wanted to point that out because in #185 you wrote that only free apps or apps with a free demo can be on pi-apps

Itai-Nelken avatar Jan 03 '21 05:01 Itai-Nelken

@Botspot KSP isn't free and has no demo version as far as I know, just wanted to point that out because in #185 you wrote that only free apps or apps with a free demo can be on pi-apps

Technically there is a demo version. But that's off-point. You are correct: MC Java and MC Bedrock will require an indirect monetary payment in order to play.

I feel that despite their cost, both of the above, and KSP, would fit well in Pi-Apps. I will clarify this in #185. Thanks for bringing this up, @Itai-Nelken.

Botspot avatar Jan 03 '21 20:01 Botspot

this might help: https://github.com/ptitSeb/box86/issues/273#issuecomment-753638655

Itai-Nelken avatar Jan 03 '21 20:01 Itai-Nelken

@Botspot I got pretty far with the schroot method, see this https://github.com/ptitSeb/box86/discussions/308. I got as far as to install all dependencies for meson to not abort, but now ninja build fails. here is the file where I am writing everything I'm doing: ksp-rpi.txt

Itai-Nelken avatar Jan 12 '21 12:01 Itai-Nelken

You definitely can get it to work. Except for the fact that the terrian is at 100M, making it (possibly) unplayable. But I am working on it.

Pythonic456 avatar Feb 01 '21 11:02 Pythonic456

You definitely can get it to work. Except for the fact that the terrian is at 100M, making it (possibly) unplayable. But I am working on it.

the terrain is ok for me, I got to orbit and back. I was using mesa 20.2, stock clock speeds on TwisterOS.

Itai-Nelken avatar Feb 01 '21 11:02 Itai-Nelken

On Mesa 20.2, there was no terrain for me, but at 100m my rockets kept exploding. (So probaby an invisible ground layer or something like that)

I just moved the rocket to the top of the VAB and gave it some attachment towers. That way it started above the 100m zone. XD

Botspot avatar Feb 01 '21 13:02 Botspot

@Botspot How do you move it to the top of the VAB?

Pythonic456 avatar Feb 01 '21 16:02 Pythonic456

@Botspot How do you move it to the top of the VAB?

  • Grab the center-piece of the rocket, then press-n-hold Page Up to ascend until you reach the ceiling of the VAB.
  • Then attach some launch towers to the rocket.
  • Then, on the right side, arrange your action groups so that on stage 1, pressing Space will release the launch towers, and start your engines simultaneously.
  • Launch.

Hope that helps.

Botspot avatar Feb 01 '21 17:02 Botspot

Ain't this game very heavy?

ghost avatar Mar 11 '21 13:03 ghost

@Dell-Glitch it's not really heavy, but because the only version that runs with box86 is very old (1.2.2) it's lighter than the newest version (1.11 I think) and it runs at ok speeds on the pi4 4gb no overclock.

Itai-Nelken avatar Mar 11 '21 13:03 Itai-Nelken

@Itai-Nelken I was thinking it was heavy because my xbox one lags sometimes on ksp but it's prob a preformace issue

ghost avatar Mar 11 '21 13:03 ghost

@Dell-Glitch You could try lowering the graphics settings... if you haven't already. :)

Pythonic456 avatar Mar 12 '21 10:03 Pythonic456

@Pythonic456 it's when i turn off my engines in space is where i lag but when i turn them on the lag stops

ghost avatar Mar 12 '21 17:03 ghost

BTW, if it's planned for pi-apps to install a demo version like doom, this might help: https://forum.kerbalspaceprogram.com/index.php?/topic/183849-how-do-i-download-the-demo/&do=findComment&comment=3586448

NoozAbooz avatar Mar 13 '21 04:03 NoozAbooz

BTW, if it's planned for pi-apps to install a demo version like doom, this might help: https://forum.kerbalspaceprogram.com/index.php?/topic/183849-how-do-i-download-the-demo/&do=findComment&comment=3586448

Interesting. I'll give it a try.

Botspot avatar Mar 13 '21 20:03 Botspot

BTW, if it's planned for pi-apps to install a demo version like doom, this might help: https://forum.kerbalspaceprogram.com/index.php?/topic/183849-how-do-i-download-the-demo/&do=findComment&comment=3586448

Interesting. I'll give it a try.

Did it work?

ghost avatar Mar 15 '21 13:03 ghost

Did it work?

Nope, I couldn't even get Steam to launch.

pi@raspberrypi:~ $ /usr/bin/steam
Running Steam on raspbian 10 32-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
/home/pi/.local/share/Steam/steam.sh: line 403: /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/bin/steam-runtime-check-requirements: cannot execute binary file: Exec format error
steam-runtime-check-requirements failed with an unexpected nonzero exit status. Trying to continue
/home/pi/.local/share/Steam/ubuntu12_32/steam
/home/pi/.local/share/Steam/steam.sh: line 749: /home/pi/.local/share/Steam/ubuntu12_32/steam: cannot execute binary file: Exec format error

Botspot avatar Mar 15 '21 14:03 Botspot

BTW, if it's planned for pi-apps to install a demo version like doom, this might help: https://forum.kerbalspaceprogram.com/index.php?/topic/183849-how-do-i-download-the-demo/&do=findComment&comment=3586448

Interesting. I'll give it a try.

Did it work?

Nope. @vedforeal tried his best. No luck. Squad seems to have completely removed the demos from everywhere. There are a few Windows KSP demo downloads, but we need the Linux ones. So far I haven't found any downloads for those.

Botspot avatar Mar 17 '21 18:03 Botspot

We can use wine x86 but that doesn't support 64bit

On Wed, Mar 17, 2021 at 2:08 PM Botspot @.***> wrote:

BTW, if it's planned for pi-apps to install a demo version like doom, this might help: https://forum.kerbalspaceprogram.com/index.php?/topic/183849-how-do-i-download-the-demo/&do=findComment&comment=3586448

Interesting. I'll give it a try.

Did it work?

Nope. @vedforeal https://github.com/vedforeal tried his best. No luck. Squad seems to have completely removed the demos from everywhere. There are a few Windows KSP demo downloads, but we need the Linux ones. So far I haven't found any downloads for those.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Botspot/pi-apps/issues/139#issuecomment-801298572, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARNPDTYWDGMZX53IIIBLG3DTEDVYRANCNFSM4VABVL7Q .

ghost avatar Mar 17 '21 18:03 ghost

We can use wine x86 but that doesn't support 64bit

I'd be surprised if Wine could even run KSP. Complicated things usually don't work. :(

Botspot avatar Mar 17 '21 18:03 Botspot

qemu?

On Wed, Mar 17, 2021 at 2:28 PM Botspot @.***> wrote:

We can use wine x86 but that doesn't support 64bit

I'd be surprised if Wine could even run KSP. Complicated things usually don't work. :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Botspot/pi-apps/issues/139#issuecomment-801313731, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARNPDTYKUETRJDKSLRMLJITTEDYFBANCNFSM4VABVL7Q .

ghost avatar Mar 17 '21 18:03 ghost

qemu?

We'd already have to use an emulator to get the Linux version running. (the box86 emulator which is faster) QEMU would just be slower, and would still need the Linux version of KSP as well.

Botspot avatar Mar 17 '21 18:03 Botspot

qemu?

We'd already have to use an emulator to get the Linux version running. (the box86 emulator which is faster) QEMU would just be slower, and would still need the Linux version of KSP as well.

ok

ghost avatar Mar 17 '21 18:03 ghost

it would give me a depot error that no manifests are found

vedforeal avatar Mar 18 '21 06:03 vedforeal

Does it added yet

Painadath avatar Apr 13 '21 13:04 Painadath

@Botspot In that case, we should just make it use user-provided game files.

NoozAbooz avatar Apr 20 '21 20:04 NoozAbooz

I saw the issue on the box86 repo, have those issues been resolved? Is it playable(if you wouldn't crash at 100m) on a pi 4(8GB RAM)? I'm really impressed that the pi can even run it :D

VolkerSchlegel avatar May 23 '21 11:05 VolkerSchlegel

I saw the issue on the box86 repo, have those issues been resolved? Is it playable(if you wouldn't crash at 100m) on a pi 4(8GB RAM)? I'm really impressed that the pi can even run it :D

Not playable but it runs fine for a modern game on a pi

https://www.youtube.com/watch?v=0YqOAY-WZ14&

NoozAbooz avatar May 23 '21 15:05 NoozAbooz

I like that

ghost avatar May 23 '21 16:05 ghost

Ok, what about the issue where it crashes into terrain at 100m?

VolkerSchlegel avatar May 25 '21 10:05 VolkerSchlegel

Ok, what about the issue where it crashes into terrain at 100m?

100m/s or 100m in height?

ghost avatar May 25 '21 12:05 ghost

It's 100m in height. I had this issue too, but open the debug menu (Alt-F12 I think), and set your elevation to 100m.

Pythonic456 avatar May 25 '21 12:05 Pythonic456

ah, ok thanks :+1:

VolkerSchlegel avatar May 31 '21 13:05 VolkerSchlegel

👍

Pythonic456 avatar May 31 '21 13:05 Pythonic456