ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.34k stars 1.02k forks source link

Borderlands GOTY Enhanced (729040) #2494

Open ghost opened 5 years ago

ghost commented 5 years ago

Compatibility Report

System Information

I confirm:

Symptoms

Game doesn't launch. No window displayed

Reproduction

Enable Steam Play for all steam games Install Borderlands GOTY Enhanced Click play

steam-729040.log

ghost commented 5 years ago

Renaming BorderlandsGOTY.exe to Launcher makes the game run although it seems unstable. steam-729040.log

kisak-valve commented 5 years ago

err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed points towards #18.

ghost commented 5 years ago

After some more testing it seems that the game is quite stable although tabbing out causing some issues. Firstly it changes the resolution. This means you need to reset the resolution every time to tab out and back in. Secondly there is a chance for your game to crash if you tab out at least for me.

nentibusarchitectura commented 5 years ago

Works 100% here after renaming the executable as you recommended TheSilentLink

Ubuntu 18.04, Mesa 19.0.1 Kernel 5.0.4 and ATI RX480 60FPS Solid

Only issue is that it removed the old edition and with it my old savegames, fortunately I've got a copy on another computer...

CSahajdacny commented 5 years ago

Only issue is that it removed the old edition and with it my old savegames, fortunately I've got a copy on another computer...

That's weird, considering that Borderlands GOTY ENHANCED is a different game entry in the library with a different gameID, 729040. The original Borderlands GOTY is 8980.. You will have two different compatdata folders.

This reminds me the event of Bioshock and Bioshock Remastered... I hope They don't mess up again.

Tank-Missile commented 5 years ago

I also got it running by using TheSIlentLink's suggestion, but there's constant suttering. Nvidia proprietary driver 418.56-2, Nvidia GTX 1070. Proton 4.2-2.

rkanati commented 5 years ago

There's an option in-game to "disable launcher" - I don't have time now, but someone could try this option, and then restore the renamed files to their original names. Might avoid validation problems, or running afoul of updates.

sbuller commented 5 years ago

Having got this running as above, I'm running into situations where the game appears frozen. The display will stop drawing, but the music continues. I can alt-tab out and it seems to require a kill -9 to stop the thing. It's not clear if input is being handled. So far I've had it last up to about 5 minutes before freezing, but mostly it seems to be freezing before hitting the menu. When I did get into the game it seemed to work well.

Proton 4.2-2 Device: Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 4.20.16-200.fc29.x86_64, LLVM 7.0.1)

[edited the proton version]

kode54 commented 5 years ago

Further testing with renamed game executable, under:

GPU: RX 480 8GB Driver/LLVM version: Mesa 19.0.1 / LLVM 8.0.0 Kernel version: 5.0.5-arch1-1-ARCH https://gist.github.com/kode54/3ff952f39b407d6f806a6779838f5335#file-system_stats_rx480-txt Proton version: 4.2-2

Runs okay, but when I needed to reduce the in-game resolution to 1920x1080 for proper performance, using Borderless Window mode, upon opening the first chest in the game, the resolution appeared to become squashed, as it seemed to resize the in-game video (but not the HUD) to double the height of the screen, blurry as if it was being upscaled from 1080 to 2160, causing the top and bottom of the frame to be impossible to see.

Newbytee commented 5 years ago

Much like Tank-Missile I'm also having constant stutter with NVIDIA's proprietary driver.

GPU: GTX 970 Driver/LLVM version: 418.56 Kernel version: 5.0.5-200.fc29.x86_64 https://gist.github.com/Newbie13XD/825df4d67f217dbd6a370a3e4c87d4db Proton version: 4.2-2

lucifertdark commented 5 years ago

There's an option in-game to "disable launcher" - I don't have time now, but someone could try this option, and then restore the renamed files to their original names. Might avoid validation problems, or running afoul of updates.

The option made no difference for me, not that it matters as the game is unplayable even after renaming the executable, I got as far as claptrap saying hi & it completely froze, twice & I had to alt-tab out & kill -9 it. At least we can still play the original version for the moment.

rkanati commented 5 years ago

@lucifertdark Okay, at least we know. Thanks for trying.

NoXPhasma commented 5 years ago

I can confirm that the game runs perfectly fine, after renaming the game executable to Launcher.exe.

https://gist.github.com/NoXPhasma/b6e8c494cc5f92bbae4aae1f81cb25ee

ghost commented 5 years ago

For people having stuttering on Nvidia cards try changing the Frame limiter to Unlimited.

luziferius commented 5 years ago

GPU: GTX 1070 Driver/LLVM version: Nvidia proprietary, 415.27 Kernel version: 4.20.14-042014-lowlatency Proton version: 4.2-2 Monitor Resolution: 1680x1050

I applied the Launcher fix, as suggested above.

The main menu looks like it updates about once per second (mouse stuttering, claptrap in background teleporting around), independent of settings and resolution.

Cycling through the render resolutions in the settings crashed the game on first attempt. On second attempt, cycling backwards through the list to the highest resolution worked.

