![]() Model : Sony Trinitron KV-21FX20B with a flat screen. However my CRT screen cannot exceed 224p on the displayed area. I’ll read your tutorials about that more carefully. I think I need a custom switchres.ini file with good values for the crt_range to get a better scaling. But I’m not a Linux I tried to make SwitchRes working for me, but I wasn’t able to get what I want. If any questions, I can try to reply and explain my reasons. I tried to make a shot resume of all steps to make it more understandable.Īll my files are available from this root folder : Perhaps I forgot a detail but the main stream is here. My retroarchcustom.cfg file is downloadable here : Ĭonclusion) I wrote all of this from my memory while its near fresh in my brain. ![]() Take care and make a copy file before changing its content. This file make changes for all RetroArch cores. Perhaps you’ll need to add some changes in the /userdata/system/config/retroarch/retroarchcustom.cfg file too. You can download my personalised config files and use them as sample here : These files are located in /userdata/system/.config/retroarch/config. However it’s quicker and easy to make changes in each config files directly. We can do this with its setting menu interface (GUI) as explained in the wiki : Otherwise you’ll lost them at the next reboot.ĥ) To finish I had to setup each emulators in RetroArch separately. My patched file is downloadable here : Īfter changes made in the emulatorlauncher.py file, you’ll need to run the batocera-save-overlay command line. Get my full emulatorlauncher.py file and make a compare with yours to put these lines at their good place. # Fix Export current rom name for the forceRescaleCRT.sh scriptį = open("/userdata/system/logs/currom.log", "w") So I needed to add these lines in the /usr/lib/python3.9/site-packages/configgen/emulatorlauncher.py # Fix Export current system for the forceRescaleCRT.sh scriptį = open("/userdata/system/logs/cursystem.log", "w") Otherwise it makes issues.Ĥ) I also need to retrieve some information about the current hardware and rom running in my forceRescaleCRT.sh script. Make this script executable too with this command line :Ĭhmod +x /userdata/system/scripts/first_script.shĪnd take care there is only and only one file in the /userdata/system/scripts folder. My personalised first_scripts.sh I use to call the forceRescaleCRT.sh is downloadable here : This operate throught the /userdata/system/scripts/first_scripts.sh trick. And I need to rollback the display into interlaced mode to go back in EmulationStation each time the game stop. You can download all these scripts here : ģ) But everything isn’t yet ready !! I need to run my forceRescale.sh script each time a game start. dat files here : Īll this scripts must be set as executable with this command line : dat files to make and update the vertical games list. UpdateDAT2Vertical.sh : Is a standalone script I used to parse FinalBurn Neo and MAME. ScaleCRT50Hz.sh : It does the same as the scaleCRT.sh script but there is some few changes to make it compliant with 50Hz PAL games. It can be used to scale manualy the display while ingame throught an SSH command line too. ScaleCRT.sh : It scales the display into 15.7Khz progressive mode on my TV screen according with the width, height and vertical frequency of the game. More explaination in the wiki here : Ģ) When these basics are done I put my personnal scripts in the /userdata/crt_scale folder.įorceRescaleCRT.sh : It detects RetroArch is running and the current game resolution, then it call the scaleCRT.sh or the scaleCRT50Hz.sh script to rescale the display properly.ĪutorescaleCRT.sh : It detects when internal resolution change in game, then it call the scaleCRT.sh or the scaleCRT50Hz.sh script to rescale the display properly. In my /userdata/system/nf file, I added this line to scale and center the EmulationStation interface properly : es.customsargs=-screensize 618 458 -screenoffset 0 8. Then I put my personalised nf file in the /etc/X11/ folder to disable all uneeded video outpout except the DVI-0 I use for my RGB2Scart cable. I added this line in my boot config file : APPEND label=BATOCERA console=tt圓 quiet loglevel=0 vt.global_cursor_default=0 mitigations=off video=DVI-I-1:640x480ieS. Now with my scripts all games look scaled, centered, sized, rotated and without overscans :ġ) So at first to get this result I had to set Batocera. Here is how games look like on my CRT screen with the default Batocera.
0 Comments
Leave a Reply. |