0x0ade / FEZMod-Legacy

Kinda dead FEZ mod. Check the linked issue comment for further info.
https://github.com/0x0ade/FEZMod-Legacy/issues/5#issuecomment-341082111
MIT License
22 stars 2 forks source link

FEZ-FNA fails with FNADroid at GetLocalSaveFolder #22

Closed 0x0ade closed 8 years ago

0x0ade commented 8 years ago

Should be patchable via FEZMod.

E/mono    (24093): 
E/mono    (24093): Unhandled Exception:
E/mono    (24093): System.TypeInitializationException: An exception was thrown by the type initializer for FezGame.Program ---> System.TypeInitializationException: An exception was thrown by the type initializer for Common.Util ---> System.NotImplementedException: Unhandled SDL2 platform!
E/mono    (24093):   at Common.Util.GetLocalSaveFolder () [0x00000] in <filename unknown>:0 
E/mono    (24093):   at Common.Util..cctor () [0x00000] in <filename unknown>:0 
E/mono    (24093):   --- End of inner exception stack trace ---
E/mono    (24093):   --- End of inner exception stack trace ---
E/mono-rt (24093): [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for FezGame.Program ---> System.TypeInitializationException: An exception was thrown by the type initializer for Common.Util ---> System.NotImplementedException: Unhandled SDL2 platform!
E/mono-rt (24093):   at Common.Util.GetLocalSaveFolder () [0x00000] in <filename unknown>:0 
E/mono-rt (24093):   at Common.Util..cctor () [0x00000] in <filename unknown>:0 
E/mono-rt (24093):   --- End of inner exception stack trace ---
E/mono-rt (24093):   --- End of inner exception stack trace ---
I/Zygote  (  311): Process 24093 exited cleanly (1)
I/ActivityManager( 1243): Process com.angelde.fnadroid (pid 24093) has died
0x0ade commented 8 years ago

After trying to patch it, it crashes somewhere else: EasyStorage.dll.

I doubted that I'd ever need to patch that dll, but well, time to prepare Travis CI for it...

(12:49:12.753) [FEZMod] JustAnotherFEZMod (FEZMod) 0.3a8
(12:49:13.021) [FEZDroid] Checking if running in Android
(12:49:13.024) [FEZDroid] Android mode engaged!
(12:49:13.069) [FEZMod] Handling FEZMod PreInitialize crash...
(12:49:13.213) [FEZMod] System.TypeInitializationException: An exception was thrown by the type initializer for EasyStorage.PCSaveDevice
  at (wrapper managed-to-native) System.Reflection.MonoField:SetValueInternal (System.Reflection.FieldInfo,object,object)
  at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000] in <filename unknown>:0 
  at FezGame.Mod.FEZMod.PreInitialize () [0x00000] in <filename unknown>:0 
  at FezGame.Mod.FEZMod.PreInitialize (System.String[] args) [0x00000] in <filename unknown>:0 
  at FezGame.Program.Main (System.String[] ) [0x00000] in <filename unknown>:0 
(12:49:13.219) [FEZMod] System.NotImplementedException: Unhandled SDL2 platform!
  at EasyStorage.PCSaveDevice.GetLocalSaveFolder () [0x00000] in <filename unknown>:0 
  at EasyStorage.PCSaveDevice..cctor () [0x00000] in <filename unknown>:0