AmatCoder / mednaffe

A front-end (GUI) for mednafen emulator
GNU General Public License v3.0
429 stars 35 forks source link

Error: Mednafen version is not supported. You need 0.9.41 version or above. #52

Closed corvusd closed 7 years ago

corvusd commented 7 years ago

Hello community and thanks developers,

I wanted to be able to use your frontend on my Ubuntu 16.04 64bit. I downloaded mednafen 0.9.42 and I have compiled it installed on my system correctly. I have the folder and file .mednafen / mednafen-09x.cfg But both the mednaffe version 0.8.4 stable as the master of git. I get the same error: Error: Mednafen version is not supported. You need 0.9.41 version or above. What am I doing wrong? Thanks for the help! :)

David Gámiz Jiménez

AmatCoder commented 7 years ago

Have you an older mednafen emulator installed? Maybe from Ubuntu repositories?

Note that Ubuntu 16.04 has 0.9.38.7 version. You can search for executable in /usr/games

Also you can delete ./config/mednaffe.conf and see what happens.

corvusd commented 7 years ago

[No, I'm not using the repository version.] EDIT, yes I had it installed, but now unnistalled. I don't know because in system path execute the last version and in this concrete path I don’t have the last version. I installed the compiled version with make install. EDIT 2: I have a link from the path on the make install copy the executable in: "/usr/local/bin" to "/usr/games" and now the system path and in this concrete path are the latest version of the mednafen, but mednaffe still show the error dialogue. :S Sorry, maybe I have not explained well before. I wanted to say, I downloaded the source code of the latest version and I compile it and install it in my system, attached capture terminal: seleccion_518

On the other hand I do not have this file: ./config/mednaffe.conf

That could be happening? Thanks in advance! :)

AmatCoder commented 7 years ago

Ops! I see now...Localization is the culprit.

Mednaffe search for version comparing numbers in english output: "Starting Mednafen 0.9.42" And as they are not in the same place it fails. This is a bug. Thanks for reporting.

As workaround you can change temporarily your system to english into System Settings > Language & Text > Language. Also if you has some english locale enabled you can use it as workaround: $ LANG=en_US.UTF-8 mednaffe

corvusd commented 7 years ago

Yes, putting the language system in English, mednaffe run properly. Whit: $ LANG=en_US.UTF-8 mednaffe ; Not run

AmatCoder commented 7 years ago

Fixed on 8d99d6c commit.

padremayi commented 7 years ago

Starting Mednaffe 0.8.6 Mednafen 09x configuration file found. Error: Mednafen version is not compatible. You need 0.9.41 version or above.

Mednafen version is 0.9.45.1

The problem is still present

cpcbegin commented 6 years ago

This problem still happens in non-english Linux instalations, like my new Debian 9 stable 64 bits on Spanish. I can only run mednaffe with the command: LANG=en_US.UTF-8 mednaffe

AmatCoder commented 6 years ago

copied from here:

@cpcbegin

Debian 9 contains an old version of mednaffe (0.8.4) in repositories. This version had a bug (issue #52 ) when certain localizations (i.e. spanish) are used. It was fixed in 0.8.5 version.

A workaround is to run "LANG=C mednaffe" in a terminal.

You can read the Debian bug report here.