MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Hawkjon
MAME Fan
Reged: 02/19/13
Posts: 8
Send PM
!!! >>> Found a solution for hlsl and non hlsl artifacts <<< !!!
03/06/13 10:55 PM


So... I found a solution. I apologize if this is something that everybody already knows or something that I already should have known.

Basically, I set the normal prescale to 1 and change the x and y prescale under hlsl to a higher number such as 4. Here is what that looks like in my config file (this is just the section of the config that matters for this fix. I've omitted the rest).

#
# WINDOWS VIDEO OPTIONS
#
video d3d
numscreens 1
window 0
maximize 1
keepaspect 1
prescale 1
waitvsync 0
syncrefresh 0
menu 0

#
# DIRECT3D-SPECIFIC OPTIONS
#
d3dversion 9
filter 1

#
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath hlsl
hlsl_ini_read 0
hlsl_ini_write 0
hlslini %g
hlsl_prescale_x 4
hlsl_prescale_y 4


This seems to fix the issue entirely and also fixes the issues that I was having outside of using hlsl. So, it also fixes the missing line of pixels at the bottom that is noticeable in games such as Metal Slug. It seems like the normal d3d prescale value is giving me issues unless set to "1" but the prescale that is done under the hlsl settings works just fine.

I have tried this on both Windows 7 x64 machines that were giving me issues and it seems to work fine on both. I still don't know what was causing the original problem but hopefully this will help others with the same issue.







Entire thread
Subject Posted by Posted on
* HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon 03/04/13 07:12 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 krick  03/05/13 04:42 AM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/05/13 05:49 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 R. Belmont  03/04/13 08:13 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/04/13 10:12 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 R. Belmont  03/05/13 05:01 AM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/05/13 05:41 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/06/13 05:46 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 B2K24  03/06/13 06:38 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/06/13 08:01 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 B2K24  03/06/13 10:47 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 R. Belmont  03/06/13 06:10 PM
. * !!! >>> Found a solution for hlsl and non hlsl artifacts <<< !!! Hawkjon  03/06/13 10:55 PM
. * Re: !!! >>> Found a solution for hlsl and non hlsl artifacts <<< !!! nicotears  04/20/13 01:45 PM
. * Re: HLSL Horizontal and Vertical line issues in Win 7 64bit with Mame v148 Hawkjon  03/06/13 08:07 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 213 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5556