Jump to content

ONI not generating a Player.log file (running on Linux via Steam using Wine/Proton)


scott4dges
  • Branch: Live Branch Version: Linux Pending

Please feel free to redirect this issue/request to the proper forum if this is not in fact a Bug.

It seems that the game is not outputting a current Player.log file in the typical location for my operating system (Linux). However, I'm running Nobara 43 Linux and playing ONI through Steam. As a fairly non-technical person, my understanding is that using Steam on this system runs through Wine/Proton.

For example, I have game files in two locations on this system:

1. /home/<user>/.config/unity3d/Klei/Oxygen Not Included/ (for Linux)

2. /home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/Documents/Klei/OxygenNotIncluded/ (also Linux but representing the Windows structure)

I originally purchased ONI on Windows through Steam and have played for many years, but recently migrated to Linux and have been doing so successfully for several months. The game runs perfectly and I'm able to use mods, etc. without a problem.

Note that there WAS a Player.log file but it was from February and not current. In an effort to have the game generate a new log file, I deleted that one. But the game doesn't appear to be writing anything to or creating a new Player.log file.

Hopefully someone can help me understand/troubleshoot this issue so I can properly review a log file. Thank you.


Steps to Reproduce

1. Go to Linux location for log file and verify whether Player.log exists

2. Open Steam on Linux, then open ONI; let the game run for several minutes, then save.

2. Quit the game to the Desktop, then go back to Linux location for log file - no log created after playing & closing the game.




User Feedback


Obviously, on Proton the log file needs to be looked at
/home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/AppData/LocalLow/Klei/Oxygen Not Included

but what didn't suit you about the Linux native version ?

Share this comment


Link to comment
Share on other sites

  1. ONI runs natively on Linux, and by default, Steam will use this native version unless you go out of your way and manually select a version of Proton as a compatibility tool in the game's properties:
    image.png.925f15675801696ac36d06e2201ba413.png
    (Conversely, games that default to using Proton even though they have a native linux version - points finger at Don't Starve Together - can be forced to using the latter by selecting one of the "Linux runtime" options. Those don't appear at all for games that don't have linux builds available.)
  2. As far as a user of Steam is concerned, Steam doesn't care what OS you purchased a game on - if you own ONI on Steam, you have access to all (Windows/mac/Linux) builds. You can install different builds across different devices. You owning the game on Steam always covers all builds.

Where was the log file you attached? The content indicates it's from a native linux version, and is dated March 18th this year, not February. 

Check the game's properties in steam - which directory is used depends on if you're running the native build or the windows one through proton.

If you are running the Linux version and the log still doesn't appear, then it might be some kind of permission/access issue. I haven't encountered any myself, maybe you're running the dreaded Flatpak version of Steam..? You can check if that is installed by issuing this in a terminal

flatpak list | grep -i steam

 

Share this comment


Link to comment
Share on other sites

8 hours ago, Sanchozz said:

Obviously, on Proton the log file needs to be looked at
/home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/AppData/LocalLow/Klei/Oxygen Not Included

but what didn't suit you about the Linux native version ?

Thank you for your comment. Honestly, I didn't choose one or the other. I think Steam was actually already installed using Nobara Linux and then I downloaded ONI after logging into my Steam account. I'm pretty new to Linux so I was glad to see it "just worked" (as they say).

Share this comment


Link to comment
Share on other sites

8 hours ago, myxal said:
  1. ONI runs natively on Linux, and by default, Steam will use this native version unless you go out of your way and manually select a version of Proton as a compatibility tool in the game's properties:
    image.png.925f15675801696ac36d06e2201ba413.png
    (Conversely, games that default to using Proton even though they have a native linux version - points finger at Don't Starve Together - can be forced to using the latter by selecting one of the "Linux runtime" options. Those don't appear at all for games that don't have linux builds available.)
  2. As far as a user of Steam is concerned, Steam doesn't care what OS you purchased a game on - if you own ONI on Steam, you have access to all (Windows/mac/Linux) builds. You can install different builds across different devices. You owning the game on Steam always covers all builds.

Where was the log file you attached? The content indicates it's from a native linux version, and is dated March 18th this year, not February. 

Check the game's properties in steam - which directory is used depends on if you're running the native build or the windows one through proton.

If you are running the Linux version and the log still doesn't appear, then it might be some kind of permission/access issue. I haven't encountered any myself, maybe you're running the dreaded Flatpak version of Steam..? You can check if that is installed by issuing this in a terminal

flatpak list | grep -i steam

 

Thank you - excellent reply and very helpful. A couple points in response:

- The Compatibility thing, I'm using `Proton-GE Latest' which is actually from the guy who created Nobara and it works very well for several other games I run. Would that be something that could cause the logs to save in diferent places? As in I'm actually not running the Linux version so it's not saving in the Unity3D folder (where Linux is supposed to save)?

- The log file attached was the only other "log file" that I've got in that Unity3d folder. The other Proton location (under /.steam/...) doesn't have any logs.

- So the March 18th the date of the "Player-prev.log" provided is the create date which I also saw in the deleted "Player.log", but I also saw initialization dates in that one going back to February, which is why I mentioned it. (I may be confused on this point, because I think March 18th was also the last "Player.log" that I had). Again, I deleted that log file thinking that it would be recreated by ONI, which it wasn't.

...

So, quick Discord chat with the Nobara Linux people and this distro automatically installs Steam via DNF and maintains it through that repository. There IS a Flatpak version, but `flatpak list` doesn't show anything related to Steam and I've confirmed that's not the default way to install Steam on Nobara.

Another piece to this puzzle, I've found that the latest version of Proton-GE was released on 3/18/26 so that being the last log I had, is it possible that running the game through the latest version of Proton isn't saving the log file(s) properly?

If it is an issue with Compatibility and/or Proton - what is the troubleshooting path? Do I try running it without Compatibility for Proton-GE? Re-install Steam?

Or perhaps there's some as-yet-unknown location where log files could be written?

 

 

Share this comment


Link to comment
Share on other sites

Eureka! I think I may have found this 3rd location for log files on Linux running OxygenNotIncluded through Wine/Proton for games made with Unity:

/home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/AppData/LocalLow/Klei/Oxygen Not Included/

According to a single comment from 5 years ago (3rd page in Discord searching "Player.log") someone referenced this format:

Inside the [Wine] prefix using 'c:\users\steamuser\AppData\LocalLow\CompanyName\ProductName\Player.log'

So there is in fact a `Player.log` in that folder and it's from 4/19/26.

Hopefully Google picks up this thread so other Wine/Proton users can find this secret cache of Unity gamedata logging under these somewhat specific conditions.

Good luck future people!

Share this comment


Link to comment
Share on other sites

9 hours ago, scott4dges said:

Eureka! I think I may have found this 3rd location for log files on Linux running OxygenNotIncluded through Wine/Proton for games made with Unity:

/home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/AppData/LocalLow/Klei/Oxygen Not Included/

According to a single comment from 5 years ago (3rd page in Discord searching "Player.log") someone referenced this format:

I see you are very attentive

19 hours ago, Sanchozz said:

Obviously, on Proton the log file needs to be looked at
/home/<user>/.steam/steam/steamapps/compatdata/457140/pfx/drive_c/users/steamuser/AppData/LocalLow/Klei/Oxygen Not Included

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...