Jump to content
LaunchBox Community Forums

Running Daphne in 4:3 ratio through Launchbox.


wrd1972

Recommended Posts

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 by wrd1972
Link to comment
Share on other sites

  • wrd1972 changed the title to Running Daphne in 4:3 ratio through Launchbox.

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 by sundogak
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...