Rusty's Retirement

Rusty's Retirement

View Stats:
 This topic has been pinned, so it's probably important
Velasco 26 Apr, 2024 @ 7:01am
Windowed mode for Linux Support ?
Hello !

I've managed to get the game running quite easily. However, instead of the desktop, I see only a black screen (likely because there is nothing else running in the wine environment).

However, if the game had a windowed mode, I can set it to have always on top on my desktop and have it running it that way.
Originally posted by C4mpO:
You can run the game in windowed mode by editing the wineprefix.

Go to game directory, .../.steam/steamapps/compatdata/2666510/pfx/
Right click → open terminal here
And run “env WINEPREFIX=$PWD winecfg”

Go to graphics and enable virtual desktop. Set resolution to your screen width and hight to 480.

If you want en even lower hight you can open the user.reg in the pfx folder and find the [Software\\Wine\\Explorer\\Desktops] entry. There you can set the resolution. I set mine to "3440x340".

You can also remove the boarder from the window. Right click the boarder → more actions → no titlebar and frame.
< >
Showing 1-15 of 48 comments
InsertCoin 26 Apr, 2024 @ 7:02am 
because you are running in wine, there is no native Linux support, and wine will run it, but not support this take of lower window game
Velasco 26 Apr, 2024 @ 7:10am 
Exactly. And I think wine wouldn't have to handle the edgecase if there was a windowed option.

I did manage to leave it on a specific corner, with always on top. But, as the game doesn't run on top or left, I only got the non gameplay party of the video.

Anyhow, windowed mode would be perfect to run the game through wine
hdrasta 26 Apr, 2024 @ 8:02am 
I'm having the same issue but I'm on a Mac. I just see a black screen behind the game. Any help?
yagie 26 Apr, 2024 @ 8:42am 
Originally posted by hdrasta:
I'm having the same issue but I'm on a Mac. I just see a black screen behind the game. Any help?

Same issue on my side. Takes up my whole screen so I can't play it in idle time effectively. I have to keep minimizing it and maximizing it.
The author of this thread has indicated that this post answers the original topic.
C4mpO 27 Apr, 2024 @ 2:41am 
3
3
2
2
You can run the game in windowed mode by editing the wineprefix.

Go to game directory, .../.steam/steamapps/compatdata/2666510/pfx/
Right click → open terminal here
And run “env WINEPREFIX=$PWD winecfg”

Go to graphics and enable virtual desktop. Set resolution to your screen width and hight to 480.

If you want en even lower hight you can open the user.reg in the pfx folder and find the [Software\\Wine\\Explorer\\Desktops] entry. There you can set the resolution. I set mine to "3440x340".

You can also remove the boarder from the window. Right click the boarder → more actions → no titlebar and frame.
triin.vaino 3 May, 2024 @ 2:04pm 
Originally posted by yagie:
Originally posted by hdrasta:
I'm having the same issue but I'm on a Mac. I just see a black screen behind the game. Any help?

Same issue on my side. Takes up my whole screen so I can't play it in idle time effectively. I have to keep minimizing it and maximizing it.
To fix this do the following:

Rusty's Retirement.exe Right-click - click on Properties
Click on the Compatibility tab.
Check Disable fullscreen optimizations.
dave 3 May, 2024 @ 5:56pm 
Originally posted by C4mpO:
You can run the game in windowed mode by editing the wineprefix.

Go to game directory, .../.steam/steamapps/compatdata/2666510/pfx/
Right click → open terminal here
And run “env WINEPREFIX=$PWD winecfg”

On my system this produces only an error message:
env: ‘winecfg’: No such file or directory

But then again, Wine has never worked on my system and after spending hours trying to figure out why, I just figure I'll not bother with it. I can do a virtual window to run Windows in, but that again takes up the entire screen and rather defeats the purpose of running the game in Windows.

