English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 June 2010, 13:16   #1
MrX_Cuci
Registered User
 
Join Date: May 2006
Location: The Netherlands
Age: 44
Posts: 199
Overlay effect not working

I am using the host fullwindowdD3D as base. I placed some images in plugins\overlay just to play around with, but they don't show up. I tried adding gfx_filter_overlay=<path to file> in the fullwindowD3D config file, but no luck. I am stuck here. Do those images need to be in a special format?

Direct3D is enabled.
MrX_Cuci is offline  
Old 28 June 2010, 13:21   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
I hope <path to file> is real path to image file..

Check log as usual. Any D3DXCreateTextureFromFileInMemoryEx() supported format is accepted (png is the most common)
Toni Wilen is offline  
Old 28 June 2010, 13:56   #3
MrX_Cuci
Registered User
 
Join Date: May 2006
Location: The Netherlands
Age: 44
Posts: 199
Found the problem:
couldn't open overlay ''O'

gfx_filter_overlay=O:\WinUAE\Plugins\Overlay\Background.png

Tried gfx_filter_overlay="O:\WinUAE\Plugins\Overlay\Background.png"
and gfx_filter_overlay='O:\WinUAE\Plugins\Overlay\Background.png'
MrX_Cuci is offline  
Old 28 June 2010, 14:02   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Argh, this gets fixed before official 2.2

As a workaround remove path, leaving only filename and put them in <winuae path>\plugins\overlays (not overlay)
Toni Wilen is offline  
Old 28 June 2010, 14:06   #5
MrX_Cuci
Registered User
 
Join Date: May 2006
Location: The Netherlands
Age: 44
Posts: 199
No need for fixing. Just fix the docs: (checks also plugins/overlayS/<file>)
MrX_Cuci is offline  
Old 28 June 2010, 14:10   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
It needs fixing (':' changes to ','), absolute paths must be supported too. (same as rgb masks)
Toni Wilen is offline  
Old 28 June 2010, 14:11   #7
MrX_Cuci
Registered User
 
Join Date: May 2006
Location: The Netherlands
Age: 44
Posts: 199
Hmmm....it draws the image over the Winuae screen instead of before it loads. Could be a driver problem though. Have to check it out. Seen numerous ATI driver problem reports
MrX_Cuci is offline  
Old 28 June 2010, 14:24   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Over winuae Amiga area is "working as designed". You expected something totally different if you wanted it outside the window. (How are you supposed to draw outside your own window? and this wouldn't work at all in fullscreen modes..)

Adjust the window size (larger), adjust filters to position Amiga area relative to overlay (if needed).
Toni Wilen is offline  
Old 28 June 2010, 14:31   #9
MrX_Cuci
Registered User
 
Join Date: May 2006
Location: The Netherlands
Age: 44
Posts: 199
I explained myself badly. I meant it draws over everything. I expected just the black borders to be filled, but even the "emulation window" is affected. Nevertheless that's probably by design aswell. Will fiddle around with the settings when I have more time.
MrX_Cuci is offline  
Old 28 June 2010, 14:33   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Ah. Missing alpha channel? It needs proper alpha channel (transparency is fully supported), not just some kind black area. (which is why it is D3D only, everything is "automatic", only need to tell "put this texture here")
Toni Wilen is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Purple Overlay to screen SteveE support.Hardware 2 12 March 2011 23:48
WinUAE will have overlay support again? Leandro Jardim support.WinUAE 2 17 October 2010 22:19
Overlay effect MrX_Cuci request.UAE Wishlist 15 30 June 2010 17:35
Gunship 2000 - keyboard overlay? gizmomelb support.Games 0 26 August 2006 14:23
WinUAE 1.1 RGB overlay issue Alan support.WinUAE 8 22 February 2006 16:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:18.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11691 seconds with 15 queries