MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

gkarnik
MAME Fan
Reged: 10/22/12
Posts: 3
Send PM
MAME cfg file <video> tag not persisting
10/22/12 06:30 PM


In MAME, (a recent version, 0.146u5), I am having problems with video modes not 'sticking'.

Here is the problem:

  1. Start mame to play a game such as Marble Madness (mame64 marble)
  2. Set Video Option to 'cocktail'
  3. exit MAME
  4. Observe new file 'marble.cfg' in cfg directory:

    {?xml version="1.0"?}
    {!-- This file is autogenerated; comments and unknown tags will be stripped --}
    {mameconfig version="10"}
    {system name="marble"}
    {video}
    {target index="0" view="Cocktail" /}
    {/video}
    {/system}

  5. Start MAME a second time (mame64 marble)
  6. Observe the game started in split screen cocktail mode as it should
  7. exit MAME
  8. Observe changed file 'marble.cfg' in cfg directory - this is wrong

    {?xml version="1.0"?}
    {!-- This file is autogenerated; comments and unknown tags will be stripped --}
    {mameconfig version="10"}
    {system name="marble" /}
    {/mameconfig}

  9. Start MAME a third time (mame64 marble)
  10. Observe the game started in default video mode (not split screen cocktail mode)

So the video tag in the cfg file is getting read, but not written correctly.

Is there any solution to this problem? Am I missing something? I might be able to hack a fix by write protecting the correct cfg file, but hoping to avoid that.

TIA, Gary







Entire thread
Subject Posted by Posted on
* MAME cfg file <video> tag not persisting gkarnik 10/22/12 06:30 PM
. * Re: MAME cfg file <video> tag not persisting hap  10/23/12 06:08 PM
. * Re: MAME cfg file <video> tag not persisting Ziggy100  10/23/12 07:48 PM
. * Re: MAME cfg file <video> tag not persisting gkarnik  10/24/12 12:17 AM
. * Re: MAME cfg file <video> tag not persisting Ziggy100  10/24/12 12:17 PM
. * Re: MAME cfg file <video> tag not persisting R. Belmont  10/24/12 04:40 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
2 registered and 190 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1593