Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Daphne VERTICAL? ********  (Read 5693 times)

0 Members and 1 Guest are viewing this topic.

koolmoecraig

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1433
  • Last login:April 05, 2014, 07:07:20 pm
    • My Intervention
Daphne VERTICAL? ********
« on: March 23, 2005, 10:45:18 pm »
Is there any way at all to get Daphne to display on a vertical monitor?

I do not want to rotate the desktop.

Anyone have any ideas on how an can accomplish this?

Thanks,
Craig

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Daphne VERTICAL? ********
« Reply #1 on: March 24, 2005, 12:18:21 am »
Is there any way at all to get Daphne to display on a vertical monitor?

I do not want to rotate the desktop.

Anyone have any ideas on how an can accomplish this?

Thanks,
Craig

You could probably rotate the videos in a video editing program.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

koolmoecraig

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1433
  • Last login:April 05, 2014, 07:07:20 pm
    • My Intervention
Re: Daphne VERTICAL? ********
« Reply #2 on: March 24, 2005, 04:30:48 pm »

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Daphne VERTICAL? ********
« Reply #3 on: March 26, 2005, 09:47:44 pm »
I would email him, maybe he would be willing to "help" you out with rotating the files.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

koolmoecraig

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1433
  • Last login:April 05, 2014, 07:07:20 pm
    • My Intervention
Re: Daphne VERTICAL? ********
« Reply #4 on: May 12, 2005, 07:05:27 pm »
I never got a reply back from that guy.

Can anyone else help with converting Daphne to dispaly on a vertical monitor????

Help!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daphne VERTICAL? ********
« Reply #5 on: May 13, 2005, 03:30:56 am »
this is NOT a viable solution.

You can run Dragon's Lair and Space Ace, but that's literally it. 

All the other games have overlays and they have nothing to do with the video source so the overlay would still be rotated.


This question was asked just last week and I answered it.  Try searching. 

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #6 on: June 21, 2005, 04:27:20 am »
Craig, anybody???

Did you ever figure out how to rotate daphne?  I can do it in windows but that is not ideal for my purposes.  Please let me know.  The Daphne forum isn't real helpful due to the fact that most daphne users have horizontally mounted monitors.


daveg2000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 426
  • Last login:January 02, 2009, 08:55:51 pm
  • PSP? Yeah right. GP2X Baby! This thing is awesome
    • www.davegrams.com
Re: Daphne VERTICAL? ********
« Reply #7 on: June 22, 2005, 03:20:29 pm »
some of the newer intel cards (or nvidia) allow you to rotate the whole screen 90degrees in the properties...
I wonder if daphne would run like this?

I could try it at home on my PC... but I'm not there right now.
...so I will ask you... "Deal, or No Deal?"

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Daphne VERTICAL? ********
« Reply #8 on: June 22, 2005, 03:44:44 pm »
the frontend only has a few acceptable resolutions... You will probably have trouble with that... 800x600 on a 3x4 monitor ratio wouldn't really work.  And chances are they haven't spent any times on non-4x3 ratio monitors making sure that they pad with black bars...

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daphne VERTICAL? ********
« Reply #9 on: June 23, 2005, 01:56:48 am »
You know, I answered this question and everybody waited a week to see if the answer magically changed.  "No"  doesn't become "yes" just because you will it to.  ;)

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #10 on: June 23, 2005, 12:44:19 pm »
Sorry Howard,

You said in your post to try searching.  I did and couldn't find your reply.  I would like to be able to rotate Dragons Lair and Space Ace (and Dragons Lair II)  You seemed to indicate that this is possible with editing software.  Do you know of editing software that will rotate and resize my m2v files.  I haven't been able to find any free downloadable software that will help me do this.  I managed to get a couple rotated by accident but Daphne still wanted to streatch the image instead of giving me a letterbox effect.  Thank you for your help.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #11 on: June 23, 2005, 01:18:12 pm »
Also,

Matt said that this might work,

https://www.daphne-emu.com/phpBB2/viewtopic.php?t=1780

but I'm not savy enough with SDL to figure it out.  Does he mean make changes in the configuration file?

daveg2000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 426
  • Last login:January 02, 2009, 08:55:51 pm
  • PSP? Yeah right. GP2X Baby! This thing is awesome
    • www.davegrams.com
Re: Daphne VERTICAL? ********
« Reply #12 on: June 23, 2005, 01:24:19 pm »
« Last Edit: June 23, 2005, 01:26:26 pm by daveg2000 »
...so I will ask you... "Deal, or No Deal?"

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #13 on: June 23, 2005, 02:00:34 pm »
Hey Dave,

Thank you for trying.  I do rotate my desktop.  I have used pivot pro and rotational Nvidea cards and Daphne still won't rotate unless in a window.  Thank you for your help though, much appreciated.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daphne VERTICAL? ********
« Reply #14 on: June 23, 2005, 05:15:32 pm »
ugh... people don't listen....  daphne needs a 4:3 aspect or it crashes, period.  Therefore it's totally impossible to do "true" fullscreen on a rotated monitor. 

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #15 on: June 23, 2005, 06:18:44 pm »
I'm listening to you Howard, I'm just trying to understand. So your saying that editing software and resizing the m2v files won't work as the link a few posts ago suggested? Or will it work for Dragon's Lair and Space Ace?  I'd like to try that if it's possible and you implied that it was.

Also, can you tell me if the suggestion Matt gave will cause SDL to create a black background?

Thank you for your patience Howard.


Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Daphne VERTICAL? ********
« Reply #16 on: June 24, 2005, 01:25:19 pm »
You might (never listen to Howard... he knows what he is talking about and can answer a question right away, removing all fun in having a conversation :)

