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: Looking for Volume OSD program that overlays fullscreen mame  (Read 3408 times)

0 Members and 1 Guest are viewing this topic.

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1215
  • Last login:December 19, 2018, 01:29:48 am
Looking for Volume OSD program that overlays fullscreen mame
« on: September 18, 2010, 02:10:06 am »
Something like cabvol but with an on screen display

I found this, which is fantastic but doesnt display on top of mame

http://www.addictivetips.com/windows-tips/on-screen-volume-control-indicator-for-windows/

I linked the blog as it shows more than the homepage.


WhereEaglesDare

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1536
  • Last login:March 24, 2014, 08:47:08 pm
  • Shut Off All The Compactors on the Detention Level
    • My HomePage
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #1 on: September 18, 2010, 12:33:22 pm »
doesnt mame have an osd for volume when you hit the ~ key?

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1215
  • Last login:December 19, 2018, 01:29:48 am
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #2 on: September 18, 2010, 12:56:14 pm »
Yes it does, but I want the on screen display to work at any time really, in or out of mame.

Exactly like the linked program, just with better overlay support.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #3 on: September 18, 2010, 07:38:04 pm »
Pretty much impossible to overlay when running Mame in Direct3D mode.

You could open up mame.ini and try

Code: [Select]
video                     ddraw
or

Code: [Select]
video                     gdi
instead of

Code: [Select]
video                     d3d
But rendering on newer cards will most likely be slower. Even though Mame is CPU bound it can make a difference.

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1215
  • Last login:December 19, 2018, 01:29:48 am
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #4 on: September 18, 2010, 07:42:05 pm »
Pretty much impossible to overlay when running Mame in Direct3D mode.

Fraps and Powerstrip manage to do it, maybe by some dirty coding, but they get the job done with reliable overlays in all graphics modes

Im sure that its possible to do this, and would be a real nice addition for have a reliable OSD

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #5 on: September 18, 2010, 08:09:39 pm »
Pretty much impossible to overlay when running Mame in Direct3D mode.

Fraps and Powerstrip manage to do it, maybe by some dirty coding, but they get the job done with reliable overlays in all graphics modes

Im sure that its possible to do this, and would be a real nice addition for have a reliable OSD


Yes it is a hack. It's done by an API HiJack of the OpenGL and DirectX dll's. I've done this sort of stuff before. Anyway there may be software out there that can do it but I've never seen anything.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #6 on: September 25, 2010, 01:14:55 pm »
Pretty much impossible to overlay when running Mame in Direct3D mode.

Fraps and Powerstrip manage to do it, maybe by some dirty coding, but they get the job done with reliable overlays in all graphics modes

Im sure that its possible to do this, and would be a real nice addition for have a reliable OSD


Yes it is a hack. It's done by an API HiJack of the OpenGL and DirectX dll's. I've done this sort of stuff before. Anyway there may be software out there that can do it but I've never seen anything.

Are you referring to a hook?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #7 on: September 26, 2010, 03:42:18 am »

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #8 on: September 26, 2010, 10:38:37 pm »
Are you referring to a hook?

Yes. As in the APIHiJack Library.

That's what I figured. Thanks for the link  :cheers:

thread hijack:

Right after my last post, I Googled around to try and figure out how this is done. I came across a few places that treated this technique as a scourge, used by hackers to hack running games. Others treated it as a legitimate method. But nothing with source code (though several people mentioned the information was on MSDN which I wasn't able to locate). :dunno I'll Google around for a bit with the API calls in the source and figure out the meat. Thanks again.

I did come across one interesting software project that claimed that it did not use any hijacking at all. Instead, it claimed it brought itself down to the level of the kernel and accessed the GPU directly. But reading the forums and the problems the software had with D10 seems to point to hooking.

Any idea what else could be "lower" than hooking? I'm guessing there's some sort of plug-in architecture on the more recent GPU cards they're tapping into.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Looking for Volume OSD program that overlays fullscreen mame
« Reply #9 on: September 27, 2010, 01:34:24 am »
The only way I know to do it with Direct3D or OpenGL is through hooking. With GDI it's trivial and with DirectDraw there are things called "Direct Draw overlays" but I've found them to be problematic.

There may be new ways of doing overlaying in WPF but I have no experience with that.