ValveSoftware / Proton

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

Lego Star Wars: The Complete Saga (32440) #524

Open Lucky-Lynx opened 5 years ago

Lucky-Lynx commented 5 years ago

I tested Lego Star Wars: The Complete Saga and it rang great for the first level, haven't played further. Only issue I came across was that any background music would loop after the first few seconds and not play through cut scenes and in-game.

Tested on Linux Mint 18.3, Kernel 4.4.0-124-generic, Proton 3.7-4 Beta, NVIDIA 396.54, i5 4690, GTX 1080

Lucky-Lynx commented 5 years ago

Can confirm that adding "PROTON_NO_ESYNC=1 %command%" as a Launch Option under Properties for the game in Steam appears to have completely fixed the issue.

hzulla commented 5 years ago

The gamepad isn't detected inside the game on my machine: System info. Meanwhile, Lego Star Wars The Last Jedi on the same machine does detect it.

wberrier commented 5 years ago

About gamepads, under wine this game suffers from this bug: https://bugs.winehq.org/show_bug.cgi?id=42137

I had been meaning to test under proton. But, if it doesn't suffer from the above bug, it sounds like maybe dinput isn't supported with proton?

kisak-valve commented 5 years ago

Lego Star Wars - The Complete Saga

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2033. @Leon422 posted on 2018-11-25T23:18:07:

Whitelist Request

System Information

I confirm:

Issues

Note: I also tested the game on a laptop with a Nvidia 820M and it ran at a locked 60 FPS at 1600x900. Therefore, we can conclude that this game can run on a toaster, even with esync disabled.

kisak-valve commented 5 years ago

Looks like the game controller issue is something to consider a blocker to switching this issue report over to a whitelist request?

Reonu commented 5 years ago

Curious, my wired first-gen Xbox One gamepad worked perfectly. The game picked it up right away. It prompted me to configure it and the bindings showed the Xbox One button icons and everything. What's the issue exactly?

Lucky-Lynx commented 5 years ago

I found I had to change my Controller Settings in Steam (easiest in Big Picture Mode) to turn off "Configuration Support". I'm not in front of my home PC at the moment, but I'm pretty sure that fixed the issue for me on this game and a few others.

Reonu commented 5 years ago

Well yeah, I don't have "Xbox Controller configuration" enabled on Steam Input. I just plugged in the controller normally. Maybe that's why it works for me?

codeman101 commented 5 years ago

I'm glad this issue is still open because I disagree that a whitelist request can be made if the game requires environment variable tweaks since you;d have to execute them from the terminal to launch steam every time you want to play that game.

ritalat commented 5 years ago

since you;d have to execute them from the terminal to launch steam every time you want to play that game.

You can set environment variables per game via the launch options. PROTON_NO_ESYNC=1 %command% in this case.

codeman101 commented 5 years ago

since you;d have to execute them from the terminal to launch steam every time you want to play that game.

You can set environment variables per game via the launch options. PROTON_NO_ESYNC=1 %command% in this case.

Yeah I learned about that method after making that post. Although I wound up using the user_settings.py file after finally finding a youtube video that told me where it was. However using the method you're referring editing the option for the game within steam. Can that be used for multiple tweaks?

AutoUpdatingBSoD commented 5 years ago

I know I'm a bit late to this party, but....

I completely disagree with a whitelist as well. When I load up the game, It just shows some of the models (greyed out), and the esync patch does not work for fixing the sound bug.

Edit: By some of the models, I mean instead of the main menu, like it should show, the game just shows some of the models (staying still, right in front of the screen) and the screen flickers a bit. I've searched high and wide for a fix to this to no avail.

Edit 2: Got both fixed. A reboot was all I needed for the wierd models issue (thankfully), and as for the sound bug I'm still not sure how I fixed it.

jp7677 commented 4 years ago

This game wont start anymore on my machine with 4.11. Both D9VK and Wine3D are crashing. Looking at the D9VK log it seems that the game tries to initialize some weird resolution, fails and falls back to 640x480 which fails in the end. The resolution I used with 4.2 and thus is persisted in the game settings is 3440x1440.

