Coder Social home page Coder Social logo

BUG supposed missing config about mednaffe HOT 5 CLOSED

amatcoder avatar amatcoder commented on May 28, 2024
BUG supposed missing config

from mednaffe.

Comments (5)

AmatCoder avatar AmatCoder commented on May 28, 2024

Check if "echo $HOME" gives you the correct home directory.
Also check if configuration file is correctly named (mednafen-09x.cfg) and you have read permissions for the file (i.e. you can open it with a text editor).

If it still does not work, you can try to delete the file and start mednaffe (that creates a new configuration file for mednafen emulator).

from mednaffe.

DanHolli123 avatar DanHolli123 commented on May 28, 2024

the "echo $HOME" gave...
/home/'my user name'
will try moving or renaming config in case it doesn't work

from mednaffe.

DanHolli123 avatar DanHolli123 commented on May 28, 2024

still didn't work

from mednaffe.

 avatar commented on May 28, 2024

I poked through the source for a bit and figured out what's going on.

It is because mednaffe is searching for mednafen-09x.cfg in ~/.mednafen/ .. which is part of Mednafen 0.9.x

Ubuntu's repositories have not updated mednafen on Trusty since 2013 and has version 0.8.D.3-6 https://launchpad.net/ubuntu/+source/mednafen

So anyone running 14.04 or Mint 17.x etc will get this error and you'll need to compile mednafen from source and install manually.

EDIT: There is currently a bug in the version check function. @AmatCoder

if (aline[1][11]!='9')
      return FALSE;
    if (aline[1][13]-'0'<3)
      return FALSE;
    if ((aline[1][13]=='3') && ((aline[1][14]-'0')<9))
      return FALSE;

The third if statement is checking 9 or lower, making it check for a minimum of 0.9.39, so it will fail on even the most recent version of mednafen (0.9.38.7).

I had to change the 9 to a 6 and now it finally works.

I am not familiar with github .. or I would push a fix myself

from mednaffe.

DanHolli123 avatar DanHolli123 commented on May 28, 2024

OK and thanks for explaining the reason

from mednaffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.