wrd1972 Posted August 26, 2023 Share Posted August 26, 2023 (edited) Hey guys, I am trying to run Daphne games through launchbox, but at 4:3 ratio. The closest I can come to this is disabling fullscreen and running windowed screen instead. Of course, I have to deal with the window frame. Below is my batch file for loading Daphne games. This is working and I can resize the screen to what I want, but I need to be able to position the screen on X & Y as well. Daphne.exe %1 vldp -x 1080- -y 800 -framefile "C:\Users\Pinball\LaunchBox\Emulators\Daphne\vldp\%1\%1.txt" Is it possible to script in the x,Y positioning of the window into the .bat file? Or if someone has a better way of simply showing things at 4:3, I would gladly welcome that. Thanks Bill Edited August 26, 2023 by wrd1972 Quote Link to comment Share on other sites More sharing options...
sundogak Posted August 27, 2023 Share Posted August 27, 2023 (edited) your x and y dimensions don't make sense so that is part of problem. The -fullscreen switch is what is used to make the window approximate the original dimensions in correct aspect and also to full height of your screen regardless of resolution. However, when using with LB (particularly with start screens) using fullscreen by itself with no x,y will cause windows to move due to resolution changes while starting game. So you can combine the two commands: Daphne.exe %1 vldp -framefile "C:\Users\Pinball\LaunchBox\Emulators\Daphne\vldp\%1\%1.txt" -x 1920 -y 1080 -fullscreen The above works well on a 1920x1080 screen. Adjust yours to be your main monitor resolution. Basically, it tells Daphne to start up with window size. Then fullscreen adjusts fully to window height but keeps the x width at approximate aspect ratio. If have issues with that then set resolution to window slightly smaller than your screen so something like 1680x1050 for 1920x1080 but above should work. The above is easier than trying to use exact window dimensions because for example (assuming 1920x1080 screen) Astron is at 1152x1080 and Badlands is at 1440x1080. Thus, not all the laser games are the same width and the -fullscreen saves you from having to calc them all for your screen window height. Edited August 27, 2023 by sundogak 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.