May be related to https://github.com/ValveSoftware/Proton/issues/1990#issuecomment-517904701 and https://github.com/ValveSoftware/Proton/issues/2932

LEGOStarWarsSaga_d3d9.log

AutoUpdatingBSoD commented 4 years ago

This game wont start anymore on my machine with 4.11. Both D9VK and Wine3D are crashing. ........

I know this is a stretch, but have you tried using either of the older Proton versions through the Game Settings in Steam (i.e. 3.16)....?

May sound silly if you've tried it, but I had to do something similar for Bloodstained: Curse of the Moon.

jp7677 commented 4 years ago

@EdgyBama Thanks for your response. I haven't explicitly tested this, but I'm pretty sure this game will start again once I pin it to Proton 4.2. So this would be indeed a valid work-around. That said I wanted to report that something weird goes on when using 4.11.

AutoUpdatingBSoD commented 4 years ago

@jp7677 I see. Apologies for the miscommunication on my end :+1: .

jp7677 commented 4 years ago

The issue with the game not starting anymore has been fixed with Proton 4.11-2. Thanks a lot!

bakkerthehacker commented 4 years ago

I have yet to get this game to start at all.

Proton crashes with an unhandled page fault on read access. I have tested on proton 3.7-8, 3.16-9, 4.2-9 and 4.11-3, none work. It seems in every version, the crash is either in libsdl2 or JoystickAGenericImpl.

steam-32440-3.7-8.log steam-32440-3.16-9.log steam-32440-4.2-9.log steam-32440-4.11-3.log

xDShot commented 4 years ago

Doesn't work

image

Odzinic commented 4 years ago

The game has been booting into a black screen for me recently. There is a slight white flicker then it goes back to a black screen and stays there. I've attempted launching it with Proton 4.2, 4.11 and 5.0 with no luck. The attached log is for Proton 5.0.

steam-32440.log

EDIT: With help from @qsniyg, the backtrace of what happened before the crash was found to be

Backtrace:
=>0 0x7e5c8e11 joystick_map_axis+0x11() in dinput8 (0x0032fb88)
  1 0x7e5d05aa poll_sdl_device_state+0x69() in dinput8 (0x0032fbd8)
  2 0x7e5c87b4 JoystickWGenericImpl_Poll+0x73() in dinput8 (0x0032fbf8)
  3 0x7e5c881c JoystickAGenericImpl_Poll+0x1b() in dinput8 (0x0032fc28)
  4 0x006d770e EntryPoint+0xffffffff() in legostarwarssaga (0x0318558c)
qsniyg commented 4 years ago

@bakkerthehacker Have you tried running protontricks 32440 dinput8?

Also, does the game run under normal wine? In @Odzinic's case (which is very similar to yours), the issue was only present under proton, as the proton branch uses SDL for gamepads (though I don't believe the issue is due to SDL, but rather due to proton's code).

bakkerthehacker commented 4 years ago

protontricks 32440 dinput8 lets the game launch!

bakkerthehacker commented 4 years ago

Controllers are not working (xbox 360 wired, dualshock 4, dualshock 4 with ds4drv --emulate-xpad) but at least its a start

Odzinic commented 4 years ago

Controllers are not working (xbox 360 wired, dualshock 4, dualshock 4 with ds4drv --emulate-xpad) but at least its a start

Hm same issue with me for my DS3. Other LEGO games are detecting it without a problem but this one can't. It did work before with the game. Tested with Steam controller as well and unable to get it detected as well. In both BPM and normal launching.

Odzinic commented 4 years ago

@qsniyg helped me fix my controller issue as well. They recommended that I copy over the native wine dinput dll files over to the Proton version that LEGO Star Wars is using. The commands they recommended were:

cp /usr/lib64/wine/dinput*.dll.so ~/.steam/steam/steamapps/common/Proton\ 5.0/dist/lib64/wine
cp /usr/lib64/wine/fakedlls/dinput*.dll ~/.steam/steam/steamapps/common/Proton\ 5.0/dist/lib64/wine/fakedlls
cp /usr/lib32/wine/dinput*.dll.so ~/.steam/steam/steamapps/common/Proton\ 5.0/dist/lib32/wine
cp /usr/lib32/wine/fakedlls/dinput*.dll ~/.steam/steam/steamapps/common/Proton\ 5.0/dist/lib32/wine/fakedlls

On Ubuntu I found that the files were located in /opt/wine-staging/lib and /opt/wine-staging/lib64. After copying all of those over, my controller worked right away. Had to remap the controls by using my keyboard and then pressing the relevant buttons on my controller but after doing that I was able to play without an issue.

Reddit comment of the fix

E3FxGaming commented 3 years ago

Using Proton 4.11-13 and the launch options PROTON_NO_ESYNC=1 %command% doesn't fix the looping audio problems for me.

Proton log file (just me going into the title screen where the theme music loops over and over again - the looping audio problem is present while playing the game too, but not entering the game beyond the title screen keeps the logfile small):

steam-32440.log

System Information

mkroening commented 3 years ago

@E3FxGaming, you are using fsync. Try disabling both esync and fsync.

E3FxGaming commented 3 years ago

@E3FxGaming, you are using fsync. Try disabling both esync and fsync.

@mwkroening Thank you so much, this fixed my problem.

cactushydrocodone commented 2 years ago

When i move around the main menu, with fsync and esync disabled, the audio switches between left and right, its difficult to explain.

i checked the pipewire logs, nothing. No other game does this

EDIT: in the proton log file, i saw this:

9737.428:0124:0190:fixme:dsound:DSOUND_MixerVol There is no support for 8 channels

This https://github.com/ValveSoftware/Proton/issues/1981#issuecomment-812626164 didnt help sadly

After tinkering around, i found it: IF you have a surround audio device, you need to set the sound system to "alsa". To do this:

  1. Stop the game
  2. Install protontricks
  3. Choose the game with protontricks --gui
  4. Choose "select default wineprefix"
  5. Choose "change wine settings" or something like that, my system is not in english
  6. Scroll down and toggle the checkbox to enabled by "sound=alsa"
  7. Now if you start the game, the glitch is gone!
kisak-valve commented 1 year ago

Hello @RossComputerGuy, 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.

RossComputerGuy commented 1 year ago

@kisak-valve I made a comment in the wrong issue, woops. I though this was for the Skywalker Saga.

serebit commented 12 months ago

Discovered a minor issue with this game on Steam Deck, though I wasn't able to reproduce it when I tried again just now on a different level.

I paused the game while playing the Super Story in Episode 6—I believe I was on 6-4 when I paused the game, though it may have been 6-3. I suspended the Deck and left it for a while. When I came back, woke up the Deck, and unpaused the game, all audio tracks (sound effects and music) were playing at double speed at normal pitch with frequent crackles, which sounded to me like every other audio sample was being skipped. After a few minutes of this, the game closed itself—I'm not sure if that's related, but I haven't seen TCS crash to desktop before, so it might be.

As mentioned, I attempted to reproduce this just now on 2-2 freeplay with no success, so I can't speak to how common this issue is. I can attempt to reproduce again if needed.

ranplayer commented 1 month ago

The only issue I've noticed on this game using Proton 9.0-1/Experimental (2024-05-23) is the stuttering that happens during the opening cutscenes of every level. Checking with DXVK's HUD, it seems related to shader compilation (though if you close the game, and start the same level, the stuttering will happen again. for some reason the game doesn't seem to read pre-cached shaders ?). I could observer the same behaviour for WineD3D. We've been discussing this on a DXVK thread, but it's unlikely to be something on their side. This is not major, since I haven't notice stuttering during gameplay. It's possible to be a game or wine bug. I'll leave the Proton logs anyway: steam-32440.tar.gz

My specs: