Doron's Feed

Doron
07-30-2019 at 02:39 AM
9 Comments
Rate this Entry

MAME problem

Hi all!

Recently I've upgraded my MAME version from 106 to 181.

Most games work just fine but for some games MAME prompts 2 messages before starting (see photos) and those specific games will not be in absolute full screen (there still are little borders and a small headline) even after I disabled "enforce aspect ratio".

Is there any solution for this?

Cheers

Comments
  1. Doron's Avatar

    First clue-

    I discovererd that these specific games have seperate ini-file

    in the MAME main directory (see photo)

    I still don't know what to make out of this

    Cheers!

    Updated 07-30-2019 at 07:22 AM by Doron
  2. JJT_Defender's Avatar

    Please ask these Twin Galaxy Members

    @

    @terencew

    @barthax

    they Can help you figure it out.

    There are others TG members

    Quote Originally Posted by Doron

    First clue-

    I discovererd that these specific games have seperate ini-file

    in the MAME main directory (see photo)

    I still don't know what to make out of this

    Cheers!

  3. Ragequit's Avatar

    I had this problem with my frogger rom in wolf185 but when i upgraded to 198 it works the way it should with no message prompts...

  4. Barthax's Avatar

    Are you using a command line from a batch file? I would expect to find Nul in the command line and it's likely the parameters have changed over time.

    Make a new folder and move the INI files to the new folder. That way the new MAME doesn't use the old MAME's settings.

  5. Doron's Avatar

    Quote Originally Posted by Barthax

    Are you using a command line from a batch file? I would expect to find Nul in the command line and it's likely the parameters have changed over time.

    Make a new folder and move the INI files to the new folder. That way the new MAME doesn't use the old MAME's settings.

    Hi Barthax

    Thank you for trying to help me


    I don't use CMD at all, I change settings ONLY throu the games' menu. But I did type NUL in the ini main MAME file (in the core output directory options:NVRAM directory as Jason V showed in his tutorial)

    This is my first command line MAME,I don't even know what a batch file is.

    What should I name this new folder?

    Should ALL the ini files be put inside this folder including the main MAME ini?

    Cheers!



  6. terencew's Avatar

    OK, as far as I can tell in the few minutes before I have to rush out the door, for some reason MAME (maybe only WolfMAME? haven't checked basic MAME) tries opening NUL.zip & NUL.7z when this is specified in the .ini file (either mame.ini or game specific) as the folder in any of the "Core Output Directory Options".
    This is still happening up to 0.211.

    I guess the strategy behind using this as the NVRAM folder is that "NUL" is disallowed as a file/folder name, and therefore no NVRAM data gets written. You just get that error message and should be able to continue.

    e.g. if you try using "NUL" as the cfg folder, same thing happens - ECD error message, & no cfg data gets read/written.

    Doron, it seems to be forcing you out of fullscreen mode - haven't figured out why yet, but try the following...

    Remove all instances of "NUL" from your .ini files - manually edit mame.ini, and it may be faster to just delete / temporarily move game specific .ini files elsewhere

    In your working MAME directory, create a file (not a folder) called "NVRAM".
    When MAME tries writing to the NVRAM folder (for games that use it), it will be unable to because the name already exists as a file - end result is that NVRAM gets neither read nor written.

    Sorry... gotta run! Will check in after work.

    Updated 08-02-2019 at 08:42 PM by terencew
  7. Doron's Avatar

    Hi Terrence

    Thank you!

    A few questions

    1. when you say "create a file (not a folder) called "NVRAM"-could it be a .txt file called NVRAM?

    2.Now I noticed that only a few of the games which have a separate ini-file have that nul-zip-7zip issues. That means that there are two unrelated problems: Problem A -some games have their own ini-file which really isn't a problem and it doesn't really bother me (I just hope they won't do something funny when I'll submit games)

    and problem B-some games have those annoying promps and won't go to absolute full screen and that's what really bothers me.

    3.Should I just uninstall and reinstall MAME-and then I won't change nothing to NUL ,create a NVRAM file and see how it goes?

    Cheers!



  8. terencew's Avatar

    Can be a txt file, but with no file extension.

    Or from a command prompt, type "copy mame.ini NVRAM."

    Or fingers crossed, unzip this file... https://www.twingalaxies.com/attachment.php?attachmentid=92793&d=1564849860

    The ECD error should only be appearing on games that use NVRAM data - not all games do.

    A clean uninstall/reinstall should work... just make sure you disable NVRAM for submissions here!

    ThanksDoron thanked this post
    LikesDoron liked this post
  9. Doron's Avatar

    IT WORKED!

    Terrence,you're a Genius!

    I uninstalled/reinstalled MAME,I've added the NVRAM file you sent me to the main directory and VOILA! no more annoying prompts and also ALL the games are in absolute full screen. Thank you so much!

    Two last questions (hopefully..)

    1 you said to make sure I disable NVRAM for submissions -

    A. Doesn't the NVRAM file I've added take care of that?

    B. If not,how would I know which games create NVRAM?

    and how would I disable it ?(remember,typing NUL in MAME ini started all those problems).

    2 Some games still create their own ini-file in the main directory-

    It doesn't bother me at all but I'm concerned this could somehow sabotage future submissions. Should I just ignore it?

    Cheers mate!



Join us