cvgamer Posted November 5, 2017 Share Posted November 5, 2017 I'm trying to use HLSL under mame64ui .191 I followed the advice on this YouTube video: https://www.youtube.com/watch?v=Q0vJrmXHydU that tells you to delete existing ini files and start with one provided in the comments. It seems to work except I can't get the HLSL slider controls to show up when I tab or tilde from within the game. On the game properties from the main UI, if you go to Advanced->Select Effect I can choose an hlsl function (one only) like shadow mask or scanlines, so I think it basically works, but how to easily change the parameters like in the video ? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 5, 2017 Share Posted November 5, 2017 The tilde key should bring up the slider at the bottom and then use your arrow keys to scroll through the different ones til you find the HLSL sliders. Keep in mind though changing those sliders will only remain while that game is loaded, it won't remember those settings after you close out the game. To make permanent changes you need to edit the raster.ini file in the \ini\presets\ folder I'd suggest downloading my HLSL preset and seeing how they look, I think they look extremely good but of course personal preferences vary. Instructions are on the download page. Quote Link to comment Share on other sites More sharing options...
cvgamer Posted November 5, 2017 Author Share Posted November 5, 2017 (edited) I guess I was wrong in my initial post - the effects function in properties is some kind of png overlay on the screen - different from HLSL scanlines. I tried the new raster file in ini presets and in the main mame.ini file which in .191 is in the main ini directory now, and a few other combinations. What happens is the game screen does change. Without this HLSL stuff the actual game video looks like a "resized picture" with some blur. When I set the HLSL parameters (video to d3d) using these various ini files I get a solid hard pixellated image but I cannot adjust anything using the parameters in the files . The adjustment sliders don't even show up when tilde or tabbing during the game. So it does change but it won't seem to allow me to tweak those various parameters. ??? Info: am using an older but decent Radeon GFX card and DirectX 11. Edited November 5, 2017 by cvgamer Add info Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 5, 2017 Share Posted November 5, 2017 5 minutes ago, cvgamer said: Without this HLSL stuff the actual game video looks like a "resized picture" with some blur. This is most likely the bilinear filtering which is under: # OSD ACCELERATED VIDEO OPTIONS # filter 0 If you have a 1 in your mame.ini change it to 0, it should be off if using a shader. 8 minutes ago, cvgamer said: When I set the HLSL parameters (video to d3d) using these various ini files I get a solid hard pixellated image Did you enable HLSL in your mame.ini file ? Set hlsl_enable to 1 # DIRECT3D POST-PROCESSING OPTIONS # hlslpath hlsl hlsl_enable 1 Quote Link to comment Share on other sites More sharing options...
cvgamer Posted November 5, 2017 Author Share Posted November 5, 2017 Yes the filter is off - 0. So I guess that means the HLSL may not be recognized at all, its just the filter switch causing the change. Yes hlsl is enabled. I've tried a lot of combinations of the YouTube ini and you're file and I have not yet gotten anything to work. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 5, 2017 Share Posted November 5, 2017 Not sure what is going wrong for you then, enabling hlsl in the ini file and dropping the raster.ini file into the proper folder should have it on when you load up a game. Quote Link to comment Share on other sites More sharing options...
cvgamer Posted November 5, 2017 Author Share Posted November 5, 2017 Do you think the graphics card might have anything to do with all this ? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 5, 2017 Share Posted November 5, 2017 Maybe, what sort of graphics card are you using ? Quote Link to comment Share on other sites More sharing options...
cvgamer Posted November 5, 2017 Author Share Posted November 5, 2017 Saphire Radeon HD6850 on Windows 7. It has like 700 GPUs. I was also wondering if mame HLSL might need a higher DirectX than v11. Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 5, 2017 Share Posted November 5, 2017 It should be fine, I use it on my HTPC which uses Windows 7 and a Radeon 7800 series card. Quote Link to comment Share on other sites More sharing options...
cvgamer Posted November 5, 2017 Author Share Posted November 5, 2017 I just signed up for mameworld forum. I'm gonna take this over there. If get it resolved, I'll post what's going on here for this forum's future benefit. Quote Link to comment Share on other sites More sharing options...
charliethesnake Posted November 20, 2017 Share Posted November 20, 2017 how to do it if the file " raster.ini " does not exist on our version of Mame ? i try to create one but it doesn't work :( Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 20, 2017 Share Posted November 20, 2017 It should exist unless you are using an older version of Mame before the HLSL shaders became a thing. Quote Link to comment Share on other sites More sharing options...
charliethesnake Posted November 20, 2017 Share Posted November 20, 2017 52 minutes ago, Lordmonkus said: It should exist unless you are using an older version of Mame before the HLSL shaders became a thing. No i use the last mame64 0.191 and it doesn't work ! this one work : https://www.youtube.com/watch?v=Q0vJrmXHydU , then it's not a problem of my version of mame Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 20, 2017 Share Posted November 20, 2017 It should be in the \ini\presets\ folder, if it's not in there I really don't know what to tell you Quote Link to comment Share on other sites More sharing options...
charliethesnake Posted November 20, 2017 Share Posted November 20, 2017 is there a place where we can find a version of Mame with your hlsl configuration inside ? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted November 20, 2017 Share Posted November 20, 2017 No, but as far as i'm aware of all versions of Mame should have those files I posted a screencap of. I use the command line version of Mame but maybe there are some versions that don't have those files. Quote Link to comment Share on other sites More sharing options...
charliethesnake Posted November 20, 2017 Share Posted November 20, 2017 yes my version does not have these files, it's a shame because I love this version of hlsl without being curved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.