After setting all settings to the maximum (except for shadow quality, which is reported as breaking the frame rate at ultra), ingame works flawless at (almost constant) 60FPS.

It works even way better than the native BL2 and PreSequel …

Francesco149 commented 5 years ago

after the rename trick, it works flawlessly and runs even better than the original BL1. 120+ fps buttery smooth on an old r9 270x on amdgpu drivers with max fov with default settings. didn't even feel major shader compilation stutters. just make sure to set fps to unlimited in-game. this is a good candidate for whitelist once the launcher issue is resolved. https://gist.github.com/Francesco149/ca1ac8fa719ca5fa70d86cdceaf1d056

AldoLinx commented 5 years ago

After renaming the launcher and setting the fps to unlimited the game works better than the original. Even the loading screen videos works as intended.

The option of importing characters saved from the original game doesn't work. (I have both games installed) Still you can copy the save files manually.

Newbytee commented 5 years ago

I think the reason that copying characters doesn't work is due to that the games are stored in separate wineprefixes, and are therefore isolated from each other. Can confirm that disabling "smoothed" framerate fixed my issues too, and it now seems to work flawlessly.

ghost commented 5 years ago

1) Renamed BorderlandsGOTY.exe to Launcher.exe (and vice versa, just in case)

2) Fetch winetricks and protontricks

wget https://raw.githubusercontent.com/Sirmentio/protontricks/master/protontricks wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

3) Set them as executable chmod u+x "${PWD}/protontricks" "${PWD}/winetricks"

-- check if You have cabextract installed in Your distro / install it if not installed

4) Add final workarounds

WINESERVER="/<my_big_disk>/SteamLibrary/steamapps/common/Proton 3.7/dist/bin/wineserver" WINETRICKS="${PWD}/winetricks" ${PWD}/protontricks 729040 d3dx9 d3dx9_36 vcrun2005 vcrun2008 vcrun2015

(change Your path as needed, that is my SteamLibrary folder on some big_disk with PROTON v.3.7-8)

So far, so good - works as it should! GOLDEN KEYS showing 75 - so they are common with my Borderlands 2 Arch Linux kernel 5, GTX970

EDIT font messup

sbuller commented 5 years ago

Well, I don't know if it's the day's rest, or the '$ protontricks 729040 d3dx9', but I've made it to fyrestone and completed the first quest or two.

[edit] No surer way to provoke a problem than to suggest that it's gone. I've frozen once more. I'll proceed down the list of suggestions in the previous post.

Francesco149 commented 5 years ago

i played for ~9 hours today with no freezes or problems of any kind. hm, might be something specific to nvidia users

ghost commented 5 years ago

I haven’t have any crashing in fyrestone and I haven’t used any workarounds. Are you sure you are running 4.2-2?

philipl commented 5 years ago

With respect to savegames, if you copy your original borderlands save directory into the enhanced edition prefix, it can find and import them.

sbuller commented 5 years ago

Well, I disabled smoothed framerate and then managed to play for over 2 hours. The only hiccup was when I tried to host; the game crashed with a message box indicating some error that I've completely forgotten. Joining a friend's game worked well though. Aside from the initial troubles the game's performed as well as has been described.

xDShot commented 5 years ago
#include <windows.h>
// BorderlandsGOTY.exe

int main( void ) {
    char szPath[] = "BorderlandsGOTY.exe";

    HINSTANCE hRet = ShellExecute( HWND_DESKTOP, // Parent window
                                   "open",       // Operation to perform
                                   szPath,       // Path to program
                                   NULL,         // Parameters
                                   NULL,         // Default directory
                                   SW_SHOW );    // How to open

    /*
    The function returns a HINSTANCE (not really useful in this case)
    So therefore, to test its result, we cast it to a LONG.
    Any value over 32 represents success!
    */

    if ( (LONG)hRet <= 32 ) {
        MessageBox( HWND_DESKTOP, "Unable to start program", "",
                    MB_OK );
        return 1;
    }

    return 0;
}

Compile this with MinGW compiler

x86_64-w64-mingw32-gcc fukugearbox.c -o Launcher.exe

and replace Launcher.exe with generated one. Voilà! You won't need to mess with this ugly crappy .NET Framework and you won't see this useless launcher!

LowZaar commented 5 years ago

game runs smoothly for me, but after killing the last bandit in fyrestone, getting the quest to push the button to open Dr Zed's home, the game crashed before loading the cutscene, restarting the game and choosing my character makes me do the tutorial all over again

AllOgreTheWorld commented 5 years ago

Having issues here, game launches fine in windows but recieve this error when launching the game: Selection_004

Attempted to perform the BorderlandsGOTY.exe to Launcher.exe allows the game to get to the splash screen, but I get no further than this.

kisak-valve commented 5 years ago

Hello @AllOgreTheWorld, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

AllOgreTheWorld commented 5 years ago

steam-729040.log

kisak-valve commented 5 years ago

These might be lines of interest: fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized

Please also 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.

AllOgreTheWorld commented 5 years ago

