Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How do you use the -burnin option in MAME  (Read 6664 times)

0 Members and 1 Guest are viewing this topic.

sandheaver

  • Guest
  • Trade Count: (0)
How do you use the -burnin option in MAME
« on: March 19, 2013, 11:35:58 pm »
I'm trying to set up a -burnin image but I'm not sure I'm doing it correctly.

I'm running "mame64 -str 90 -burnin pacman" and waiting. 

As I understand it, in snaps/pacman/ there should be a "burnin-0.png" file, but all I have is "burnin-" with zero filesize, and final.png, which is generated at the end of an -str run.

Am I doing this wrong or is there a bug?  I ran this on 148u1 and am compiling 148u2 now.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:July 27, 2025, 08:34:04 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: How do you use the -burnin option in MAME
« Reply #1 on: March 19, 2013, 11:39:03 pm »
I wasn't even aware you could do a burn-in image.
***Build what you dig, bro. Build what you dig.***

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #2 on: March 19, 2013, 11:41:01 pm »
I wasn't even aware you could do a burn-in image.
Hehe.  Also, once I get the thing created, I'll have to know how to use it, I suppose...  one step at a time, I guess.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19960
  • Last login:July 27, 2025, 08:34:04 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: How do you use the -burnin option in MAME
« Reply #3 on: March 19, 2013, 11:43:25 pm »
I wasn't even aware you could do a burn-in image.
Hehe.  Also, once I get the thing created, I'll have to know how to use it, I suppose...  one step at a time, I guess.

I'll have to research that further. I'm on .145 on my cab, but I plan to redo the system soon and might update. Thanks for the heads up.
***Build what you dig, bro. Build what you dig.***

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #4 on: March 27, 2013, 12:10:34 am »
turns out my troubles were caused by a bug in MAME.  (Presumably MESS as well.)

It'll be fixed in 0.148u3 according to mametesters.

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 745
  • Last login:Today at 07:27:06 am
  • I want to build my own arcade controls!
Re: How do you use the -burnin option in MAME
« Reply #5 on: March 27, 2013, 04:55:17 pm »
Why would anyone ever want a  burn-in image? That's the point I start throwing away a CRT. Also, that's the point a CRT is losing 3/4 of it's value. Why? Because burn-ins suck.

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: How do you use the -burnin option in MAME
« Reply #6 on: March 27, 2013, 05:18:39 pm »
You mean this?

http://forum.arcadecontrols.com/index.php?topic=77221.0

Headkaze's solution is the only thing I am aware of, but it is not a burn-in option, but a way to trick mame to use a burnin image as an overlay bezel.

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #7 on: March 27, 2013, 06:00:10 pm »
You mean this?

http://forum.arcadecontrols.com/index.php?topic=77221.0

Headkaze's solution is the only thing I am aware of, but it is not a burn-in option, but a way to trick mame to use a burnin image as an overlay bezel.

Are you asking me?  Well you have to generate the burnin image.  MAME apparently does it well.  Creating a .lay file to display it is the only way to do it that I know of.

Why would anyone ever want a  burn-in image? That's the point I start throwing away a CRT. Also, that's the point a CRT is losing 3/4 of it's value. Why? Because burn-ins suck.

Someone spent time writing it, so it must have seemed like a good idea to someone.  I just wanted to try it, and found that MAME had burnin support broken for over a year.  Clearly not many people use it or I would not have been the one to find it.

I'm not sure how I feel about MAME being a monitor emulator; seems like there should be a separate app for that, but what do I know.  I just know I want to try a burnin image and see how it looks.

Nightbring3r

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:February 25, 2023, 04:27:31 pm
Re: How do you use the -burnin option in MAME
« Reply #8 on: March 31, 2013, 03:07:40 pm »
It looks like it does a fair job of creating a burnin mask, but make sure to run it long enough. I used -nothrottle and gave it a few minutes and they look halfway decent. Gives Arkanoid a more realistic feel if you give it some Centipede burnin :) I bet you could offset the burnin a bit to make it look like a monitor with weak caps too.

