Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

In Space No One Can Hear You Clean, er, Scream. But if you post in this forum about Space Quest - someone's sure to hear you. I think. Try it, anyway!
Post Reply
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20399
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Tawmis »

So, this may be in other AGI games too - but I noticed, when DOSBox captures (video) of the normal screen (say where Roger is walking around), the resolution captured is 320x200.

However, if you go into the Inventory screen (TAB button), the capture - just for that is 640x400.

It shouldn't matter when I save it all as 320x200 (since 640x400 is 1:1 1/2 the resolution).

Just thought that was odd that the game, within itself, appears to change resolution. (It's the same, for example for the intro - where it's all text, and then when it talks about the Astral Body in the Korona (sp) alien lab thing)
User avatar
Collector
Grand Poobah
Posts: 11996
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Collector »

Odd. If Qbix sees this perhaps he might know why. But he does not see to visit here much these days.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image
User avatar
notbobsmith
Village Elder
Posts: 5009
Joined: Sun Mar 09, 2014 4:02 pm
Location: Massachusetts
Gender: Male

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by notbobsmith »

Tawmis wrote: Sun Aug 08, 2021 11:57 pm So, this may be in other AGI games too - but I noticed, when DOSBox captures (video) of the normal screen (say where Roger is walking around), the resolution captured is 320x200.

However, if you go into the Inventory screen (TAB button), the capture - just for that is 640x400.

It shouldn't matter when I save it all as 320x200 (since 640x400 is 1:1 1/2 the resolution).

Just thought that was odd that the game, within itself, appears to change resolution. (It's the same, for example for the intro - where it's all text, and then when it talks about the Astral Body in the Korona (sp) alien lab thing)
This is interesting. I've wondered why the screen does something "dramatic" whenever you call up the inventory screen. As if the video mode changes or something. Maybe that has something to do with it.
User avatar
Collector
Grand Poobah
Posts: 11996
Joined: Wed Oct 08, 2008 12:57 am
Location: Sierraland
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Collector »

Of course when the RBT videos in KQ7 play in DOSBox, they are about half size of the game.
01000010 01111001 01110100 01100101 00100000 01101101 01100101 00100001

Image
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20399
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Tawmis »

Some examples.
Image2.png
SQ1Intro.png
SQ1Intro.png (19.58 KiB) Viewed 2825 times
SQ1Letters.png
Attachments
Image1.png
User avatar
Qbix
DOSBox Author
Posts: 687
Joined: Sun Nov 09, 2008 4:19 pm
Location: Friesland
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Qbix »

The game "gamescreen" is mode 0xD and when you press tab it switches to mode 1
http://www.delorie.com/djgpp/doc/rbinter/it/10/0.html

mode 0xD is 320x200 (which scaler=normal2x to 640x400)
mode 0x1 is 320x400 (or 360x400 with 9 dot fonts) doublewidth, which gets scaled to 640x400 as well, but they are not the same
User avatar
Qbix
DOSBox Author
Posts: 687
Joined: Sun Nov 09, 2008 4:19 pm
Location: Friesland
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Qbix »

For Mode D, DOSBox reports this:

Code: Select all

  41080026: INT10:Set Video Mode D
  41194467: VGA:Width 320, Height 200, fps 70.086303
  41194467: VGA:double width, double height aspect 1.200000
For mode 1, (in 8x16 font mode) DOSBox reports this:

Code: Select all

  85690159: INT10:Set Video Mode 1
  85838728: VGA:Width 320, Height 400, fps 70.086592
  85838728: VGA:double width, normal height aspect 1.200000
the double width+height "cancel out" and thus it's get saved as 320x200
With either double width or double height, they don't get canceled (by DOSBox) and the result gets saved as the big resolution (so (2*320) x 400)
User avatar
Tawmis
Grand Poobah's Servant
Posts: 20399
Joined: Wed Oct 08, 2008 1:19 am
Gender: Not Specified
Contact:

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by Tawmis »

Cool info, good sir. :) Glad I asked. :)
User avatar
notbobsmith
Village Elder
Posts: 5009
Joined: Sun Mar 09, 2014 4:02 pm
Location: Massachusetts
Gender: Male

Re: Space Quest 1 (AGI) - DOSBox - And Different Screen Sizes.

Post by notbobsmith »

This is very interesting. I always wondered why the AGI games "glitched" like that when viewing the inventory screen, even on native hardware back in the day.
Post Reply

Return to “The Space Quest Series”