Try this.... See ifyou can get powerramp (or whatever that monitor / refresh app is... the one that allows you to set your monitor in any way).  Also get a video card that can handle hardware rotation.

1) rotate your screen with hardware.

2) get powerramp to set your monitor to 640x480 in the WRONG angle.  Sure your pixels will be way screwed up... but you might get it.

3) change your monitor height / width to have a HUGE gap at the top.

so daphne things its 640x480.  Your video card thinks you have a really messed up screen resolution, but your monitor itself fixes it.

Anyway... might be doable... really depends on if power[bla] can handle setting a vertical monitor to 640x480 even the the pixels will be really tall and narrow.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daphne VERTICAL? ********
« Reply #17 on: June 25, 2005, 03:51:50 pm »
The things lilwolf is suggestion probably won't work either, Daphne is VERY picky about the aspect and some other issues and polls them at a low level (IE below those screen hacks he's suggesting)

Nope, you can't really do it with lair and ace by manipulating the videos.... Daphne will accept odd sizes for those games, but it stretches them back to a 3:4 ratio, so it'd look funny.

Fullscreen is not doable period. 

What could be done:

"Fake" fullscreen by creating a wrapper that:

Launches a black form fullscreen to go behind Daphne.

Launches Daphne in the maximum windowed size that can fit on your rotated screen (you mentioned you can already do it in windowed mode so i assume you can have the screen pre-rotated)

Shoots out a "SetWindowSize" api call to center the Daphne window on your screen.

Shoots out a "SetWindowStyleEx" api call to the Daphne window, with the proper flags, which will remove the window border and titlebar, essentially making it look like it's fullscreen and rotated.

Shoots out a "SetFocus" api call to make sure the Daphne window is in front of the black form and ready for play.

Wait's until Daphne is exited and then closes the blank form.



As you can see it's a fair amount of coding for a novice to do.  I would be glad to do it for you, but my plate is a little full right now.  the johnny5 viewer and the controls.dat project are in full swing right now and thus is taking up a lot of my time.   When that is done I'll get back to finishing up Dk.  When that is done I'll work on my "uber wrapper".  Then finally I revisit the rotation sticky I started and start making rotation utilities/hacks for all arcade emulators that don't support rotation. 

I wish I could be more helpful.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Daphne VERTICAL? ********
« Reply #18 on: June 26, 2005, 10:49:59 am »
The whole point for my post was to make windows think that the vertical screen IS in a 4:3 ratio (pixel -> pixel) even though the pixels would be really screwed up... the fix that on the monitor itself.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daphne VERTICAL? ********
« Reply #19 on: June 27, 2005, 01:38:27 am »
Well the flaw in your system is common sense itself (or lack of it). 

Sure if you work hard enough and find enough fancy hackedy do-dads you *might* be label to do what you are saying.  The problem is you then have to manually adjust the screen via the knobs on the back.  Considering he's also running mame and it's an arcade machine (which makes it hard to get to those adjustments) I don't see how it could be at all practical.  And for the record any arcade monitor I've seen looses sync if you "squash" the screen too much.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #20 on: June 27, 2005, 03:07:50 pm »
I think Howard is right.  Because I have a arcade monitor in a cocktail cabinet, manipulating the actual monitor would be a big pain in the rear.  Although it would be interesting to see if daphne accepts this method being that it is so picky.

Howard, I think you are right on the money with regards to the utility you proposed.  In fact, for the last year I have been doing it the poor man's way.  I create a separate user profile for Daphne with a black background, eliminate as much of the window border as I can through display settings. (I can't seem eliminate all of it) and run it in window mode.  Of course I have to center the window manually and hide the mouse arrow in the cornor so it isn't ideal.

Understandably, you have a lot on your plate and true fan's of laser disk video games probably have horizontal monitors so the utility is probably in low demand.  However, if you get around to it some day please let me know what kind of busy work I can do on it as I'm not a programmer. 

In the meantime, I have had some success with a video editor called "premiere Pro" by adobe.  When rotating and resizing the m2v files it saves the black border as part of the video file and therefore daphne doesn't feel the need to stretch.  Currently, I'm dealing with some FPS issues in the conversion from AVI back to M2V.  Although, as you stated, this method isn't a great solution, due to the fact that it won't work with any daphne game with an overlay, I'm sort of having fun with it so I'll keep this thread updated with the progress.  Although I do look forward to that utility someday :)  Thank you for your help.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Daphne VERTICAL? ********
« Reply #21 on: July 01, 2005, 03:40:51 am »
Hey Howard and Everyone,

I've been able to manipulate the m2v files in Dragon's Lair to make Daphne play on a vertically mounted monitor. I used Adobe "Premiere Pro" video editing software (free 30 day trial) to rotate the video files 90 degrees and resize them by 75 percent. The premiere pro is unique in that it saves the black border as part of the file so Daphne doesn't feel the need to strech the resized file. I then used an "allok" mpeg coverter to convert the files back from AVI to M2V.

Unfortunately, as you know, this technique won't work with games that have overlays. Also I would like to do the same thing with both Space Ace and DL2 but the 20th anniversery mpeg DVD2daph rips have a ton of video files and I'm not sure how to edit them in batches....any suggestions.

Here are pictures

« Last Edit: July 01, 2005, 03:44:30 am by juggle50 »

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Daphne VERTICAL? ********
« Reply #22 on: July 01, 2005, 12:54:15 pm »
edited and removed... didn't add anything worth adding

edited again... :) ... great job in rotating those videos! 
« Last Edit: July 01, 2005, 01:02:00 pm by Lilwolf »