Custom configs for CRT using the built-in composite out
polish.potato last edited by
I'm having a bit of an issue with some games with the Atari 2600 that use the top and bottoms of the screen like warlords. There is a bit of the top cut off not displaying which game you have selected and the score. There is a black bar at the bottom of the screen like as if it had been moved up. If there is any way to fix this let me know because I would really like to play this game with my family instead of lugging around a whole Atari console with me.
@polish-potato it seems to be a quirk of the emulator or the game.
you can work around it by creating a game specific override using the normal means or creating a cfg file yourself after the name of the rom (Warlords (1981) (Atari).cfg in my case) inside the configs/atari2600/config_crt/Stella/ folder (create the config_crt and Stella folders if don't exist) with the following text:
custom_viewport_y = "46"
if is too low or still too high you can change that number until you are satisfied, the default value is "30".
folder and file names are case sensitive, so pay attention to that.
I did the extension configs/atari2600/config_crt/Stella/ folder and it would not edit after rebooting several times trying to figure it out. I even went into retroarch_crt.cfg to set it to 46. No luck after saving and rebooting. I am using notepad++. What am I doing wrong?
All the games vary from what is cut off.
EDIT: is there supposed to be a space in front of " folder" or is there not supposed to be " folder"? If that fixes it I'll try it.
The only problem with the systems I am having is with the Atari and if I could adjust all the games I would. All the games are made differently from my understanding.
@polish-potato is configs/atari2600/config_crt/Stella/
the name of the file you need to create is exactly the same as the name of the rom. in the example below my warlords rom is named Warlords (1981) (Atari).a26, so the name of the config has to be Warlords (1981) (Atari).cfg
lastly, retroarch_crt.cfg is not the active configuration, is only the preset that is applied when you use the runcommand > user menu scripts. the active config is always retroarch.cfg.
I had tried it that way even before asking and I did not find the solution.
Does where the rom file is make a difference? What I mean is, it is in a folder.
@polish-potato sorry for the late reply. maybe it's because you have it in a sub-folder.
you'll be better off opening retroarch menu and saving a game override (open the game > quick menu > overrides > save game overrides > close the game), that way the configuration file will be automatically created at the correct location and then you can open the file with notepad++, delete everything and add only the custom_viewport_y line.
Funny enough it set it where it was supposed to be in lr-stella just not the stand alone stella that allows you to use paddles and the keyboard. If you have any idea what to do with that let me know cause that's what I use it for. Sorry for the late reply I have been busy.
I also looked at an nes game with a bunch of text on the screen and some was cut off at the top and bottom. I was using lr-fceumm. This shouldn't be happening. I updated the rpi a long time ago when you had a revision but I didn't start from scratch. Maybe that is the problem.
EDIT: The NES game was some crappy homebrew game it was just that. The stella is a problem though.
Sakitoshi last edited by Sakitoshi
Long awaited update:
- vertical configuration for arcade games.
- slightly more precise scaling for genesis low res and neogeo.
- shader preset cleanup.
One of the questions people asked was how to run vertical arcade games like pacman without having to rotate the whole tv and I had no idea of how to easily do that so I ignored the topic altogether.
but some time ago I found the answer and thoroughly tested it to make sure it worked as intended. sadly is not an automatic process so you'll need to edit some files to make it work, but I tried to make it as painless as possible by providing a template configuration.
for the full details of how to use it the instructions are as always in the github readme.
vertical mode in action:
dimetrius last edited by dimetrius
@Sakitoshi hi, there is one question, copied your configuration, did according to the instructions. The question is, should it be so in snes that shaders are turned off "shader Passes =0" ? Or do I need to install shaders separately? Now so. Thank you for your attention, sorry for the bad English.
@dimetrius are you using dispmanx? it doesn't support shaders.
if that's not the case then some files didn't transferred to your raspberry pi correctly.
This post is deleted!
@Sakitoshi hi, did it all over again, installed the retropie 4.5.1 image for my Raspberry Pi 3 b +. Copy your settings to directories. At the moment, in the nes console, the shader section write "shader # 0 tvout - tweaks_sharp.glsl". and the snes emulator writes shader # 0 filtre "tvout-tweaks_smart.glsl". Now what have I done right? Thanks for your attention.
@dimetrius yup, that looks right.
@Sakitoshi Thank you very much, CRT TV is just great. There is a request, you can do it or tell me how to do it for zxspectrum 64,128. Thanks a lot for your attention
@dimetrius sorry if the reply is late, I was out the whole week.
I'm not familiar with the zx spectrum, but I see that it has a retroarch core so I'll see what I can do.
- support for zx spectrum added (via lr-fuse).
Since I though my job was done after I added coleco/intellivision and msx I didn't investigated further which other emulators I could create configs for. that and I'm not really interested in microcomputers in general (I never had one and I'm not from Europe or even USA, my first piece of technology was a custom built 80486).
But here it is the support for the zx spectrum some were waiting for, better late than never I guess.
Rion last edited by
@Sakitoshi Have you looked at how the Guys/Gals over at the Facebook group Pi2Jamma / Pi2SCART (Google: facebook group 1649021265123737) solved the problem with automatic switching for vertical arcade games?
@Rion No, I havent. there are fundamental differences between built-in composite and other methods of analog tv out (mainly they have access to custom timings and resolutions while we are stuck at 720x480 interlaced or progressive skipping every other line) that make 90% of those configs useless for my purpose, so I usually just take a quick look and move on (that and I don't use facebook and stay away as far as possible from it).
and for what I can see they use a list and modify the config at launch time, both things that I try to avoid. the first because then I'll have to maintain said list and the second to not burn write cycles of the sd card every time you launch a game.
of course the list method is better (for me since the list was already made by them), but I don't want to burn out everyone's sd card.
another way to do it would be to create unique configs for each game (like I did for neogeo before giving it a dedicated scaling shader), but I prefer to avoid adding +2500 files just for a niche feature.
Rion last edited by Rion
Well sadly facebook is where they are. To bad that they don't use a forum. The "official" (circuit-board dot de) is sadly not updated with the latest info.
Its a pain in the ass to find something on facebook.
Anyway... I could not help myself so i created a 480i.txt containing all the games from the file vertical.txt with file extension to be place in:
Then i went ahead and created *.cfg files for all the 2500 vertical games in the list.
/opt/retropie/configs/fba/config_crt/FinalBurn Neo/ /opt/retropie/configs/arcade/config_crt/emulator/
I have tested about 20 or so games and all looks good. But i am only using FinalBurn Neo at the moment.
@Rion I guess I can add an optional zip or rar with all the vertical configs.
I'll be testing a couple games to assure that at least the most popular ones work as intended, but it'll take some time.