As I posted elsewhere, the game worked fine with the see-through section above the farming area for one part of one day but neither before then nor since. It seems if it worked one time, there must have been a patch that removed whatever it is that made it work for that little while. Reestablish whatever that was and the game should work in Linux as it should.

Thank you for posting this help since it seems to be working for others.
GhettoWalker 3 May, 2024 @ 9:07pm 
I went to local files and clicked on properties (on the rusty's retirement folder), went to compatibility and disabled full screen optimizations
LexGear 6 May, 2024 @ 3:50am 
Would LOVE proper linux support please please pretty please!
BELE 6 May, 2024 @ 7:17am 
Originally posted by dave:
Originally posted by C4mpO:
You can run the game in windowed mode by editing the wineprefix.

Go to game directory, .../.steam/steamapps/compatdata/2666510/pfx/
Right click → open terminal here
And run “env WINEPREFIX=$PWD winecfg”

On my system this produces only an error message:
env: ‘winecfg’: No such file or directory

But then again, Wine has never worked on my system and after spending hours trying to figure out why, I just figure I'll not bother with it. I can do a virtual window to run Windows in, but that again takes up the entire screen and rather defeats the purpose of running the game in Windows.

As I posted elsewhere, the game worked fine with the see-through section above the farming area for one part of one day but neither before then nor since. It seems if it worked one time, there must have been a patch that removed whatever it is that made it work for that little while. Reestablish whatever that was and the game should work in Linux as it should.

Thank you for posting this help since it seems to be working for others.

I had the same experience with the game. It worked for few hours, and then the black screen appeared again.
Nate 6 May, 2024 @ 1:05pm 
This works, but is there a way to make it always on top?
Nate 6 May, 2024 @ 1:08pm 
Never mind, figured it out! Just right click the window and click "Always on top"
Drummyralf 7 May, 2024 @ 4:29am 
Unfortunatly only solved it partly for me. My Wine "Desktop window" for some reason opens up a lot of blank space on the left side. The game would then run and open, but would be invisible (because it's actually offscreen to the right). When I resized the window to the right, the game would appear.

I "fixed" this by setting the user.reg to the width of my LEFT monitor. Once the game opens, drag the bottom right corner of your window to resize so that eventually the complete game is visible.
Then drag the complete window to the left of the screen to make the "blank" part of the window disappear off screen.

But once a fix is found for the black screen for Windows, It'll probably all work on Linux as well.
A good (and probably pretty easy to implement?) temporary solution for everyone would absolutely be a native "windowed mode" (not borderless, those aren't resizable) support by the game. But hey, I don't know the backend of this game, so depending on the backend that might actually be a pain in the arse to implement.

In Godot, there's a "window base size" that might help.
There should be something similair in Unity. Although that might mean that you'd need a Horizontal and a Vertical build. Not sure if you can change either during runtime.

Good luck with the debugging and problemsolving!
Nate 8 May, 2024 @ 8:18am 
Just as a heads up, I noticed if you set the user reg to "3440x340" it will make it impossible to click some of the elements of the game (like I was trying to delete an object at the top of the game and could not click the delete button) Changing it to 400 fixed it. Like this, if you choose the OTHER windows that you're using to be always on top, you'll still have access to the upper items while not losing screen real estate.

I agree that a native windowed mode is much needed though. I would also like to see more options for zooming as zooming out once makes it difficult to see.
Last edited by Nate; 8 May, 2024 @ 8:23am
moormaster 11 May, 2024 @ 5:54am 
What worked for me to launch winecfg was:

- go into the directory ~/.steam/steam/steamapps/compatdata/2666510/pfx
(there is an extra "steam" subdir on my system compared to the path initially mentioned)
- open a terminal and run
WINEPREFIX=$PWD ./drive_c/windows/system32/winecfg.exe

Since Steam uses proton - and proton is based on wine - you can simply run the winecfg.exe already laying around here.
Last edited by moormaster; 11 May, 2024 @ 5:55am
< >
Showing 1-15 of 48 comments
Per page: 1530 50