NKitv1 icon indicating copy to clipboard operation
NKitv1 copied to clipboard

How can I use the gui on Linux?

Open ghost opened this issue 5 years ago • 11 comments

I hate command Line

ghost avatar Nov 05 '20 17:11 ghost

Sad developer didn't answered about macOS version too. Maybe he gave up and it's dead.

spotanjo3 avatar Dec 04 '20 09:12 spotanjo3

You could use mono.

after the download open your favorite terminal emulator and run:

mono ANYEXEFILEFROMNKIT.exe

(hopefully this will help future questions about this aswell)

berendsliedrecht avatar Feb 14 '21 13:02 berendsliedrecht

@blu3beri What the heck are you talking about? Mono doesn't have anything to do with nkit and nkit doesn't have anything to do with .exe.

ghost avatar Feb 14 '21 14:02 ghost

That makes no sense. How should a net framework software have anything to do with nkit files? And mono ANYEXEFILEFROMNKIT.exe makes no sense,with nkit you convert nkit files to .iso,it has nothing to do with .exe.

ghost avatar Feb 14 '21 15:02 ghost

NKit appears to be written in C#, using .NET framework.

From Mono's website descriptor:

Mono is a software platform designed to allow developers to easily create cross platform applications part of the . NET Foundation. Sponsored by Microsoft, Mono is an open source implementation of Microsoft's . NET Framework based on the ECMA standards for C# and the Common Language Runtime.

Mono is one way of running .NET apps on non-Windows platforms, so it makes sense why this was suggested.

Running on Linux mono ConvertToISO.exe should be the equivalent to running ConvertToISO.exe in a Windows CMD prompt. Complete with all it's flags.

Running mono ./ConvertToISO.exe results in:

ConvertToISO v1.4, NKit.dll v1.4 :: Nanook

Convert Wii and GameCube image files to ISO

Usage: ConvertToISO <files|paths|masks> ...

Parameters can be 1 or more filename and paths with or without masks.
Masks can search subfolders. Edit NKit.dll.config

Supported files: iso, wbfs, gcm, iso.dec, zip, rar, 7z

If paths or filenames have spaces ensure they are enclosed in "s

Examples -ConvertToISO c:\temp\image.wbfs -ConvertToISO c:\temp\scrubbed.iso -ConvertToISO c:\temp -ConvertToISO . -ConvertToISO c:\temp\image.wbfs \temp*.zip x*.iso.dec -ConvertToISO "c:\path 1*.zip" "c:\path 2*.gcm" "..\path 3*.iso"

Edit 'NKit.dll.config' to specify all the required values

Running ConvertToISO.exe through mono on an .nkit.iso file let's it run just fine on my end.

As for running the GUI tools, NKitProcessingApp.exe and NKitExtractionApp.exe, it error's out on my side due to Carbon drivers not being ported to 64-bit macOS. It may work on your Linux distro, but you might want to run it through WINE/CrossOver instead.

SammyCola avatar Mar 24 '21 20:03 SammyCola

So is there no native Linux gui?

ghost avatar Mar 26 '21 15:03 ghost

No there is not. With mono it does work.

berendsliedrecht avatar Mar 28 '21 11:03 berendsliedrecht

Then why should I use mono instead of wine for that?

ghost avatar Mar 30 '21 12:03 ghost

Mono is running it natively. Wine is running it through an API translation essentially. Why not just run it natively?

SammyCola avatar Mar 31 '21 00:03 SammyCola

But with mono I can't use the gui.

ghost avatar Mar 31 '21 13:03 ghost

you can. Mono runs e.g. NKitExtractionApp.exe just fine. Though I hate GUIs and love the command line.

ildar avatar Jun 07 '21 09:06 ildar