https://gist.github.com/AllOgreTheWorld/f0922a4c21fa8b9421dece3d82711b7f

kisak-valve commented 5 years ago

Since we have multiple reports of the game running with the launcher bypassed on similar hardware, but with Mesa 19.0.1, instead of 18.2.8, it may be worth trying Padoka Stable PPA.

AllOgreTheWorld commented 5 years ago

Uprgrading from Mesa 18.2.8 to 19.0.1 appears to have no effect, same error occurs. Logs and new gist of system info attached. steam-729040.log https://gist.github.com/AllOgreTheWorld/a0392c3b07aab292827c23acf113fe05

xDShot commented 5 years ago

Works fine for me, except I had to bypass the launcher with stub above

https://gist.github.com/xDShot/58ca109a927f1d1bb5b8bb34f3ba0b1e

rkanati commented 5 years ago

@xDShot is that really necessary? Why not just a symlink?

xDShot commented 5 years ago

¯\_(ツ)_/¯

xDShot commented 5 years ago

Well, it was in consideration for Windows platform to replace the launcher as well. And it's unknown how the game could behave if it was launched with renamed executable.

rkanati commented 5 years ago

@xDShot The windows thing is a fair point, but I sincerely doubt the renamed executable would be an issue for the game.

jonty-comp commented 5 years ago

Sadly can't get further than the 2K movie without freezing and having to kill -9 - also once or twice it's come up with an error box over the splash that I haven't been able to capture yet, but will update if I can.

steam-729040.log steam_system_info.txt

roothorick commented 5 years ago

There's another gotcha I haven't seen mentioned: If a 5.1 or 7.1 capable sink is the default, the game will try to render audio in 5.1, but only the front left and front right channels actually reach the audio device.

Try as I might, I couldn't find a workaround. You need to switch the default sink in Pulse to one capable of stereo only to get correct audio.

NoXPhasma commented 5 years ago

I can not confirm. My default audio device is set as 5.1 and the game starts only using stereo (2 channels).

Bildschirmfoto vom 2019-04-11 16-18-11

MK-hub commented 5 years ago

@AllOgreTheWorld did you find any solution? I have exact same error when launching game

lavadrop commented 5 years ago

I reported this on the DXVK tracker, but I can't get an apitrace.

When playing the Island of Dr. Ned DLC, having more than 2 particle effects on screen impacts performance heavily.

I'm getting 60 fps normally, but when the games renders fire or lightning, my performance drops to 14 FPS. The issue can be triggered easily when shooting bats on the beach with a shock weapon. I did an apitrace but apitrace makes Borderlands hang right after launching. All I could do is get Proton logs all the way to the bug.

Software information

Borderlands GOTY Enhanced. 729040. Custom graphics level, Borderless window, 2560*1080 60Hz, VSync On, Pause game on focus On, Framerate locking off, 16x Anisotropic filtering, FXAA on, Dynamic shadows on, Ultra shadow detail, bullet decals on, Foliage Texture and Detail High, Ambient occlusion Bloom DOF Flare outs ON, Level of detail High. steam-729040.zip

System information

GPU: RX 580
Driver: DRM 3.27.0, 5.0.2-050002-generic, LLVM 9.0.0, OpenGL 4.5 (Compatibility Profile) Mesa 19.1.0-devel - padoka PPA
Wine version: Proton 4.2-2
DXVK version: 1.0.1
tomaszg7 commented 5 years ago

It seems that update to Proton 4.2-3 deleted my saves from the game. Also they don't seem to be backed up to Steam cloud.

Newbytee commented 5 years ago

I can confirm that in my case no saves were harmed when going from Proton 4.2-2 to 4.2-3.

Francesco149 commented 5 years ago

@tomaszg7 did you delete your compatdata folder for the game? the saves are in there

tomaszg7 commented 5 years ago

Of course not :) However the directory ~/.local/share/Steam/steamapps/compatdata/729040/pfx/drive_c/users/steamuser/My Documents/My Games/Borderlands Game of the Year/Binaries/SaveData contains only profile.bin.

The borderlands directory in My Games which I copied manually to migrate save games from original version is still intact (but contains out-of-date saves).

Francesco149 commented 5 years ago

thanks for the heads up then, will keep a backup just in case

kode54 commented 5 years ago

Is it too late to recommend starting fresh anyway? I started a new game when I began with this enhanced rerelease, if only because I didn’t know it imported old saves. Lots of bosses and even boss enemies and badasses are dropping random purple loot that I don’t remember seeing so much of in my playthroughs of the original game. I still need to find someone to coop the mandatory coop achievements, including Crawmerax.

E: Can anyone confirm whether saves created with this version are lost, or just manually imported saves?

master-caster commented 5 years ago

It might be worth to mention that the game won't start with wayland using the proprietary nvidia driver.

I'm using Ubuntu 19.04 and gnome with wayland is working nearly out of box but 3D with XWayland is utterly broken using proprietary nvidia driver.

If you have a similar setup login with xorg and enjoy the game ;-)