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. But afterward, everything displays scaled down with black bars on all sides until the Steam Link is rebooted.Here is how games look like on my CRT screen with the default Batocera. Again, all works as expected the first time I launch a title. I have Retroarch set to a 16:9 aspect ratio to match the TV. I've tried checking and un-checking the option in Steam to change desktop resolution to match streaming client resolution. The only way I've found to reset this is to shut down the Steam Link and restart it. After exiting the title, either using the Steam overlay to quit the title, or using a shortcut to terminate within Retroarch, the title will revert to letter-boxed mode upon subsequent launches. When first launching a game, it fills the entire screen (I'm using the -f switch in the shortcut, and have Retroarch set to full screen mode). I have the Steam Link set to stream at 720p for performance reasons. My host computer has a 1920x1200 display, and the target system is my living room TV running at 1920x1080. I have set up the shortcuts manually, and have been testing with SNES games. I am using a Steam Link to stream emulated games via Retroarch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |