Scanlines in Libretro AdvMAME and FBA
-
@Floob When I try 0 or 2 for the mask_type. the scanlines disappeared.
-
@Riverstorm said in Scanlines in Libretro AdvMAME and FBA:
Thanks Caver, I did a copy and paste as I do with several of your posts. I will be adding this in tonight to see how it looks!
Just be mindful that when you are messing with the AdvanceMAME .rc files, it doesn't like duplicate config entries. So, if you copy and past mine, you need to remove the ones that are there, or add a rom name in from of them like
oldsetting/display_flicker 0
. This example tells advancemame to use this config line with the game called "oldsetting" which of course there isn't one, so you can create commented lines in this manner. AdvanceMAME is very picky about its config file. -
@jretropie I'll have to try it out myself. I'm afraid I dont have the setup you do so cant test like for like.
-
@jretropie said in Scanlines in Libretro AdvMAME and FBA:
@Floob When I try 0 or 2 for the mask_type. the scanlines disappeared.
That sounds like what you get when there's a mistake in the shader and it defaults to what you get when you specify no shader.
Reinstall the files so you've got a correct version and change line 18 so it reads:
#define MASK_TYPE 0
-
@caver01 said in Scanlines in Libretro AdvMAME and FBA:
Just be mindful that when you are messing with the AdvanceMAME .rc files, it doesn't like duplicate config entries. So, if you copy and past mine, you need to remove the ones that are there, or add a rom name in from of them like
oldsetting/display_flicker 0
. This example tells advancemame to use this config line with the game called "oldsetting" which of course there isn't one, so you can create commented lines in this manner. AdvanceMAME is very picky about its config file.Ok, that brings up another question. Are these global settings that only vector based games will utilize or should the games be added individually like:
solarq/display_width 1280 solarq/display_height 1024 solarq/display_flicker 15 solarq/display_intensity 1.5 solarq/display_antialias yes solarq/display_translucency yes solarq/display_beam 1.2 starcas/display_width 1280 starcas/display_height 1024 starcas/display_flicker 15 starcas/display_intensity 1.5 starcas/display_antialias yes starcas/display_translucency yes starcas/display_beam 1.2
-
@Riverstorm They are only used by vector titles. You don't need to precede them with anything if you want all vector games to behave the same way. AdvMAME includes references like this so you can affect entire classes of games or just single ROMs. I don't know them all by heart, but I know classes of resolutions can be specified and so can vertical games. For example:
vector/display_flicker 15
would only affect vector games. Also, something like,vertical/display_ror yes
was one I used for a lot of vertical games so they were rotated, although I had to UNDO this by setting it tono
for specific titles:1941/display_ror no
. Back when I was using advancemame for everything, these kinds of settings offered a lot of flexibility. -
@caver01 said in Scanlines in Libretro AdvMAME and FBA:
@Riverstorm They are only used by vector titles. You don't need to precede them with anything if you want all vector games to behave the same way. AdvMAME includes references like this so you can affect entire classes of games or just single ROMs. I don't know them all by heart, but I know classes of resolutions can be specified and so can vertical games. For example:
vector/display_flicker 15
would only affect vector games. Also, something like,vertical/display_ror yes
was one I used for a lot of vertical games so they were rotated, although I had to UNDO this by setting it tono
for specific titles:1941/display_ror no
. Back when I was using advancemame for everything, these kinds of settings offered a lot of flexibility.Thanks Caver, yeah it sounds like AdvMAME was adding all kinds of flexibility to MAME with added parameters. I really like that display_ror no to reverse it is really quite flexible. I appreciate the information. I am looking forward to see how it looks with these new settings! ;)
-
@Riverstorm said in Scanlines in Libretro AdvMAME and FBA:
display_width 1280 display_height 1024
Caver, are these two settings global or under a section that only pertains to vector games?
Also is it possible to set shader effects or
video_shader_enable = true
or the aspect ratio on a per ROM with the menu (Libretro cores)? Recently I've been using the Configuration Editor under RetroPie for some of these settings as it allows me to test/tweak without needing a keyboard or leaving ES using a joystick.My minimalist setup is a RetroPie in fan case with a Microsoft wireless dongle and 4 XBOX 360 controllers thrown into a Tupperware box. Really light weight for easy travel! :)
-
@Riverstorm Those settings are in the .rc file for AdvanceMAME only, and they only affect vector games. According to @BuZz, advancemame code for RetroPie was setup for 640x480 only. He tweaked it to allow for user-defined resolution for vector games.
Normally, setting up video for AdvanceMAME can get extremely complicated requiring you to define all of the frequency details for your display hardware--details that don't make sense on the Pi. Anyway,
display_width
anddisplay_height
were added (thanks BuZz!) solely for configuring vector games in AdvanceMAME.As for the retroarch menu, I don't really use it. I know it's possible to enable saving from the menu, but that always seems to write out a gigantic settings file with every single item inside. Normally, you only want the overriding settings, or the differences from the ALL config, or from the emulator config. I connect to my system over the network with samba shares and edit the configs on another computer, and shader settings per rom are few and far between for me, so I typically rely on the global and emulator configs.
-
@caver01 said in Scanlines in Libretro AdvMAME and FBA:
@Riverstorm Those settings are in the .rc file for AdvanceMAME only, and they only affect vector games. According to @BuZz, advancemame code for RetroPie was setup for 640x480 only. He tweaked it to allow for user-defined resolution for vector games.
Thanks Caver, I really appreciate all the information you've shared. It's really helped me with several different things! :)
-
@davej said in Scanlines in Libretro AdvMAME and FBA:
@jretropie said in Scanlines in Libretro AdvMAME and FBA:
@Floob When I try 0 or 2 for the mask_type. the scanlines disappeared.
That sounds like what you get when there's a mistake in the shader and it defaults to what you get when you specify no shader.
Reinstall the files so you've got a correct version and change line 18 so it reads:
#define MASK_TYPE 0
Thanks! You are right. It works now. when I set it to zero.
Th
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.