Linux Steam version doesn't start

Started by Jonha, September 15, 2018, 05:03:54 PM

Previous topic - Next topic

Jonha

Starting the game in Steam results in nothing happening.

Starting the steam executable in the console results in the following output:


[jh@jonathan-pc RimWorld]$ pwd
/home/jh/.local/share/Steam/SteamApps/common/RimWorld
[jh@jonathan-pc RimWorld]$ ./RimWorldLinux.x86_64
Set current directory to /home/jh/.local/share/Steam/SteamApps/common/RimWorld
Found path: /home/jh/.local/share/Steam/SteamApps/common/RimWorld/RimWorldLinux.x86_64
There is no data folder


Also tried the different scripts, but they don't work, either. The log file also doesn't contain anything else:

[jh@jonathan-pc RimWorld]$ cat /tmp/rimworld_log
Set current directory to /home/jh/.local/share/Steam/SteamApps/common/RimWorld
Found path: /home/jh/.local/share/Steam/SteamApps/common/RimWorld/RimWorldLinux.x86_64
There is no data folder



The data folder is there:
[jh@jonathan-pc RimWorld]$ ls RimWorldLinux_Data/
globalgamemanagers         Mono                   resources.resource
globalgamemanagers.assets  Plugins                sharedassets0.assets
level0                     Resources              sharedassets1.assets
level1                     resources.assets
Managed                    resources.assets.resS
[jh@jonathan-pc RimWorld]$ ls -l
insgesamt 61756
-rwxrwxr-x. 1 jh jh     9882  1. Sep 10:03  EULA.txt
drwxrwxr-x. 3 jh jh     4096  1. Sep 10:04  Mods
-rwxrwxr-x. 1 jh jh      804  1. Sep 10:04 'Notes for Linux Users.txt'
-rwxrwxr-x. 1 jh jh     4914  1. Sep 10:04  Readme.txt
drwxrwxr-x. 6 jh jh     4096  1. Sep 10:45  RimWorldLinux_Data
-rwxrwxr-x. 1 jh jh 31759660  1. Sep 10:45  RimWorldLinux.x86
-rwxrwxr-x. 1 jh jh 31369344  1. Sep 10:45  RimWorldLinux.x86_64
-rwxrwxr-x. 1 jh jh    47519  1. Sep 10:04  ScenarioPreview.jpg
drwxrwxr-x. 4 jh jh     4096  1. Sep 10:04  Source
-rwxrwxr-x. 1 jh jh     3801  1. Sep 10:04  start_RimWorld_openglfix.sh
-rwxrwxr-x. 1 jh jh      868  1. Sep 10:04  start_RimWorld.sh
-rwxrwxr-x. 1 jh jh        6  1. Sep 10:04  steam_appid.txt
drwxrwxr-x. 2 jh jh     4096 15. Sep 22:50  steam_shader_cache
-rwxrwxr-x. 1 jh jh       18  1. Sep 10:45  Version.txt


The non-steam version runs fine, but has a different folder layout, for example the data folder is called "RimWorld2009Linux_Data".

Jonha

FYI: I reinstalled the Steam game completely, and now it works...

2.71828

Quote from: Jonha on September 16, 2018, 05:05:05 AM
FYI: I reinstalled the Steam game completely, and now it works...

Was that really all you did? I currently have the same problem, but reinstalling didn't help. I think I followed all the steps in https://ludeon.com/forums/index.php?topic=4805.0 correctly, but Rimworld still won't start, which is very odd, because I never had this particular problem before. I even started Rimworld 1.0, and played B19 before without any problems. The only reason I have this problem is because yesterday Steam randomly crashed, when I opened it up again, all of my games weren't installed anymore, and I had to 'install' Rimworld again.

Canute

I bet you got the common steam update problem, remaining files from old versions.
Since uninstall only delete latest install files, the old ones still remain.

Just try to delete the Core folder, and let steam repair/reinstall it.

2.71828

Well, I'm pretty sure that this is either some kind of Steam, or some kind of Unity problem, but I'm pretty confident that I did a clean reinstall of Rimworld, i.e. I deleted everything (manually, after letting Steam uninstall it) before I tried to install it again, after a normal (re-)install and Steam's repair function didn't work. I also tried to use Steam's repair function a couple of times after that, but to no avail.

I got into a bit more detail about what I tried in a reply to the 'Black screen? Or, game won't run?' thread: https://ludeon.com/forums/index.php?topic=4805.msg441398#msg441398.

Canute

