EverestAPI / CelesteTAS-EverestInterop

Everest interop for DevilSquirrel's CelesteTAS
https://github.com/EuniverseCat/CelesteTAS
MIT License
67 stars 28 forks source link

Doesn't work on Wine [Linux] #59

Closed TheCheddarCheese closed 3 weeks ago

TheCheddarCheese commented 10 months ago

When I try to run the app with Wine it doesn't launch and gives me an error

==========================================

CelesteStudio v2.18.11 & CelesteTAS vUnknown
11/28/2023 20:31:50
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009c] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_MenuFont () [0x00051] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x0007a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripItem..ctor () [0x00075] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripButton..ctor () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripGrip..ctor () [0x00037] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripGrip..ctor()
  at System.Windows.Forms.ToolStrip.get_Grip () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStrip.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00036] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.Initialize () [0x00027] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu.Initialize () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown..ctor () [0x0006a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu..ctor () [0x000ac] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ContextMenuStrip..ctor (System.ComponentModel.IContainer container) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContextMenuStrip..ctor(System.ComponentModel.IContainer)
  at CelesteStudio.Studio.InitializeComponent () [0x0002c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at CelesteStudio.Studio..ctor (System.String[] args) [0x00051] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at (wrapper remoting-invoke-with-check) CelesteStudio.Studio..ctor(string[])
  at CelesteStudio.Program.OnCreateMainForm () [0x0000c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00008] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00052] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00014] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at CelesteStudio.Program.Main (System.String[] args) [0x00078] in <9f636a3eb61a46258e2e8789053117ac>:0 

CelesteStudio v2.18.11 & CelesteTAS vUnknown
11/28/2023 20:30:29
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009c] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_MenuFont () [0x00051] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x0007a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripItem..ctor () [0x00075] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripButton..ctor () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripGrip..ctor () [0x00037] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripGrip..ctor()
  at System.Windows.Forms.ToolStrip.get_Grip () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStrip.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00036] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.Initialize () [0x00027] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu.Initialize () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown..ctor () [0x0006a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu..ctor () [0x000ac] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ContextMenuStrip..ctor (System.ComponentModel.IContainer container) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContextMenuStrip..ctor(System.ComponentModel.IContainer)
  at CelesteStudio.Studio.InitializeComponent () [0x0002c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at CelesteStudio.Studio..ctor (System.String[] args) [0x00051] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at (wrapper remoting-invoke-with-check) CelesteStudio.Studio..ctor(string[])
  at CelesteStudio.Program.OnCreateMainForm () [0x0000c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00008] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00052] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00014] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at CelesteStudio.Program.Main (System.String[] args) [0x00078] in <9f636a3eb61a46258e2e8789053117ac>:0 

CelesteStudio v2.18.11 & CelesteTAS vUnknown
11/28/2023 20:26:38
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009c] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_MenuFont () [0x00051] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x0007a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripItem..ctor () [0x00075] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripButton..ctor () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripGrip..ctor () [0x00037] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripGrip..ctor()
  at System.Windows.Forms.ToolStrip.get_Grip () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStrip.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00036] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.Initialize () [0x00027] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu.Initialize () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown..ctor () [0x0006a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu..ctor () [0x000ac] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ContextMenuStrip..ctor (System.ComponentModel.IContainer container) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContextMenuStrip..ctor(System.ComponentModel.IContainer)
  at CelesteStudio.Studio.InitializeComponent () [0x0002c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at CelesteStudio.Studio..ctor (System.String[] args) [0x00051] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at (wrapper remoting-invoke-with-check) CelesteStudio.Studio..ctor(string[])
  at CelesteStudio.Program.OnCreateMainForm () [0x0000c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00008] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00052] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00014] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at CelesteStudio.Program.Main (System.String[] args) [0x00078] in <9f636a3eb61a46258e2e8789053117ac>:0 

CelesteStudio v2.18.11 & CelesteTAS vUnknown
11/28/2023 20:25:46
System.NotImplementedException: The method or operation is not implemented.
  at System.Drawing.Font.FromLogFont (System.Object lf, System.IntPtr hdc) [0x0009c] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.Font.FromHfont (System.IntPtr hfont) [0x00029] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_DefaultFont () [0x0009e] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Drawing.SystemFonts.get_MenuFont () [0x00051] in <bfeb5fdca71942e18134223465f4f838>:0 
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x0007a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripItem..ctor () [0x00075] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripButton..ctor () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripGrip..ctor () [0x00037] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripGrip..ctor()
  at System.Windows.Forms.ToolStrip.get_Grip () [0x00008] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStrip.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00036] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.set_GripStyle (System.Windows.Forms.ToolStripGripStyle value) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown.Initialize () [0x00027] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu.Initialize () [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDown..ctor () [0x0006a] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ToolStripDropDownMenu..ctor () [0x000ac] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at System.Windows.Forms.ContextMenuStrip..ctor (System.ComponentModel.IContainer container) [0x00000] in <5a2688152ce643ada3dc4e91efa0f623>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContextMenuStrip..ctor(System.ComponentModel.IContainer)
  at CelesteStudio.Studio.InitializeComponent () [0x0002c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at CelesteStudio.Studio..ctor (System.String[] args) [0x00051] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at (wrapper remoting-invoke-with-check) CelesteStudio.Studio..ctor(string[])
  at CelesteStudio.Program.OnCreateMainForm () [0x0000c] in <9f636a3eb61a46258e2e8789053117ac>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00008] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00052] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00014] in <0126a1a4c73f4adf94bf259787e26899>:0 
  at CelesteStudio.Program.Main (System.String[] args) [0x00078] in <9f636a3eb61a46258e2e8789053117ac>:0

OS: Linux Mint 21.2 x86_64 Wine version: 8.0.2

psyGamer commented 10 months ago

The instructions on the wiki never really worked for me Heres what i did:

  1. Install "Mono" and "Mono Visual Basic.NET Compiler" (mono and mono-basic on Arch, not sure about Mint tho)
  2. Move the Celeste Studio.exe outside of the Celeste install directory
  3. Run it with Mono: mono Celeste Studio.exe
TheCheddarCheese commented 10 months ago

now i get this: The entry point method could not be loaded due to Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

psyGamer commented 10 months ago

You need to install the Mono VisualBasic .NET Compiler

TheCheddarCheese commented 10 months ago

now i got this: /home/cheddar/Skrivebord/Celeste Studio.exe (1,4) : error VBNC30203: Identifier expected. /home/cheddar/Skrivebord/Celeste Studio.exe (1,4) : error VBNC30037: Symbol is not valid.

psyGamer commented 3 weeks ago

Celeste Studio v3 is now cross-platform and Wine isnt needed anymore