MAMEWorld >> EmuChat
Index   Flat Mode Flat  

BAM
MAME Fan
Reged: 01/05/23
Posts: 5
Send PM
Re: MAME HLSL - Windows vs. Linux
01/07/23 02:51 AM Attachment: hlsl.json.ini 35 KB (2 downloads)


Attaching the modified hlsl.json file to this post.

One other question if i may...

I noticed that some of the other .ini files I have for other games, as well as source drivers (ini/source folder) which has some hlsl config parameters in them, do not get applied on my Linux MAME. I know my .ini paths are correct as I placed a general mame config parameter into one of these game .ini files and it applied the change (I tested by setting a custom pause_brightness value).

So, it seems that MAME is reading the .ini, applying the general mame config parameters, but ignoring the HLSL ones. Is there some other config that needs to be changed to get mame to read & apply the hlsl parameters from .ini files so that these take precendece over the defaults in the hlsl.json file?

Please forgive me if I have overlooked anything from the comments in the hlsl.json file. I did find a section relating to "input" that almost seems like what I need to use, but it referred to something explicitly about the artwork folder and reading in an image file:


Quote:


// option (optional): The name of any MAME option, which will have its value fetched and used as the name of a PNG to load from the artwork directory.
// value: Any valid MAME INI option name.




I have some custom hlsl settings for vertical games that I place in the vertical.ini for example and quite a lot of custom tweaks for specific games and drivers so if the json file can be modified in any way to read in the values from .ini files I am more than happy to go the legwork if I can figure out what it is I need to do

Cheers!
BAM







Entire thread
Subject Posted by Posted on
* MAME HLSL - Windows vs. Linux BAM 01/05/23 11:53 PM
. * Re: MAME HLSL - Windows vs. Linux MooglyGuy  01/06/23 08:13 AM
. * Re: MAME HLSL - Windows vs. Linux BAM  01/06/23 03:18 PM
. * Re: MAME HLSL - Windows vs. Linux MooglyGuy  01/06/23 06:44 PM
. * Re: MAME HLSL - Windows vs. Linux BAM  01/07/23 02:24 AM
. * Re: MAME HLSL - Windows vs. Linux BAM  01/07/23 02:51 AM
. * Re: MAME HLSL - Windows vs. Linux MooglyGuy  01/07/23 04:40 AM
. * Re: MAME HLSL - Windows vs. Linux BAM  01/07/23 02:56 PM

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