Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Borderlands GOTY Enhanced (729040)

Open ghost opened this issue 6 years ago • 70 comments
trafficstars

Compatibility Report

  • Name of the game with compatibility issues: Borderlands GOTY Enhanced
  • Steam AppID of the game: 729040

System Information

  • GPU: GTX 1060 6GB
  • Driver/LLVM version: 418.56
  • Kernel version: 4.18.0-17-generic
  • https://gist.github.com/TheSIlentLink/304d15b4cbde5f039283a52a0e2c0bca
  • Proton version: 4.2-2

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

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 avatar Apr 03 '19 18:04 ghost

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

ghost avatar Apr 03 '19 18:04 ghost

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

kisak-valve avatar Apr 03 '19 19:04 kisak-valve

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.

ghost avatar Apr 03 '19 20:04 ghost

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

nentibusarchitectura avatar Apr 03 '19 21:04 nentibusarchitectura

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.

CSahajdacny avatar Apr 03 '19 22:04 CSahajdacny

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.

Tank-Missile avatar Apr 04 '19 00:04 Tank-Missile

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.

rkanati avatar Apr 04 '19 00:04 rkanati

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]

sbuller avatar Apr 04 '19 01:04 sbuller

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.

kode54 avatar Apr 04 '19 01:04 kode54

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

Newbytee avatar Apr 04 '19 04:04 Newbytee

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.

lucifertdark avatar Apr 04 '19 06:04 lucifertdark

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

rkanati avatar Apr 04 '19 07:04 rkanati

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

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

NoXPhasma avatar Apr 04 '19 09:04 NoXPhasma

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

ghost avatar Apr 04 '19 09:04 ghost

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 …

luziferius avatar Apr 04 '19 13:04 luziferius

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

Francesco149 avatar Apr 04 '19 14:04 Francesco149

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.

AldoLinx avatar Apr 04 '19 14:04 AldoLinx

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.

Newbytee avatar Apr 04 '19 15:04 Newbytee

  1. Renamed BorderlandsGOTY.exe to Launcher.exe (and vice versa, just in case)
  • Game started but with stutering and flickering / increasing frame rate through inGame menu, let's say 'unlimited' (tweak that later if needed) fixed that ; Also, disable launcher and startupMovies through that menu.
  • Game freezed EVERY time i eliminated last bandit in Firestone. Managed to terminate program with killall -9 Launcher.exe
  1. Fetch winetricks and protontricks

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

  1. 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

  1. 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

ghost avatar Apr 04 '19 18:04 ghost

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.

sbuller avatar Apr 05 '19 00:04 sbuller

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

Francesco149 avatar Apr 05 '19 00:04 Francesco149

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

ghost avatar Apr 05 '19 07:04 ghost

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

philipl avatar Apr 05 '19 15:04 philipl

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.

sbuller avatar Apr 05 '19 17:04 sbuller

#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!

xDShot avatar Apr 06 '19 09:04 xDShot

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

LowZaar avatar Apr 06 '19 20:04 LowZaar

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.

AllOgreTheWorld avatar Apr 06 '19 21:04 AllOgreTheWorld

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.

kisak-valve avatar Apr 06 '19 23:04 kisak-valve

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.

kisak-valve avatar Apr 07 '19 00:04 kisak-valve