Closed fennectech closed 6 years ago
What if you run it on .NET Core?
.net core is a windows thing. Mono is a .net framework implementation for Linux.
.NET Core runs on Windows, Linux, macOS and other operating systems
[fennectech@Aluminum ~/pqsave]$ dotnet PqSave.exe A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/home/fennectech/software/pqsave/'. Failed to run as a self-contained app. If this should be a framework-dependent app, add the /home/fennectech/software/pqsave/PqSave.runtimeconfig.json file specifying the appropriate framework.
Compile or download the .net core build
thanks for the solution :dagger:
(Edit thats supposed to be a :D
[fennectech@Aluminum ~/pqsave]$ mono PqSave.exe s user user.0 tickets.csx
Unhandled Exception: System.InvalidOperationException: Type is not supported, occurs invalid error: SerializeData InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: BattleData InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: ChallengeDungeon InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: DungeonID InnerException:System.ArgumentException: method return type is incompatible at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) [0x00069] in:0
at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure) [0x00000] in :0
at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in :0
at System.Reflection.RuntimeMethodInfo.CreateDelegate (System.Type delegateType) [0x00000] in :0
at ZeroFormatter.Formatters.Int32EnumFormatter
2[TTypeResolver,T]..ctor () [0x0003a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0066f] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter
2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter
2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.ErrorFormatter
2[TTypeResolver,T].Deserialize (System.Byte[]& bytes, System.Int32 offset, ZeroFormatter.DirtyTracker tracker, System.Int32& byteSize) [0x00000] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.ZeroFormatterSerializer+CustomSerializer1[TTypeResolver].Deserialize[T] (System.Byte[] bytes, System.Int32 offset) [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.ZeroFormatterSerializer.Deserialize[T] (System.Byte[] bytes, System.Int32 offset) [0x00000] in <9a64b16d3e344d5282e24197db2d87a5>:0 at PqSave.SaveManager..ctor (System.Byte[] saveEnc) [0x00019] in <5031fe9ebcf34078b0551e6c6891bf60>:0 at PqSave.Program.Run (System.String[] args) [0x00065] in <5031fe9ebcf34078b0551e6c6891bf60>:0 at PqSave.Program.Main (System.String[] args) [0x0000d] in <5031fe9ebcf34078b0551e6c6891bf60>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Type is not supported, occurs invalid error: SerializeData InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: BattleData InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: ChallengeDungeon InnerException:System.InvalidOperationException: Type is not supported, occurs invalid error: DungeonID InnerException:System.ArgumentException: method return type is incompatible at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure, System.Boolean allowClosed) [0x00069] in <cae080c8689e4af39d0ab2b313d012f5>:0 at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, System.Boolean throwOnBindFailure) [0x00000] in <cae080c8689e4af39d0ab2b313d012f5>:0 at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in <cae080c8689e4af39d0ab2b313d012f5>:0 at System.Reflection.RuntimeMethodInfo.CreateDelegate (System.Type delegateType) [0x00000] in <cae080c8689e4af39d0ab2b313d012f5>:0 at ZeroFormatter.Formatters.Int32EnumFormatter
2[TTypeResolver,T]..ctor () [0x0003a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0066f] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter
2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember (System.Type resolverType, ZeroFormatter.Formatters.EmittableMemberInfo info) [0x00047] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicObjectDescriptor.GetMembers (System.Type resolverType, System.Type type, System.Boolean isClass) [0x002ab] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.DynamicFormatter.Create[TTypeResolver,T] () [0x00039] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter.GetBuiltinFormatter[TTypeResolver,T] (System.Type t, TTypeResolver resolver) [0x0103a] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.Formatter
2[TTypeResolver,T]..cctor () [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.Formatters.ErrorFormatter2[TTypeResolver,T].Deserialize (System.Byte[]& bytes, System.Int32 offset, ZeroFormatter.DirtyTracker tracker, System.Int32& byteSize) [0x00000] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.ZeroFormatterSerializer+CustomSerializer
1[TTypeResolver].Deserialize[T] (System.Byte[] bytes, System.Int32 offset) [0x00034] in <9a64b16d3e344d5282e24197db2d87a5>:0 at ZeroFormatter.ZeroFormatterSerializer.Deserialize[T] (System.Byte[] bytes, System.Int32 offset) [0x00000] in <9a64b16d3e344d5282e24197db2d87a5>:0 at PqSave.SaveManager..ctor (System.Byte[] saveEnc) [0x00019] in <5031fe9ebcf34078b0551e6c6891bf60>:0 at PqSave.Program.Run (System.String[] args) [0x00065] in <5031fe9ebcf34078b0551e6c6891bf60>:0 at PqSave.Program.Main (System.String[] args) [0x0000d] in <5031fe9ebcf34078b0551e6c6891bf60>:0