I suppose I need some guidance when it comes to running game roms via batch-files without writing the exact file-location for each and every game (that would force me to make a whole lot of batch files). I can currently run any rom if I write the exact file location of that specific rom inside the batch-file, but I would love to be able to inject a game rom into a batch-file (which includes the location to RetroArch.exe and its command line arguments) simply by drag & drop, thereby making it possible to make it possible to run batch-files from Advanced Launcher. The issue now is that I have currently no idea how to inject a game rom file-location to the batch file itself automatically. The script I created would then see what’s your current screen resolution, then start the 1080p config file if 1920x1080 is the selected screen resolution via the batch-file. I tried creating different batch-files for various screen-resolution (1080p, 1440p and 2160p), having the batch-files pointing to the RetroArch.exe file and using the command line argument -config to select a different config-file based on how many times I want to scale the image’s width- and height of the libretro core (based on the chosen screen resolution). There I can launch any rom on a big list, and it’s configured with the right commands to successfully launch the right core from RetroArch and then inject the rom from the list to RetroArch itself. The issue now is to combine all this with the way I usually run RetroArch, through Kodi via a now deprecated plugin called Advanced Launcher. The if statements checks for your current screen-resolution, and starts the selected batch file or exe file based on your screen resolution. My script written in CodeBlocks seems good enough now to run different parameters based on separate if statements. Maybe there is an automated solution for this, but I haven’t found it yet, so I would need some guidance regarding this issue. Since my RetroArch setup is configured to display 5x the native resolution to fit the Border Overlays (I have an overlay scale of 1.25), to my limited knowledge there is no way to automatically turn the Custom Aspect Ratio Width- and Height from 5x to 10x when RetroArch detects that I’m now have switched screen resolution from 1080p to 2160p and vice versa. This is all well and good on both of my 1080p screens, but sooner or later I’m going to migrate to a 4K TV, and than this setup becomes a bit more troublesome. I personally don’t like to enlarge the image too much on those older handhelds because the pixels then becomes way too big, Border Overlays can help by making a smaller image both stylish and seamless in my opinion. On the Gameboy Color I have a purple Gameboy Color Border Overlay surrounding the actual image (I use Integer Scale, Custom Aspect Ratio and a screen size that is 5x the native resolution, 800x720). One feature that I have become very fond of, is having Border Overlays while emulating old handhelds that have a relative low native pixel resolution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |