Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lucky-Lynx opened this issue Aug 25, 2018 · 33 comments
Open

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

Lucky-Lynx opened this issue Aug 25, 2018 · 33 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@Lucky-Lynx
Copy link

Lucky-Lynx commented Aug 25, 2018

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

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 25, 2018
@kisak-valve kisak-valve changed the title Lego Star Wars: The Complete Saga - Audio Bug Lego Star Wars: The Complete Saga - Audio Bug (32440) Aug 25, 2018
@Lucky-Lynx
Copy link
Author

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
Copy link

hzulla commented Sep 9, 2018

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
Copy link

wberrier commented Sep 9, 2018

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
Copy link
Member

Lego Star Wars - The Complete Saga

Issue transferred from #2033.
@Leon422 posted on 2018-11-25T23:18:07:

Whitelist Request

  • Name of the game to be whitelisted: Lego Star Wars - The Complete Saga
  • Steam AppID of the game: 32440

System Information

I confirm:

  • that pressing the Play button in the Steam client is sufficient.
  • that runtime config options
    are necessary to run the game. (Disabling esync to fix an audio loop bug)
  • that no workarounds other than the mentioned ones are necessary.

Issues

  • I haven't experienced any issues.
  • There are no issues left open for this game.
  • Although I consider the gaming experience equal to Windows there are
    remaining issues:
    The audio loops incorrectly unless you disable esync. But once you do, it's perfect.

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 kisak-valve changed the title Lego Star Wars: The Complete Saga - Audio Bug (32440) Lego Star Wars: The Complete Saga (32440) Nov 25, 2018
@kisak-valve
Copy link
Member

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

@Reonu
Copy link

Reonu commented Nov 25, 2018

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
Copy link
Author

Lucky-Lynx commented Nov 26, 2018

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
Copy link

Reonu commented Nov 26, 2018

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
Copy link

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
Copy link

ritalat commented Apr 17, 2019

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
Copy link

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
Copy link

AutoUpdatingBSoD commented Jun 14, 2019

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

This comment has been minimized.

@AutoUpdatingBSoD

This comment has been minimized.

@jp7677

This comment has been minimized.

@AutoUpdatingBSoD

This comment has been minimized.

@jp7677

This comment has been minimized.

@bakkerthehacker
Copy link

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
Copy link

xDShot commented Oct 30, 2019

Doesn't work

image

@Odzinic
Copy link

Odzinic commented Mar 5, 2020

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
Copy link

qsniyg commented May 8, 2020

@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
Copy link

protontricks 32440 dinput8 lets the game launch!

@bakkerthehacker
Copy link

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

@Odzinic
Copy link

Odzinic commented May 9, 2020

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
Copy link

Odzinic commented May 10, 2020

@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
Copy link

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
Copy link

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

@E3FxGaming
Copy link

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

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

@cactushydrocodone
Copy link

cactushydrocodone commented Apr 6, 2022

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 #1981 (comment) 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

This comment was marked as off-topic.

@RossComputerGuy

This comment was marked as off-topic.

@serebit
Copy link

serebit commented Jul 21, 2023

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
Copy link

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:

  • OS: Arch (Kernel 6.6.31)
  • GPU: RX 6700 XT (Mesa 24.0.8)
  • CPU: Ryzen 7 5700G (8c/16t)
  • 16 Gb RAM
  • DE: 6.0.4 (xwayland 24.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests