3/30/2024 0 Comments Retroarch black bordersIf you specify a scale_type, it will assume a scale of 1.0 if you don’t manually specify one, which brings us to scale: Scale is the scale factor applied the output framebuffer. ‘Source’ is the default for all passes except the final pass, which defaults to viewport (to stretch the image to fit the screen). If you need to add a scale type to a pass and there isn’t one there already, you can just add that line: scale_typeX = “whatever”. There are a few different scale types, which are used to calculate the output size of the framebuffer: ‘source’, which is based on the size of the input framebuffer (the most common), ‘viewport’, which is based on the size of the current window (or your monitor in fullscreen), or ‘absolute’, which is a specific number of pixels (e.g., 240). Some shaders require one or the other but many don’t care, hence the “don’t care” setting being the default and what is used if nothing is specified. Filter is either “linear”, which means it uses the GPU’s built-in bilinear filtering hardware (blurry but consistent) or “nearest,” which makes the image sharp but prone to uneven pixels. ![]() You can change them in RetroArch by pressing left/right on the dpad/arrows. You don’t need to worry about the other metadata (filter, scale type, etc.). ![]() Then, add another pass after it that points to the image-adjustment shader. (the faster/easier way) scroll down to the bottom of the file and change the scale type for the last pass to ‘viewport’. You don’t need to worry about any of the other metadata for the image-adjustment pass in this case, just the path to the shader itself. If there are a lot of passes, the easiest way to do that is go down to the bottom and find-and-replace for the last pass number followed by a space (e.g., 12 ) and replace it for the next highest number followed by a space (e.g., 13 ), and then work your way backward (11 -> 12, 10 -> 11, 9 -> 10, … 2 -> 3, 1 -> 2, 0 -> 1). (the better way) put image-adjustment as shader 0 and bump the rest of the passes down 1. In both cases, open the preset file in your text editor (make a backup of it first, just in case you fuck it up somehow) and look for the ‘shaders = X’ line at the top and bump it by 1, then: ![]() There are a couple of ways to handle it, but unfortunately, you’ll have to get your hands a little dirty with a text editor for either one. I found it in my shaders, but it doesn’t have the cropping option.Īspect ratio: Core provided(tried 4:3 as well) I searched on google and found that there is an image-adjustment shader that has the option to crop. Why doesn’t Retroarch have this super convenient and extremely important option?Īnyway, how do I remove these borders? I’m using a custom shader preset and it doesn’t have any option like that. Not just Mame but pretty much every emulator out there has a “fit to screen” and/or “stretched” option available for different aspect ratios which extends it to fit your screen while keeping the aspect ratio intact. The same games on Mame(emulator, not core) don’t have this issue at all. Some have a thicker top border than bottom. I'm guessing off the bat (without knowing exactly how DOSBox renders the display) that it would have to change the way DSOBox renders the display to cover the black areas as well somehow if the black areas outside the display in the DOSBox window aren't currently accessible in this way with the current code.I’m mostly trying out arcade games on the Flycast core, but tried Mame core as well, and I’m being faced with variable proportions of black borders on all four sides in almost every game. ![]() It's nice for presentation for streams and YT videos but it'd also be kind of nice in real time for playing a game yourself at home as well. The idea just came to me after watching some DOS game let's play videos on YouTube. It would just display "behind" the game display like a wallpaper and spill out into the black bars/columns outside the main render area that DOSBox usually doesn't take up. Perhaps it could also have an extra CONF entry for scaling/best fit options like fill/stretch/fit/1:1 etc. Is there such thing or has anyone thought of having a feature in DOSBox where, defined in the CONF, you could add a border/background image file that would display in the black column bars around the render display (most useful for aspect ratio-corrected games)? So that, for instance, when you're playing a 320x200 aspect ratio-corrected game in 1920x1080 fullscreen resolution you could have a nice optional border around it? That could go for letterbox displays as well for that matter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |