Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Haloman800 on September 24, 2016, 12:10:31 pm

Title: Dragon's Lair upside down
Post by: Haloman800 on September 24, 2016, 12:10:31 pm
https://youtu.be/P_hsVWdYc48

I have Windows 7 set to rotate the entire display, this works fine with every emulator, but Daphne still is displayed normally, i.e. It's upside down.

I don't think OpenGL is available for my desktop (Dell Optiplex 745), is there any way to force Daphne to flip?

Just FYI, the reason my monitor is upside down is because the viewing angle is 100x better upside down than when it's laid flat right side up.

Sent from my SM-N920V using Tapatalk

Title: Re: Dragon's Lair upside down
Post by: Le Chuck on September 24, 2016, 07:35:24 pm
Without open GL your only likely solution is to take all the video files for Dragon's Lair and using a video editing software to rotate them all 180.  You can batch that in a program like premiere pro or I'm sure there are freeware solutions out there as well.  You can even use vlc to do it (guides a-plenty out there) but there are a lot of steps.  I haven't tried it myself).

Once you have them all rotated just drop them back where they go and you'll be good.  Just don't rotate 90 degrees.  180 only.  Daphne is picky without open GL rotation available.
Title: Re: Dragon's Lair upside down
Post by: ark_ader on September 25, 2016, 01:12:09 pm
Which display adapter are you using?

Daphne displays vertical without the video editing on my dell.

Title: Re: Dragon's Lair upside down
Post by: Haloman800 on September 25, 2016, 04:31:32 pm
Le Chuck, I appreciate it. I will give this a go after I finish the rest of my emulators

Ark_ader, it displays vertical fine, my problem is getting the screen to rotate (as my monitor is upside down)

Sent from my SM-N920V using Tapatalk

Title: Re: Dragon's Lair upside down
Post by: DeLuSioNal29 on September 26, 2016, 11:15:05 am
Without open GL your only likely solution is to take all the video files for Dragon's Lair and using a video editing software to rotate them all 180.  You can batch that in a program like premiere pro or I'm sure there are freeware solutions out there as well.  You can even use vlc to do it (guides a-plenty out there) but there are a lot of steps.  I haven't tried it myself).

Once you have them all rotated just drop them back where they go and you'll be good.  Just don't rotate 90 degrees.  180 only.  Daphne is picky without open GL rotation available.
You'd have to reverse the controls as well in the software of course.
Title: Re: Dragon's Lair upside down
Post by: Unstupid on September 26, 2016, 03:02:25 pm
Without open GL your only likely solution is to take all the video files for Dragon's Lair and using a video editing software to rotate them all 180.  You can batch that in a program like premiere pro or I'm sure there are freeware solutions out there as well.  You can even use vlc to do it (guides a-plenty out there) but there are a lot of steps.  I haven't tried it myself).

Once you have them all rotated just drop them back where they go and you'll be good.  Just don't rotate 90 degrees.  180 only.  Daphne is picky without open GL rotation available.
You'd have to reverse the controls as well in the software of course.
You'd be wrong!
Title: Re: Dragon's Lair upside down
Post by: DeLuSioNal29 on September 26, 2016, 03:23:55 pm
Maybe I'm misunderstanding the OP's post then?

Here's how I see it:  Turn your monitor upside down and fire up Daphne. Try playing.  Are controls reversed?

If you flip the video in post and replace the files. You are still playing upside down, no?

Title: Re: Dragon's Lair upside down
Post by: nexusmtz on September 26, 2016, 05:37:57 pm
...If you flip the video in post and replace the files. You are still playing upside down, no?

No. Nothing about the control panel or the rom is changing. If you physically flip your monitor, in the upside down picture, the normal poison room door will be on the viewer's left, but still on Dirk's right. The picture is upside down, but you still need to press right. The rom doesn't care if there's any video at all. It only cares if you press right at the correct time.

If you rotate the video, the viewer's head and Dirk's head will both be facing up, but the rom doesn't care any more than it did before. Press right. Live.

Title: Re: Dragon's Lair upside down
Post by: nordemoniac on September 26, 2016, 06:40:00 pm
If you use Mac, it's really simple with QuickTime. You can rotate and save. No need for import/export.
But you'd have to do it for a lot of files though.

I'm pretty sure you'll find software that auto-rotates 180 aswell, as there are a lot of action cameras etc that get mounted upside down.
Title: Re: Dragon's Lair upside down
Post by: Haloman800 on September 30, 2016, 01:46:07 am
I got openGL working, and they are now the proper (flipped) orientation when I launch with Daphne Loader, however, using hyperlaunch, the screen is still flipped upside down!

Here's a video of what I mean: https://youtu.be/1GbTxYqtbM0

I'd prefer not to rotate files (because then I'd have to disable all Daphne screen overlays) but I can't find a rotation program that supports m2v.

I really hope I can get hyperlaunch to launch them properly

Sent from my SM-N920V using Tapatalk

Title: Re: Dragon's Lair upside down
Post by: ark_ader on September 30, 2016, 04:53:38 am
I understand now.  Doesn't hyperlaunch  run Daphne games as batch files?

 Command line options  (http://www.daphne-emu.com/mediawiki/index.php/CmdLine)
Title: Re: Dragon's Lair upside down
Post by: Haloman800 on September 30, 2016, 11:22:05 am
This is the command line for Dragon's Lair (I got this from Daphne):

daphne.exe dle21 vldp -framefile "F:\Hyperspin Project - The Frontend\Emulators\Daphne\framefile\lair.txt" -ignore_aspect_ratio -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir "F:\Hyperspin Project - The Frontend\Emulators\Daphne" -useoverlaysb 2 -bank 0 11011000 -bank 1 00110111 -sound_buffer 2048 -fullscreen -x 1024 -y 768 -opengl

How do I configure this to launch through HyperSpin? Here is a snapshot of my current setup (which launches games successfully, but they're upside down)

(http://i.imgur.com/bZQG5la.png)
Title: Re: Dragon's Lair upside down
Post by: nexusmtz on September 30, 2016, 11:23:52 pm
If you're using Hyperlaunch, edit hyperspindirectory\Modules\Daphne\Daphne(verxxxxyyyy).ahk
Put your needed parameters (except for the rom name, e.g. dle21, and -framefile) before the -framefile

Where I'd expect you to have problems is where some of those parameters (like the -useoverlaysb) would be game-specific. You'd have to start adding IF statements to the ahk in order to build the proper parameters for each game.
Title: Re: Dragon's Lair upside down
Post by: Haloman800 on October 01, 2016, 09:27:53 am
If you're using Hyperlaunch, edit hyperspindirectory\Modules\Daphne\Daphne(verxxxxyyyy).ahk
Put your needed parameters (except for the rom name, e.g. dle21, and -framefile) before the -framefile

Where I'd expect you to have problems is where some of those parameters (like the -useoverlaysb) would be game-specific. You'd have to start adding IF statements to the ahk in order to build the proper parameters for each game.

You fixed it! All I had to do was open Hyperspin > Modules > Daphne > Settings.ini, at the top under globalParams, I added -x 1024 -y 768 -opengl

And it works!