|
MAME cfg file <video> tag not persisting
#297904 - 10/22/12 01:30 PM
|
|
|
In MAME, (a recent version, 0.146u5), I am having problems with video modes not 'sticking'.
Here is the problem:
- Start mame to play a game such as Marble Madness (mame64 marble)
- Set Video Option to 'cocktail'
- exit MAME
- 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}
- Start MAME a second time (mame64 marble)
- Observe the game started in split screen cocktail mode as it should
- exit MAME
- 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}
- Start MAME a third time (mame64 marble)
- 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
|
|
|
|
Re: MAME cfg file <video> tag not persisting
[Re: gkarnik]
#297962 - 10/23/12 01:08 PM
|
|
|
Hi Gary, it works fine here using the newest MAME; version 0.147u1, could you try it on that?
|
|
|
|
Re: MAME cfg file <video> tag not persisting
[Re: hap]
#297964 - 10/23/12 02:48 PM
|
|
|
Same thing just happened to me with Pac-Mania, 1st run turned on the upright artwork, 2nd run displays the artwork, 3rd run artwork has turned off and have to turn it back on again.
this is in 147.u1
Edit:
In fact it's doing it for all games, on the 3rd run artwork is being turned off.
|
|
|
|
Re: MAME cfg file <video> tag not persisting
[Re: Ziggy100]
#297976 - 10/23/12 07:17 PM
|
|
|
I downloaded and compiled the latest 147u1 and I am happy to report that does indeed work as intended! I ran 'mame32_147u1 marble' several times and the video mode stuck on cocktail as it should.
As a second test I now complied-in the highscore patch from hiscore patch (hi_147u1.diff) and tried it again.
I ran 'mame32_147u1_hi marble' and found it *does* have the problem. So now it's narrowed down to the highscore patch causing the problem.
Now a third test I disabled all the hiscore patch options and now I find the problem goes away again.
In mame.ini: # # CORE MKChamp OPTIONS # disable_hiscore_patch 1 disable_nagscreen_patch 1 disable_loading_patch 1
Further testing and narrowing it down shows that of the 3 options, its the "disable_loading_patch" alone that causes the problem:
*Solution* when using the hiscore patch, you must set "disable_loading_patch 1" in mame.ini or you will lose your video mode every third run.
Thank you all so much helping!
|
|
|
|
Re: MAME cfg file <video> tag not persisting
[Re: gkarnik]
#297997 - 10/24/12 07:17 AM
|
|
|
Thanks for that fix!!!!...works fine now.
Funny thing is, I didn't even know there was a problem until you brought my attention too it..as they say, 'ignorance is bliss'..
|
|
|
| R. Belmont |
|
Cuckoo for IGAvania
|
|
|
|
|
|
Reged: 09/21/03
|
|
Posts: 9721
|
|
Loc: ECV-197 The Orville
|
|
|
|
Send PM
|
|
|
Re: MAME cfg file <video> tag not persisting
[Re: Ziggy100]
#297998 - 10/24/12 11:40 AM
|
|
|
And this is why you should only run actual MAME.
|
|
|