Seems like it works in version 0.144 and is broken beyond that. Doesn't work for vectors, and I got inconsistent results with vertical games.

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #9 on: March 31, 2013, 08:03:48 pm »
It looks like it does a fair job of creating a burnin mask, but make sure to run it long enough. I used -nothrottle and gave it a few minutes and they look halfway decent. Gives Arkanoid a more realistic feel if you give it some Centipede burnin :) I bet you could offset the burnin a bit to make it look like a monitor with weak caps too.

Seems like it works in version 0.144 and is broken beyond that. Doesn't work for vectors, and I got inconsistent results with vertical games.

Do you have a sample .lay file people can use w/quick instructions on how to use it?  This thread comes up first if you search for 'mame burnin usage' so we have the opportunity to unofficially document the way it's to be done, if we like.

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #10 on: April 03, 2013, 11:09:22 pm »
End result is pretty decent:
  I went a bit overboard with the convergence maladjustment but I hope you can see what I was aiming for with this test.  No, I will not be doing this full-time; I have an arcade monitor with enough issues of its own.  :)

Here's the XML that made it work.  For me, this file (default.lay) lives in c:\mamesrc\artwork\mspacman\ along with the burnin image I created using -burnin option.

<mamelayout version="2">
  <element name="BurnIn">
    <image file="burnin-screen.png" />
  </element>
  <view name="Hide Burn In">
    <screen index="0">
      <bounds x="0" y="0" width="224" height="288" />
    </screen>
  </view>
  <view name="Show Burn In">
    <screen index="0">
      <bounds x="0" y="0" width="224" height="288" />
    </screen>
    <bezel element="BurnIn">
      <bounds x="0" y="0" width="224" height="288" />
     <color alpha="0.1" />
    </bezel>
  </view>
</mamelayout>


Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 14, 2025, 06:26:06 pm
  • <insert personal text here>
Re: How do you use the -burnin option in MAME
« Reply #11 on: April 03, 2013, 11:41:51 pm »
Thanks for posting the link to the pic.  Perhaps it looks better in person but I'm not sold.  It's too sharp almost, and the color is off.  That said it oddly does feel more legit to play with a slightly burnt in screen since that's how you always find them in the wild.

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #12 on: April 04, 2013, 12:05:50 am »
It does look better in person; motion always tricks your eyes a little.  Also, I adjusted this so it looked acceptable on my monitor.  yours may be different.

Also, it might look better if i had a commando burn-in screen while I played Pac-man, for example.  Ms. Pac burn-in with Ms. Pac playing doesn't really show you what it looks like.

Nightbring3r

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:February 25, 2023, 04:27:31 pm
Re: How do you use the -burnin option in MAME
« Reply #13 on: April 07, 2013, 12:22:45 am »
My layout is similar, but I used an alpha closer to 0.05 - looks better on my screen. I does lighten up the black spots too much but maybe it looks better on a CRT. You can also mess with the offsets a bit, maybe by 2-5 pixels in either direction. I haven't tried it yet, but editing the file and making it a bit taller and wider might make it look more authentic too - you know, like the size of the image has shrunk due to caps getting older.

I couldn't get all the games to generate decent burnin images, but I did get a few. Arkanoid looks pretty good, for example, with Gyruss burnin. How did you get a screenshot like that? When I hit F12, all my effects are gone.

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:December 18, 2023, 12:49:00 am
    • Project Build
Re: How do you use the -burnin option in MAME
« Reply #14 on: April 07, 2013, 04:34:28 am »
It looks like it does a fair job of creating a burnin mask, but make sure to run it long enough. I used -nothrottle and gave it a few minutes and they look halfway decent. Gives Arkanoid a more realistic feel if you give it some Centipede burnin :) I bet you could offset the burnin a bit to make it look like a monitor with weak caps too.

Seems like it works in version 0.144 and is broken beyond that. Doesn't work for vectors, and I got inconsistent results with vertical games.

It won't be long now until someone creates a script to pick a random 80's burnin overlay for use on a 90's machine.   >:D

sandheaver

  • Guest
  • Trade Count: (0)
Re: How do you use the -burnin option in MAME
« Reply #15 on: April 07, 2013, 02:26:21 pm »
How did you get a screenshot like that? When I hit F12, all my effects are gone.

I had to run it windowed, and use the PrtSc key.