ZVision status?

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
zorkisreal
Posts: 3
Joined: Tue Jul 22, 2014 2:01 am

ZVision status?

Post by zorkisreal » Thu Jul 24, 2014 4:00 am

Is this engine still in progress for Zork Nemesis and Zork Grand Inquisitor?

Thanks.

User avatar
Raziel
ScummVM Porter
Posts: 1027
Joined: Tue Oct 25, 2005 8:27 am
Location: A haunted Castle somewhere in the Bavarian Mountains
Contact:

Post by Raziel » Thu Jul 24, 2014 6:10 am

It seems it's part of the Frozen engines right now...but maybe it will be picked up again once the dust of a new release has settled...

User avatar
md5
ScummVM Developer
Posts: 2258
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 » Thu Jul 24, 2014 8:10 am

There is a lot of work done by the original author who rewrote the engine, Marisa-Chan, in his own branch:

https://github.com/Marisa-Chan/scummvm/commits/zvision

He hasn't contacted us yet, AFAIK, so when he's done, his changes will be marged into ScummVM.

zorkisreal
Posts: 3
Joined: Tue Jul 22, 2014 2:01 am

Post by zorkisreal » Thu Jul 24, 2014 3:25 pm

Thanks for the info!

User avatar
md5
ScummVM Developer
Posts: 2258
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 » Sun Jan 11, 2015 3:23 pm

Update: Support has been announced today
viewtopic.php?t=13787

Robot_Maker20
Posts: 45
Joined: Tue Nov 07, 2006 1:23 pm

Qsound

Post by Robot_Maker20 » Mon Jan 12, 2015 6:19 pm

Awesome! It's so great to play these two classics again!

One minor question: the original games had some kind of 3D audio system called Qsound - the source code comments indicate that this doesn't work yet, but are there plans to implement it one day? It's been so long since I played the original games that I can't really remember how it worked; are sound sources supposed to move between speakers when you pan the view around a location, or something like that?

User avatar
md5
ScummVM Developer
Posts: 2258
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Re: Qsound

Post by md5 » Tue Jan 13, 2015 12:42 am

Robot_Maker20 wrote:Awesome! It's so great to play these two classics again!

One minor question: the original games had some kind of 3D audio system called Qsound - the source code comments indicate that this doesn't work yet, but are there plans to implement it one day? It's been so long since I played the original games that I can't really remember how it worked; are sound sources supposed to move between speakers when you pan the view around a location, or something like that?
QSound isn't supported at the moment. Eventually, it will be supported, yes. There's an implementation from MAME:
https://github.com/mamedev/mame/blob/ma ... d/qsound.c

There are several examples on youtube on how QSound sounds like. Have a look there :)

User avatar
clone2727
Retired
Posts: 1592
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Re: Qsound

Post by clone2727 » Tue Jan 13, 2015 1:03 am

md5 wrote:QSound isn't supported at the moment. Eventually, it will be supported, yes. There's an implementation from MAME:
https://github.com/mamedev/mame/blob/ma ... d/qsound.c
Keep in mind that MAME is not GPL compatible.

Robot_Maker20
Posts: 45
Joined: Tue Nov 07, 2006 1:23 pm

Post by Robot_Maker20 » Sat Jan 24, 2015 6:07 pm

Another probably silly question: is it possible to get a fullscreen view in Zvision games? At the moment, scummvm is using my entire screen, i.e. the save-restore bar drops down from the top, but the actual playfield is letterboxed in the centre of the screen with black bars on all four sides. The playfield is significantly smaller than the whole screen in the case of ZGI, and smaller still in Nemesis.

User avatar
md5
ScummVM Developer
Posts: 2258
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 » Sat Jan 24, 2015 8:23 pm

Robot_Maker20 wrote:Another probably silly question: is it possible to get a fullscreen view in Zvision games? At the moment, scummvm is using my entire screen, i.e. the save-restore bar drops down from the top, but the actual playfield is letterboxed in the centre of the screen with black bars on all four sides. The playfield is significantly smaller than the whole screen in the case of ZGI, and smaller still in Nemesis.
That is how the original worked. The game resources are set for this size, and do not stretch to the entire screen. If we stretch the images to cover the whole screen, they would be severely distorted

E-Male
Posts: 18
Joined: Thu Nov 24, 2005 1:26 pm

Post by E-Male » Sun Jan 25, 2015 12:04 am

With "black bars on all four sides" is should technically be possible to enlarge the image to use the entire height of the screen (not the entire width (at least on wide-screen monitors)) without losing the correct aspect ratio.
I'm hoping for that option myself

Robot_Maker20
Posts: 45
Joined: Tue Nov 07, 2006 1:23 pm

Post by Robot_Maker20 » Sun Jan 25, 2015 10:46 am

I'm sorry, I forgot to mention - my monitor has an aspect ratio of 1.77, so the sidebars are actually added by the screen driver when given a 1.33 signal, not scummvm. The effect was so pronounced, however, especially when playing Nemesis, that I wasn't sure if the game itself wasn't sidebarring a bit within the 1.33 window as well as letterboxing, and Nemesis does seem to do that a bit as well, although ZGI doesn't.

The original Zvision engine was programmed for monitors with a ratio of 1.33, which were pretty much all anyone had at the time, and ZGI uses the full width of the screen, so I realise that can't be zoomed at all on such monitors, and Nemesis only a bit, without distortion or cropping.

The actual Nemesis playfield, however, seems to have an aspect ratio of 1.6. Grand Inquisitor apparently uses 1.85. It seems to me it should be entirely possible to zoom in a lot on this on the widescreen monitors that are now prevalent (Nemesis, in particular, could fit the entire screen perfectly with no sidebars or letterboxing at all on a 1.6 ratio device like most Android tablets and some older laptops/desktops) - although I realise this is straying from a strictly faithful reproduction of the original engine, attempting to play the game as originally designed on a modern machine results in a 1.6 or 1.85 AR playfield letterboxed into a 1.33 window, which is itself then side-barred in turn on a 1.77 or 1.6 monitor, resulting in an absolutely miniscule playable area compared to the available screen. The original engine was clearly a compromise, attempting to produce a 1.6 or 1.85 widescreen panoramic playfield on 1.33 aspect monitors - if anything, the game datafiles are surely more suited to modern wide monitors than to the original 1.33 engine. Would adding a widescreen mode be within the project goals of scummvm? Would it be prohibitively difficult?

Robot_Maker20
Posts: 45
Joined: Tue Nov 07, 2006 1:23 pm

Post by Robot_Maker20 » Tue Nov 28, 2017 11:36 am

I'm normally loath to threadbump, but it has been nearly three years. Any chance anyone could take a look at this and see if it's feasible? Fullscreen Zork would simply be glorious. I'd do it myself if I were only remotely skilled enough.

Post Reply