Switch-Toolbox icon indicating copy to clipboard operation
Switch-Toolbox copied to clipboard

Linux support?

Open ColonelThirtyTwo opened this issue 4 years ago • 10 comments

Is linux supported? If not, can it be?

Running with mono fails:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Toolbox.Library.Runtime' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Collections.Generic.List`1' threw an exception. ---> System.TypeLoadException: Could not load array element type, due to: Could not load type of field 'Toolbox.Library.Runtime+ViewportEditor:editableDrawables' (0) due to: Could not load file or assembly 'GL_EditorFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:/home/col/Downloads/Toolbox-Latest/Toolbox.Library.dll type:ViewportEditor member:(null)
  at System.Collections.Generic.List`1[T]..cctor () [0x00000] in <efe941bb62534dc3a62ceb1a818964a0>:0 
   --- End of inner exception stack trace ---
  at Toolbox.Library.Runtime..cctor () [0x00078] in <11636bc7050943f1a3034ab989416d0f>:0 
   --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Toolbox.Library.Runtime' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Collections.Generic.List`1' threw an exception. ---> System.TypeLoadException: Could not load array element type, due to: Could not load type of field 'Toolbox.Library.Runtime+ViewportEditor:editableDrawables' (0) due to: Could not load file or assembly 'GL_EditorFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:/home/col/Downloads/Toolbox-Latest/Toolbox.Library.dll type:ViewportEditor member:(null)
  at System.Collections.Generic.List`1[T]..cctor () [0x00000] in <efe941bb62534dc3a62ceb1a818964a0>:0 
   --- End of inner exception stack trace ---
  at Toolbox.Library.Runtime..cctor () [0x00078] in <11636bc7050943f1a3034ab989416d0f>:0 
   --- End of inner exception stack trace ---

Mono Version:

Mono JIT compiler version 6.12.0 (makepkg/a22ed3f094e Tue Dec 22 06:01:50 PM -03 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

On Arch linux.

ColonelThirtyTwo avatar Jan 17 '21 01:01 ColonelThirtyTwo

I managed to get it running on WINE on Ubuntu by installing a few dependencies with Winetricks. I couldn't get it to play back animations tho.

melsbacksfriend avatar Jan 17 '21 07:01 melsbacksfriend

@melsbacksfriend Which dependencies? Ubuntu 20.04 here. I got it to run via 64bit wine at least, but it won't show any model entries in the the content tree when I open a BOTW NPC's sbfres. It's only listing the textures. The data folder GUI is definitely causing a lot of problems on Linux.

kobligo avatar Jan 17 '21 18:01 kobligo

im interested in this too

Slluxx avatar Feb 10 '21 23:02 Slluxx

This is really important for me

kargaroc avatar Mar 07 '21 08:03 kargaroc

i'm on ubuntu 20.10 and it works for me, all i neded was to get the right .net framework ( i think) and it works for me i have an intel core i5-5200u and 8gb of ram btw native linux would be nice

What .NET framework version?

lunakittyyy avatar Dec 24 '21 04:12 lunakittyyy

I managed to get it running on WINE on Ubuntu by installing a few dependencies with Winetricks. I couldn't get it to play back animations tho.

so i am not alone i see. i am having this issue here on arch linux, animations freeze. BUT theirs some work around i found. in bottles it freezes, on stock vanilla it does not. and to make it work on bottles you have to click launch with terminal and it works. dont know why. also might work with other prefix managers (playonlinux, lutris etc.. ) or finally you can make a bat file that launches switch toolbox and launch that and the animations will work

XDM-Inc avatar Jul 02 '22 08:07 XDM-Inc