Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Banished (242920)

Open juliotux opened this issue 8 years ago • 47 comments

Banished is working perfectly via Proton. This game is (I think) in OpenGL. It should be whitelisted.

System information: https://gist.github.com/juliotux/3a0f54caaa38bb349fb2229d0d520157

juliotux avatar Aug 23 '18 20:08 juliotux

Hello @juliotux, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

kisak-valve avatar Aug 23 '18 20:08 kisak-valve

When Banished runs in fullscreen it will result in a black screen when the mouse leaves the window. i3wm and dual monitor setup. Haven't tried with a non tiling window manager. Works fine in window mode though.

System information: https://gist.github.com/qqwa/9557dd5c5d22f84134b950463c955b9f

qqwa avatar Aug 24 '18 00:08 qqwa

Audio doesn't work here. The game is completely silent. My sysinfo: https://gist.github.com/laloch/e160eb5d347f02f87d970695eef42264

laloch avatar Aug 24 '18 12:08 laloch

Played for about 45 minutes, and worked well for me. No issues at all.

Regarding the audio issue @laloch mentioned, the game did indeed start with no audio. Toggled output source and then back to primary, and audio started. Probably a bug with Pulse.

Sysinfo: https://gist.github.com/jackfms/82f4b688d19bd27e26ff3bfce44bfd22

jackfms avatar Aug 24 '18 13:08 jackfms

... , the game did indeed start with no audio. Toggled output source and then back to primary, and audio started.

Can't confirm. Pulseaudio shows an active source, but the game stays silent no matter what I do with the source.

laloch avatar Aug 24 '18 13:08 laloch

Looks like that, for some users, xact is needed, as reported in the community driven survey. https://docs.google.com/spreadsheets/d/1DcZZQ4HL_Ol969UbXJmFG8TzOHNnHoj8Q1f8DIFe8-8/htmlview?usp=sharing&sle=true#

juliotux avatar Aug 24 '18 20:08 juliotux

Same for me, looks to work perfectly graphically, even better than on windows since fps spiked up so fast, tried it in the past with wine and had several issues. But still no sound, what is this about needing xact and how do we get it?

Gfurst avatar Aug 25 '18 00:08 Gfurst

Just noticed that it had indeed no sound... xact fixed it. @Gfurst You need to run this command: WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/242920/pfx winetricks xact

qqwa avatar Aug 25 '18 00:08 qqwa

You're right, thanks worked well, however a little strange issue, sound only seems to be coming out on one side of the stereo. And also worth noting, the compatdata folder is relative to steam library.

Gfurst avatar Aug 25 '18 01:08 Gfurst

Can confirm @qqwa solution. Running a pretty clean installation of Antergos. Had no audio, ran winetricks and installed xact and now have audio. Thank you!

tpanajott avatar Aug 25 '18 09:08 tpanajott

Oh and let me correct myself too, I said that there was only audio on one side, I think it was actually just a bad connection on the cable, so forget about that.

Gfurst avatar Aug 25 '18 15:08 Gfurst

Doesn't work on Arch 64-bit. I get an error message with Proton 3.7-4 Beta

A fatal error has occurred and the application cannot continue.

InputDevice: The application failed to create a DirectInput interface

I get this error whether or not I have used the WINEPREFEX with xact or not

System info gist: https://gist.github.com/stratus-ss/73e90ae7dcc42caf324190ea36e979cc

Log gist: https://gist.github.com/stratus-ss/936415e6ccf3799e3d7b5e516d97de9d

stratus-ss avatar Aug 25 '18 22:08 stratus-ss

@stratus-ss: Works for me on Arch 64-bit. I have only two issues with the game: 1) it needs manual installation of xact in order for the audio to work. 2) Proton can't handle screen resolution changes at all.

laloch avatar Aug 27 '18 13:08 laloch

Runs perfectly fine with Arch & x64 using ... WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/242920/pfx winetricks xact ... like qqwa described.

cRaZy-bisCuiT avatar Aug 27 '18 20:08 cRaZy-bisCuiT

stratus@stratus-desktop ~  $ WINEPREFIX=/big_space/Steam/steamapps/compatdata/242920/pfx winetricks xact
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180815 - sha256sum: 9343f9174146c0fa4d34e18e05269ae772a45ba78e3d8786829fa21895f6f7f4 with wine-3.13 (Staging) and WINEARCH=win64
Executing w_do_call xact
xact already installed, skipping

stratus@stratus-desktop ~  $ uname -r
4.18.5-arch1-1-ARCH

I deleted the game and am redownloading it right now. Not sure exactly what the problem is

EDIT: nope same problem on a fresh uninstall/reinstall of banished:


InputDevice: The application failed to create a DirectInput interface

I see this in the logs now though

119864.393:0008:0009:trace:module:load_builtin_dll Trying built-in L"dinput.dll"
119864.393:0008:0009:err:module:load_builtin_dll failed to load .so lib for builtin L"dinput.dll": /big_space/Steam/steamapps/common/Proton 3.7 Beta/dist/bin/../lib64/wine/dinput.dll.so: undefined symbol: SDL_JoystickGetVendor
119864.393:0008:0009:warn:module:load_dll Failed to load module L"C:\\windows\\system32\\dinput.dll"; status=c000007a
119864.393:0008:0009:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\dinput.dll"
119864.393:0008:0009:err:ole:CoGetClassObject no class object {25e609e0-b259-11cf-bfc7-444553540000} could be created for context 0x1
119864.393:0008:0009:err:dinput:DirectInput8Create CoCreateInstance failed with hr = 0x80070005

stratus-ss avatar Aug 30 '18 01:08 stratus-ss

I was able to get this working on a laptop with Optimus graphics (gtx 1050)

I did have to do

protontricks 242920 xact

So I am not sure what is the difference between the two systems. They are both running Arch from the same repos...

stratus-ss avatar Aug 30 '18 01:08 stratus-ss

I only played a few minutes, but so far it runs perfectly. For what its worth, I've never had trouble with this game. Meaning perfect out of the box.

nstgc avatar Aug 31 '18 16:08 nstgc

...still it's a shame the guy cancelled the native port. He wrote his own engine - props for that! Still it wouldn't have been so much trouble if he would have used SDL. :'/

cRaZy-bisCuiT avatar Sep 03 '18 14:09 cRaZy-bisCuiT

So I dont get a CTD anymore with protno 3.7-5. I haven't played long enough to comment on stability just noted that the game doesnt crash immediately for me anymore

stratus-ss avatar Sep 03 '18 22:09 stratus-ss

I tried the WINEPREFIX solution mentioned above to no avail, ended up finding protontricks that stratus mentioned on github soon after.

Here is what worked for me:

#Fetch protontricks from github and mark executable wget https://raw.githubusercontent.com/Sirmentio/protontricks/master/protontricks && chmod +x protontricks

#move protontricks to /usr/bin so it can be ran from terminal sudo mv protontricks /usr/bin/protontricks

#setup xact for banished on steam protontricks 242920 xact

#run winecfg for banished prefix using protontricks protontricks 242920 winecfg

click on libraries and add xact and xaudio2_7, leave them with native, builtin https://i.imgur.com/lvguBoG.png

this is with Ubuntu 18.04, WINEPREFIX solutions did not work for me in this case, but this did.

ghamlin219 avatar Oct 23 '18 15:10 ghamlin219