ultrastares / ultrastar-worldparty

UltraStar WorldParty. A karaoke game inspired by SingStar™
https://ultrastar-es.org
GNU General Public License v3.0
134 stars 35 forks source link

Game crashes upon start if Joystick is enabled #97

Open Gamrin opened 2 months ago

Gamrin commented 2 months ago

When starting the game, if the Joystick is enabled or not present in the config, the game freezes on the "Loading" screen.

I worked around this on my downstairs computer by disabling the Joystick in the configuration file (config.ini). Joypad=Off


UltraStar WorldParty 21.02 Error Log
Date: 12/06/2024 Time: 10:23:44
-------------------
[12/06/2024 10:23:44] STATUS: Searching for ini file themes in C:\Program Files (x86)\UltraStar WorldParty\themes\ [Theme.LoadList]
[12/06/2024 10:23:44] STATUS: Found theme Argon [Theme.LoadList]
[12/06/2024 10:23:44] STATUS: Found theme Neon [Theme.LoadList]
[12/06/2024 10:23:45] STATUS: Initializing database: "C:\Program Files (x86)\UltraStar WorldParty\Ultrastar.db" [TDataBaseSystem.Init]
[12/06/2024 10:23:45] STATUS: GamePath : C:\Program Files (x86)\UltraStar WorldParty\ []
[12/06/2024 10:23:45] STATUS: Using config : C:\Program Files (x86)\UltraStar WorldParty\config.ini [Ini]
[12/06/2024 10:23:45] STATUS: Found resolutions: 22 [Video]
[12/06/2024 10:23:45] STATUS: Loading: C:\Program Files (x86)\UltraStar WorldParty\themes\Argon.ini [TTheme.LoadTheme]
[12/06/2024 10:23:45] STATUS: Searching for songs [SongList]
[12/06/2024 10:23:45] STATUS: Search complete: 0 songs found (0 with errors) [SongList]
[12/06/2024 10:23:45] STATUS: Use config resolution [SDL_SetVideoMode]
[12/06/2024 10:23:45] STATUS: Creating window [SDL_SetVideoMode]
[12/06/2024 10:23:45] STATUS: Set Video Mode...   Borderless fullscreen [SDL_SetVideoMode]
[12/06/2024 10:23:45] INFO:   OpenGL vendor NVIDIA Corporation [UGraphic.InitializeScreen]
[12/06/2024 10:23:45] INFO:   OpenGL renderer NVIDIA GeForce GTX 1080/PCIe/SSE2 [UGraphic.InitializeScreen]
[12/06/2024 10:23:45] INFO:   OpenGL version 4.6.0 NVIDIA 555.85 [UGraphic.InitializeScreen]
[12/06/2024 10:23:45] INFO:   OpenGL vendor NVIDIA Corporation [TTextureUnit.Create]
[12/06/2024 10:23:45] INFO:   OpenGL renderer NVIDIA GeForce GTX 1080/PCIe/SSE2 [TTextureUnit.Create]
[12/06/2024 10:23:45] INFO:   OpenGL version 4.6.0 NVIDIA 555.85 [TTextureUnit.Create]
[12/06/2024 10:23:45] INFO:   OpenGL TextureNPOT-support: -1 [TTextureUnit.Create]
[12/06/2024 10:23:46] INFO:   Using decoder BASS_Decoder for "C:\Program Files (x86)\UltraStar WorldParty\sounds\forward sound.mp3" [TAudioPlaybackBase.OpenDecodeStream]
[12/06/2024 10:23:46] INFO:   Using decoder BASS_Decoder for "C:\Program Files (x86)\UltraStar WorldParty\sounds\back sound.mp3" [TAudioPlaybackBase.OpenDecodeStream]
[12/06/2024 10:23:46] INFO:   Using decoder BASS_Decoder for "C:\Program Files (x86)\UltraStar WorldParty\sounds\option sound.mp3" [TAudioPlaybackBase.OpenDecodeStream]
[12/06/2024 10:23:46] INFO:   Using decoder BASS_Decoder for "C:\Program Files (x86)\UltraStar WorldParty\sounds\background track.mp3" [TAudioPlaybackBase.OpenDecodeStream]
[12/06/2024 10:23:46] INFO:   Using decoder BASS_Decoder for "C:\Program Files (x86)\UltraStar WorldParty\sounds\beat click.mp3" [TAudioPlaybackBase.OpenDecodeStream]
[12/06/2024 10:23:46] STATUS: Initialize Joystick [Initialization]

At this point, the Logging mentions a Joystick, but the config mentions a Joypad.

Maybe make the config also respond to Joystick=Off ?