vogons - very old games on new systems Last Visit : never :: 2013-5-25 @ 03:41 pm : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox General ::
up Crop window?
Reply with quote Crop window? :: 2012-3-11 @ 08:26 am
ezzetabi2
Newbie
no avatar
Joined: 2010-09-01
Posts: 7
Me and a friend of mine are playing again old adventures.

Now it is time for Zork Nemesis; it works fine in dosbos.

But the game was made with a 16:10 aspect ratio. To compensate there is a black border under and over the game area.

Now I do have a 16:10 monitor and it a pity to have four black borders all around the game area.

So I was wondering, is there a way to tell dosbox to crop the output video area? I can mess with the source if needed.

Thanks


Last edited by ezzetabi2 on 2012-3-11 @ 10:21 am; edited 1 time in total
Post new topicReply to topic
Offline
Reply with quote Re: Crop window? :: 2012-3-11 @ 10:09 am
Mau1wurf1977
l33t
[avatar]
Joined: 2010-08-27
Posts: 4192
Location: Australia
It's a 1996 game and I doubt it's made for 16:10.

_________________
Ultimate GOG.com DOSBox Tutorial
3!h MT-32 Tutorial
Roland vs Yamaha General MIDI DOS Games...Comparison
Post new topicReply to topic
Online
Reply with quote Re: Crop window? :: 2012-3-11 @ 10:20 am
ezzetabi2
Newbie
no avatar
Joined: 2010-09-01
Posts: 7
Did you read the question?

``
Is there a way to tell dosbox to crop the output video area? I can mess with the source if needed.
''
Post new topicReply to topic
Offline
Reply with quote Re: Crop window? :: 2012-3-11 @ 12:59 pm
Dominus
DOSBox Moderator
[avatar]
Joined: 2002-10-03
Posts: 4637
Location: Vienna
Did you read the conf?

_________________
Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for OS X (10.4-10.8 ppc/intel) codesigned for gatekeeper
Post new topicReply to topic
Hidden
Reply with quote Re: Crop window? :: 2012-3-11 @ 02:17 pm
ezzetabi2
Newbie
no avatar
Joined: 2010-09-01
Posts: 7
Yes, I did. So I have to assume there is no easy way?

Any idea where I should check in the source then?
Post new topicReply to topic
Offline
Reply with quote Re: Crop window? :: 2012-3-11 @ 03:12 pm
ripsaw8080
DOSBox Author
[avatar]
Joined: 2006-04-25
Posts: 2907
I would guess sdlmain.cpp, where the various types of drawing surfaces are created. Maybe look at SDL docs for what is possible. You may also want to limit the mouse range to be inside the viewable region, or you could lose sight of where the pointer is in the cropped-off border area.
Post new topicReply to topic
Hidden
Reply with quote Re: Crop window? :: 2012-3-11 @ 08:01 pm
kolano
Member
[avatar]
Joined: 2010-12-26
Posts: 254
Mau1wurf1977 wrote:
It's a 1996 game and I doubt it's made for 16:10.


The game is actually limited to a ~16:10 window (512x320 within 640x480). Refer
http://www.mobygames.com/game/windows/z...creenshots

Also, here's a prior post concerned with the black bars in the game...
http://vogons.zetafleet.com/viewtopic.p...6397c37420

My guess would be that such was due to the game using a good amount of video and something akin to Quicktime VR (i.e. 360 degree images), and needing to squeeze it down to fit on 3 CDs. It also uses scan-lines in this video.

Regarding a means to resize the image, I'd guess that it may be easier to work out a shader to scale things up with one of the DOSBox revisions that have Direct3d/shader support.

On this subject, I find the 2xSaLAA, 4xSaL shaders do a good job of cleaning up FMV games that use alternate row scan-lines (though I'm having trouble locating my source for them). Still hoping for a shader that would clean up triple row scanline things (i.e. typically rgb scanlines used to simulate higher bit color ranges with 8b)
Post new topicReply to topic
Offline
page 1 of 1
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.