unable to start Negatron in Linux

Here's the place to discuss anything about Negatron or MAME in English.
Post Reply
Katakis
Posts: 3
Joined: Mon May 13, 2019 1:28 pm

unable to start Negatron in Linux

Post by Katakis » Mon May 13, 2019 1:38 pm

I am trying to run Negatron under linux. On the first screen, I entered the location of MAME and pointed to "mame64", and the language was set to "English (United Kingdom)". When I started, this appears in BASH:

Code: Select all

May 13, 2019 11:22:51 PM net.babelsoft.negatron.NegatronApp start
SEVERE: Couldn't start Negatron
java.lang.IllegalStateException: Location is not set.
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2434)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at net.babelsoft.negatron.NegatronApp.start(NegatronApp.java:76)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
	at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)

Exception in Application start method
Where is the location of the configuration file? I need to delete it so that I can run the wizard again.

Katakis
Posts: 3
Joined: Mon May 13, 2019 1:28 pm

Re: unable to start Negatron in Linux

Post by Katakis » Mon May 13, 2019 1:52 pm

I found it actually. It is in .Negatron.

Note what my log said:

Code: Select all

Location is not set
It's rejecting the MAME folder/file name for some reason.

BabelSoft
Site Admin
Posts: 334
Joined: Sat Jun 02, 2012 9:23 pm

Re: unable to start Negatron in Linux

Post by BabelSoft » Tue May 14, 2019 5:29 pm

You shouldn't have this kind of errors. I can see only 2 potential issues that can generate this error:
- your Negatron.jar has been tampered with and some stuff is missing in it.
- you're missing the folder "theme" and its subfolder "language".

If you installed Negatron from the RPM or DEB packages, I've been told that they are corrupted. I didn't test them well... Sorry about that. Please, just use the cross platform pack instead.

Katakis
Posts: 3
Joined: Mon May 13, 2019 1:28 pm

Re: unable to start Negatron in Linux

Post by Katakis » Thu May 16, 2019 5:45 am

The cross-platform pack works.
Many thanks!

Post Reply