Writing game specific cfg?

Everything Emulator related
Forum rules
ArcadeOtaku forum introduction & rules
User avatar
monouchi
Posts: 984
Joined: February 21st, 2010, 6:16 pm
eBay: monouchi_jn
Initials: BUS
Location: Sweden

Writing game specific cfg?

Postby monouchi » October 21st, 2015, 11:17 am

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: 13402
Joined: August 17th, 2008, 4:49 pm
eBay: hordarian
Initials: CLS
Location: Wales, United Kingdom
Contact:

Re: Writing game specific cfg?

Postby cools » December 9th, 2015, 11:02 am

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

Return to “Emulation Q&A”



Who is online

Users browsing this forum: No registered users