pixelomer / Celeste-ARM64

Utilities for getting Celeste to work on the Nintendo Switch (and ARM64 Linux in general)
30 stars 2 forks source link

Crash on boot: System.Exception: FMOD Failed: ERR_HEADER_MISMATCH (Ubuntu PRoot, Termux, Android) #18

Open L1Z3 opened 9 months ago

L1Z3 commented 9 months ago

I'm trying to get this running on my phone under Termux in an Ubuntu 23.04 PRoot. The patch is installed, but upon launch, I get:

CELESTE : 1.4.0.0
FNA3D Driver: OpenGL
OpenGL Renderer: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL Driver: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~23.04.1
OpenGL Vendor: Mesa
MojoShader Profile: glsles
BEGIN LOAD
 - GFX LOAD: 4814ms
 - MTN LOAD: 1610ms
FULLSCREEN
GAME DISPLAYED (in 6888ms)
System.Exception: FMOD Failed: ERR_HEADER_MISMATCH
  at Celeste.Audio.CheckFmod (FMOD.RESULT result) [0x00013] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.Audio.Init () [0x0001a] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.GameLoader.LoadThread () [0x0000c] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.RunThread.RunThreadWithLogging (System.Action method) [0x00000] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception (0x80004005): Access denied
  at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00129] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 
  at System.Diagnostics.Process.Start () [0x00038] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001e] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 
  at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 
  at Monocle.ErrorLog.Open () [0x00014] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.RunThread.RunThreadWithLogging (System.Action method) [0x00018] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.RunThread+<>c__DisplayClass1_0.<Start>b__0 () [0x00000] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
pixelomer commented 9 months ago

Did you follow the steps described in the README file in the correct order? It seems like fmod/patch_celeste.sh did not run successfully since that is the script responsible for patching the version header. Did you perhaps install Everest before running the patcher? Doing so could prevent fmod/patch_celeste.sh from working correctly.

Where did you download Celeste from? Is it the latest version? The patch is only tested on the latest version of Celeste.