Writing game specific cfg?

Everything Emulator related
Post Reply
User avatar
monouchi
Polishing his shaft
Posts: 1124
Joined: February 21st, 2010, 6:16 pm
Location: Sweden
eBay: monouchi_jn
Initials: BUS

Writing game specific cfg?

Post by monouchi »

I cannot find any examples of the actual code.

How do I write if I for example wants to change resolution, add vsync, add tripplebuffer for a specific game?
(Or if anyone can point me towards some examples?)

Heres an example I did but its prolly wrong?


<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="ddonpach">
<counters>
<coins index="0" number="3" />
</counters>
<video>
<rotation=180>
<resolution=640x480>
<tripplebuffer=1>
</video>
</system>
</mameconfig>
User avatar
cools
Armed Police Buttrider
Posts: 13457
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: Writing game specific cfg?

Post by cools »

You don't do it with the cfg files.

Make romname.ini files in the ini folder.

ini/ddonpach.ini

Code: Select all

resolution 640x480@60
waitvsync 1
triplebuffer 1
Sure you want vsync and triplebuffer on at the same time?
Image
Post Reply