Then a good start would be to provide an error log, how to find them read at
https://ludeon.com/forums/index.php?topic=513.0

2.71828

1. Thanks for your help.

2. I don't think this will be of much help:

rimworld_log:
Set current directory to /home/[username]/.local/share/Steam/SteamApps/common/RimWorld
Found path: /home/[username]/.local/share/Steam/SteamApps/common/RimWorld/RimWorldLinux.x86_64
There is no data folder


That's literally it (apart from my censored username). This is the whole log file.

And player.log doesn't exist. To be more precise, the folder "/home/[username]/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/" is completely empty (no empty sub-folders either). I guess this gets filled with stuff the first time you start Rimworld up. As this never happens, there's nothing there.

As I wrote before, I tried to to a (very) clean reinstall, so I tried to remove every trace of Rimworld before I tried to install it again. The only thing I kept between tries were my save files, at a different file location.

I also don't know whether this will be of any use, but here's the current file structure of my Rimworld install, i.e. the contents of "/home/[username]/.steam/steam/SteamApps/common/RimWorld/", up to level 3 (i.e. the output of "tree -L 3" in "/home/[username]/.steam/steam/SteamApps/common/RimWorld/"; I can post the whole directory tree as well, if that helps):

.
├── EULA.txt
├── Mods
│   └── Core
│       ├── About
│       ├── Defs
│       └── Languages
├── Notes for Linux Users.txt
├── Readme.txt
├── RimWorldLinux_Data
│   ├── globalgamemanagers
│   ├── globalgamemanagers.assets
│   ├── level0
│   ├── level1
│   ├── Managed
│   │   ├── Assembly-CSharp.dll
│   │   ├── Assembly-CSharp-firstpass.dll
│   │   ├── Mono.Posix.dll
│   │   ├── Mono.Security.dll
│   │   ├── mscorlib.dll
│   │   ├── System.Configuration.dll
│   │   ├── System.Core.dll
│   │   ├── System.dll
│   │   ├── System.Security.dll
│   │   ├── System.Xml.dll
│   │   ├── System.Xml.Linq.dll
│   │   ├── TextMeshPro-1.0.55.56.0b11.dll
│   │   ├── UnityEngine.dll
│   │   ├── UnityEngine.dll.mdb
│   │   ├── UnityEngine.Networking.dll
│   │   └── UnityEngine.UI.dll
│   ├── Mono
│   │   ├── etc
│   │   ├── x86
│   │   └── x86_64
│   ├── Plugins
│   │   ├── x86
│   │   └── x86_64
│   ├── Resources
│   │   ├── unity_builtin_extra
│   │   ├── unity default resources
│   │   └── UnityPlayer.png
│   ├── resources.assets
│   ├── resources.assets.resS
│   ├── resources.resource
│   ├── sharedassets0.assets
│   └── sharedassets1.assets
├── RimWorldLinux.x86
├── RimWorldLinux.x86_64
├── ScenarioPreview.jpg
├── Source
│   ├── RimWorld
│   │   ├── Defs
│   │   ├── Thing
│   │   └── ThingComps
│   └── Verse
│       ├── AI
│       ├── Defs
│       ├── Thing
│       └── ThingComps
├── start_RimWorld_openglfix.sh
├── start_RimWorld.sh
├── steam_appid.txt
└── Version.txt

25 directories, 38 files

durbamp

Hello,

After uninstall/reinstall no success.
So i did an strace:
Quotestrace ./RimWorldLinux.x86_64

Quote
...
stat("/g/_steam/SteamApps/common/RimWorld/Data/data.unity3d", 0x7ffc99a1afc0) = -1 ENOENT (No such file or directory)
access("/g/_steam/SteamApps/common/RimWorld/Data/data.unity3d", F_OK) = -1 ENOENT (No such file or directory)

=> still the f***** steamapps/SteamApps problem.

Just moving RimWorld dir from steamapps to SteamApps solved the issue.

I had the same problem with Kerbal Space Program, and so many other games Unity3D games... I still do not understand what triggers the problem.


2.71828

I guess the problem is that most stuff is probably being developed on Windows, and Windows is (idiotically) case-insensitive (at least when it comes to file and folder names), whereas Linux isn't. Therefore, for Windows, "steamapps" = "SteamApps", whereas for Linux (or any other Unix-based OS, like MacOS), "steamapps" ≠ "SteamApps".

Canute

But isn't that a problem from Steam ?
Steam setup the folder for SteamApps not Rimworld.