mmtrt / cncra2yr-snap

Unofficial C&C: Red Alert 2 Yuri's Revenge soaked in WINE and Snapped for Linux
https://snapcraft.io/cncra2yr
GNU Lesser General Public License v2.1
84 stars 5 forks source link

Problem with OpenAL #43

Open ungureanuradu opened 2 weeks ago

ungureanuradu commented 2 weeks ago

04.11. 20:47:30.754 Stacktrace: at Microsoft.Xna.Framework.Audio.OpenALSoundController..ctor () [0x00023] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.Audio.OpenALSoundController.get_GetInstance () [0x00007] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.SdlGamePlatform..ctor (Microsoft.Xna.Framework.Game game) [0x000d2] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.GamePlatform.PlatformCreate (Microsoft.Xna.Framework.Game game) [0x00000] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.Game..ctor () [0x001fb] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at DTAClient.DXGUI.GameClass..ctor () [0x00000] in :0 at DTAClient.Startup.Execute () [0x00207] in :0 at DTAClient.PreStartup.Initialize (DTAClient.StartupParams parameters) [0x00260] in :0 at DTAClient.Program.Main (System.String[] args) [0x00112] in :0

mmtrt commented 2 weeks ago

is this fresh install or updated previous snap,

if it is updated from previous then try fresh install.

snap remove --purge cncra2yr then install snap snap install cncra2yr --stable

ungureanuradu commented 2 weeks ago

updated

mmtrt commented 2 weeks ago

backup your game then reinstall after purge removed snap.

$HOME/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2

ungureanuradu commented 2 weeks ago

same issue:( 04.11. 21:40:36.860 KABOOOOOOM!!! Info: 04.11. 21:40:36.860 Message: OpenAL device could not be initialized, see console output for details. 04.11. 21:40:36.861 Source: MonoGame.Framework 04.11. 21:40:36.862 TargetSite.Name: .ctor 04.11. 21:40:36.867 Stacktrace: at Microsoft.Xna.Framework.Audio.OpenALSoundController..ctor () [0x00023] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.Audio.OpenALSoundController.get_GetInstance () [0x00007] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.SdlGamePlatform..ctor (Microsoft.Xna.Framework.Game game) [0x000d2] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.GamePlatform.PlatformCreate (Microsoft.Xna.Framework.Game game) [0x00000] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at Microsoft.Xna.Framework.Game..ctor () [0x001fb] in <4fc8466c27384bb19c7b81b2a6a71083>:0 at DTAClient.DXGUI.GameClass..ctor () [0x00000] in :0 at DTAClient.Startup.Execute () [0x00207] in :0 at DTAClient.PreStartup.Initialize (DTAClient.StartupParams parameters) [0x00260] in :0 at DTAClient.Program.Main (System.String[] args) [0x00112] in :0

mmtrt commented 2 weeks ago

can you update snap and retest check if issue is fixed now.

ungureanuradu commented 2 weeks ago

can you update snap and retest check if issue is fixed now.

I have the latest snap 2.65.3+24.04 snapd 2.65.3+24.04 series 16 ubuntu 24.04 kernel 6.8.0-48-generic tiberian sun olso your snap work fine. Only on Yuri i have the problem can i install a preview version of your snap?

mmtrt commented 2 weeks ago

I meant yuri snap update

snap refresh cncra2yr

ungureanuradu commented 2 weeks ago

Now i have other eror: KABOOOOOOM!!! Info: 05.11. 11:11:03.953 Message: One or more errors occurred. (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) (Acces refuzat. ) 05.11. 11:11:03.954 Source: mscorlib 05.11. 11:11:03.956 TargetSite.Name: WaitAll 05.11. 11:11:03.960 Stacktrace: at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x001c8] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <94942505ad4c4982af4db0763017d52e>:0 at DTAClient.Online.Connection.GetServerListSortedByLatency () [0x002e6] in :0 at DTAClient.Online.Connection.ConnectToServer () [0x00000] in :0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <94942505ad4c4982af4db0763017d52e>:0 05.11. 11:11:03.960 InnerException info: 05.11. 11:11:03.960 Message: Acces refuzat.

05.11. 11:11:03.961 Stacktrace: at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00068] in :0 at System.Net.NetworkInformation.Ping.SendPrivileged (System.Net.IPAddress address, System.Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) [0x00008] in :0 at System.Net.NetworkInformation.Ping.Send (System.Net.IPAddress address, System.Int32 timeout, System.Byte[] buffer, System.Net.NetworkInformation.PingOptions options) [0x0004c] in :0 at System.Net.NetworkInformation.Ping.Send (System.Net.IPAddress address, System.Int32 timeout, System.Byte[] buffer) [0x00009] in :0 at System.Net.NetworkInformation.Ping.Send (System.Net.IPAddress address, System.Int32 timeout) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Net.NetworkInformation.Ping.Send(System.Net.IPAddress,int) at DTAClient.Online.Connection+<>c__DisplayClass42_1.b__13 () [0x0003f] in :0 at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <94942505ad4c4982af4db0763017d52e>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <94942505ad4c4982af4db0763017d52e>:0