MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Different HLSL settings at the level of vertical and horizont ini ?
#392472 - 11/07/21 02:21 PM


Hi, I'd like to apply different HLSL settings to horizontal and vertical games permanently, so I thought I would create a horizont.ini and a vertical.ini, put them in the ini folder, and just write my HLSL settings in those. Like for instance;

horizont.ini

Code:

hlsl_enable               1
defocus 0.6,0.3


However this way doesn't work, I must be missing something.

Note that it works fine if I do per-game or per-driver* ini's.
(*in a 'source' subfolder for the latter)

Any way to make this work like I intend ? Thanks.



> MAME isn't about playing the games anyway.



LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392583 - 11/11/21 10:10 AM


Hhm... should I assume there is no way ?



> MAME isn't about playing the games anyway.



uman
MAME Fan
Reged: 04/15/12
Posts: 455
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392584 - 11/11/21 11:11 AM


My biggest guess would be, that your .ini is wrong. It should be named horizontal.ini and not horizont.ini
Although hlsl will only work, if you have d3d enabled. It is not enough just to turn on hlsl.



LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: uman]
#392585 - 11/11/21 11:19 AM


According to docs I have named the inis correctly https://docs.mamedev.org/advanced/multiconfig.html
And I'm on d3d.

I know about raster.ini but for what I'm trying to do something's either escaping me or just not possible at this level and I'm not seeing the reason.
Again it works at game level or source, dunno why it doesn't here.



> MAME isn't about playing the games anyway.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392589 - 11/11/21 02:58 PM


>



LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: Robbbert]
#392590 - 11/11/21 04:49 PM


Sorry Robbert I don't understand what you meant to say here.

I don't know if people really understood my question, welp, if someone who does could just advise something like "no what you want to do ain't possible" or "yes you can but you have to do it this way instead", that'd be great and thanks in advance.

If it can't be done at vertical.ini and horizont.ini level then I'll just keep creating enough inis at source or game levels, no big deal, I just though it'd be more convenient with just two inis, of course. ¯\_(ツ)_/¯



> MAME isn't about playing the games anyway.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392591 - 11/11/21 05:04 PM


Take a look in this page. Order of the .ini files. This might help you.
https://docs.mamedev.org/advanced/multiconfig.html
I think you need to set HLSL options in horizont.ini and in vertical.ini
Make sure you don't have HLSL settings in files that overwrite these .ini files



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



uman
MAME Fan
Reged: 04/15/12
Posts: 455
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392592 - 11/11/21 05:30 PM


> According to docs I have named the inis correctly
> https://docs.mamedev.org/advanced/multiconfig.html
> And I'm on d3d.
>
> I know about raster.ini but for what I'm trying to do something's either escaping me
> or just not possible at this level and I'm not seeing the reason.
> Again it works at game level or source, dunno why it doesn't here.

Ok, how about you just use these two .ini´s and mame.ini for a test? What happens then?



LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: CiroConsentino]
#392593 - 11/11/21 05:55 PM


Nevermind I'll go find help elsewhere.



> MAME isn't about playing the games anyway.



Andrew
Girl Watcher
Reged: 09/21/03
Posts: 5082
Loc: Boston, Mass.
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: LensLarque]
#392604 - 11/12/21 05:15 PM


> Nevermind I'll go find help elsewhere.

Try running the command line with the verbose switch to see which ini files are being found and used by the executable. I believe if you see "Parsing" it means the named ini was found and used by MAME. Note that using the switch crashes some games but I think you'll see the ini loading anyway.




Code:

E:\emulation-sandbox>E:\emulator-mame\mame.exe genesis termintr -verbose
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Parsing horizont.ini
Attempting load of console.ini
Parsing console.ini
Attempting load of raster.ini
Attempting load of source\megadriv.ini
Attempting load of genesis.ini
Parsing genesis.ini
Reading translation file English: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translations from file English
Starting plugin data...
Starting plugin hiscore...
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Parsing horizont.ini
Attempting load of console.ini
Parsing console.ini
Attempting load of raster.ini
Attempting load of source\megadriv.ini
Attempting load of genesis.ini
Parsing genesis.ini
...




--
A story of one man and his obsession with the female anatomy.



LensLarque
MAME Fan
Reged: 02/19/08
Posts: 160
Send PM


Re: Different HLSL settings at the level of vertical and horizont ini ? new [Re: Andrew]
#392608 - 11/13/21 01:57 PM


nvm found the solution: erase raster.ini

then mame will look for horizont.ini and vertical.ini



> MAME isn't about playing the games anyway.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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