06 April 2018, 21:28 | #1 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
Overlay Frame/Picture with LED's?
Hallo @ll, Hello Toni,
It is possible in WinUAE with overlays to use the Led's light from Winuae (Diskdrive, HDDisk, power). M.A.M.E use a *.lay XML file in Combination with a Overlay Frame/Picture This is my Overlay Png from MAME with Green LED's (Diskdrive Turns on -> LED goes on or off, power led too) |
07 April 2018, 19:41 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
I am not going to add XML parser just for overlays but some other less painful method should be possible
What exactly does it need? Coordinates and color? |
07 April 2018, 20:45 | #3 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
Hello,
That would be great. Yes, I think Coordinates and color should be enough. So, Power Led, DF0 -> DF4, HD? (would that be possible?) and CD? for CD32 and CDTV. greetings Marty |
08 April 2018, 12:20 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
What about even simpler solution: each led is separate full size image (same size as overlay), each led file is mainly empty except led image in correct position (relative to original overlay), everything else is transparent, file name is used to find correct led image (df0 led for example would be original-overlay-name_df0.png)
Led off: show main overlay normally. Led on: any non-transparent part of led image is temporarily copied over main overlay image. Very simple. No need for annoying coordinate files! |
08 April 2018, 12:37 | #5 | |
Banned
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
|
Quote:
Also, I've heard of Demos or Games that make the Filter rapidly turn on and off randomly during "decrunching" of content: reflecting that in these large transparent overlays could cause havoc with memory allocation, unless there's a simpler way? Just my two cents on this matter, but then I'm not as experienced in programming such things as you are, Toni. |
|
08 April 2018, 12:41 | #6 | |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Quote:
@Marty2AGA: sorry for me being so negative about your suggestion, I love the MAME/WinUAE overlays feature too, and yours example picture is great, too. But funny, some days ago I was just thinking, heck why the openMSX devs doesn't come with some simpler solutions like the WinUAE's one? (Sorry openMSX devs...) |
|
08 April 2018, 12:47 | #7 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Quote:
|
|
09 April 2018, 07:55 | #8 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
I'm curious how this will be implemented.
|
09 April 2018, 09:11 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Someone needs to create some led overlays first. I won't touch any paint programs
Minimum requirements: - existing overlay - new df0: overlay - new power led overlay Last two must have exact same size as original overlay, must be completely transparent except led graphics. |
09 April 2018, 12:32 | #10 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
This not a problem but the Size of my overlay is 4k. Because Quality.
The Main Overlay Image Is the same Overlay Image from the first Post, but in original size. Theme A500 Native with Floppy Drives In the Attaccment are DF0,DF1 and Power. |
09 April 2018, 20:01 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Quick test version: (warning: based on first 4.0 beta)
http://www.winuae.net/files/b/winuae.7z - files must be named <overlay name>_x_led.png> where x = power,df0,df1,df2,df3 - d3d11 mode only - does not discard transparent space around the leds = wastes memory and GPU bandwidth. Uses normal alphablending, semitransparent pixels also work as expected. |
09 April 2018, 20:10 | #12 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
Damned
Direct3D11.. can i not use. I have Windows7 64 32GB/GTX 970/AMDFX8350 and can Play Direct3D11 games, how StalkerCOP, Crysis3, Dolphin Emu, PSP Emu etc.. without Problems but in your WinUAE pop up the Message i need Direct3D11 KBUpdate and Exit. Exists in the ini a value to bypass this message? Otherwise somebody else has to test it. |
09 April 2018, 20:12 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Why not install the update? It is small update. WinUAE requires DXGI 1.2, most games probably don't care.
EDIT: D3D9 will be supported but that soon. |
10 April 2018, 21:22 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Now led textures are "cut" to smallest possible size internally. Still D3D11 only.
(btw, that update is also available via Windows Update but it is not mandatory update) |
10 April 2018, 22:53 | #15 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,009
|
Heu.... where do we have to save the pictures ?
I have saved them in the WinUAE4b root folder as "default_overlay.png" "default_df0_led.png" "default_df1_led.png" & "default_power_led.png" but nothing is displayed ? Edit: "dxdiag" indicates v 11 |
10 April 2018, 23:57 | #16 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
11 April 2018, 02:19 | #17 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,009
|
Thanks Damien .
Did try but no change... Also checked WinUAE help but don't know if the only page returning a result for "overlay" is related to what is discussed here. I have seen in the 'Filter' menu that "no overlay available" is always displayed. Maybe I missed something else in the basic config I setted-up for this test. But it's late now. Will check again tomorrow. |
11 April 2018, 07:49 | #18 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,567
|
Path is correct. "No overlays available" mean you have DirectDraw mode enabled. (Misc panel)
|
11 April 2018, 10:47 | #19 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,009
|
Thanks Toni .
After changing the "Graphics API" to DX11 in Miscellaneous, now the "default_overlay.png" is available in the Filter menu . Running WinUAE displays a Windows message complaining about a missing KB (the 2670838), then the KS1.3 rom image is displayed but no overlay present. Pressing F12, I see that the "Graphics API" has been reverted to DirectDraw. So problem here is not WinUAE related. Last time I updated the windows setup on the Netbook I am using now, it was a pain making the Notebook working again (finally full reinstall from scratch)... so... will stop my test here for the moment as I have no time to "repair" this computer one more time in case of a bad surprise after another KB update... Many different issues after Win7 KB updates on various computers made me suspicious and careful with Win7 updates. Worst one were BSOD . Last edited by malko; 11 April 2018 at 11:03. Reason: missprint |
14 April 2018, 02:56 | #20 |
Registered User
Join Date: Mar 2018
Location: Germany
Age: 47
Posts: 35
|
Here are more Bezel from me. I added now more themes to my Bezel Package
If your Update the DX9 part to use Overlay, i update my Bezel Package DX11 Offtopic I know which KB update Winuae needs so that the requester no longer appears. KB2670838 (Names as Evil Update for Gamers) . This update has caused me in the past more than often problems with some older games. DX10 and DX11 games that came out before the update. This update goes deep into the system and changes the DX10 and DX11 subsystem files. It struck me when I wanted to play Resident Evil 5, Lost Planet 1 or Stalker Call Of Prypjat (and i activ mod the Stalker Game Serie). They did not run or freeze. After days of searching and a few tips I uninstalled and suddenly they ran again. But not newer Dx11 games. (DirectX11 not found). Crysis 3 for example crashes. I had this Now I've configured my Window 7 to run the old and new DX10 / DX11 games. Sorry Toni but with this update I will not compromise my stable system. I Wait for DX9 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use overlay hunks? | Mrs Beanbag | Coders. System | 21 | 22 January 2024 17:44 |
100 Hz LED, how do I get black frame insertion going? | Photon | support.WinUAE | 5 | 12 October 2015 00:48 |
My BVision cannot into overlay? | arti040 | support.Hardware | 3 | 19 September 2015 01:19 |
Overlay effect | MrX_Cuci | request.UAE Wishlist | 15 | 30 June 2010 17:35 |
A1200 LED to PC-Case LED? | PoliceQuest | support.Hardware | 2 | 30 August 2008 13:09 |
|
|