VOGONS


First post, by pleonard

User metadata
Rank Newbie
Rank
Newbie

If I understand them correctly, the structure of the original hard drive installation for Police Quest 1 is:

INSTALLH.BAT

1) test for a drive letter (usually c:)
2) test that the user has run this batch file from the right directory

If both of these conditions are met:
1) create the /SIERRA/PQ directory
2) copy _INSTALL.BAT to the hard drive (presumably so that the script can be referenced regardless of what disk is in the floppy drive)
3) execute _INSTALL.BAT

(Doesn't this leave _INSTALL.BAT lying around on the root level of the hard drive...?)

_INSTALL.BAT

1) copy and rename _PQ.BAT to \SIERRA\PQ.BAT
2) copy the relevant game files into \SIERRA\PQ, including:
2a) renaming the SIERRA.EXE to \SIERRA\PQ\PQ.EXE
3) prompt for more disks, if needed (probably to account for different capacities and file locations between 5.25"/3.5")
4) Tell the user to start by executing PQ.BAT from the top level of the SIERRA directory

The user can then run:

PQ.BAT

1) change directories into \SIERRA\PQ
2) execute PQ.EXE (the renamed SIERRA.EXE from the floppy) with up to five command line parameters: %1 %2 etc

(Presumably so that you can force the game in to tandy mode, etc, by passing arguments through the batch file to the executable?)

Everything above is the "official" way of doing things, as far as I can tell. My original 5.25 PQ disks are in another state, so I can't easily check, but a number of copies of Police Quest 1 floating around include a batch file called sierra.bat:

SIERRA.BAT

echo off
cls
monitor [sic]
start

The executable moniter.com is included in the files, however it's not successfully invoked because of the typo in SIERRA.BAT. This makes me suspect that one or both files could be artifacts of some wares distribution? (There wasn't any disk-based copy protection in PQ1, correct?) There's no moniter/monitor.com mentioned in the DOS 2, 3, or 4 references, so it must be either something that Sierra wrote, or something added later? Running it seems to have no effect on a PS/2 Model 25 with MCGA graphics...

Reply 1 of 10, by collector

User metadata
Rank l33t
Rank
l33t

There is no "moniter" or "monitor.com" on original Sierra PQ disks, nor is there a SIERRA.BAT. Even if you have the original disks, asking for help with warez or abandonware here is a no no.

That aside, Tandy mode is not set at install time. The Sierra AGI install does little more than copy the files from the floppies to the hard drive, no configuration is done. It depends on the hardware when it uses Tandy or not. This is why if you set DOSBox to machine=tandy the game will run in Tandy mode with doing nothing more.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 2 of 10, by pleonard

User metadata
Rank Newbie
Rank
Newbie

Great, that was what I presumed... thanks for the confirmation!

Reply 3 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

I think that any monitor.com program was included to bypass the disk-based copy protection of AGI games. Police Quest was Sierra's first AGI game that did not come with copy protection, an experiment in users' honesty.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 5 of 10, by pleonard

User metadata
Rank Newbie
Rank
Newbie

I should just add that my main interest is in getting the "original" experience of installing (and running) these games -- it's often that our old computers (whether personal or bought from eBay) contain a C:\SIERRA directory, with games that got there either using these batch install scripts or by mass copying the files from a disk...

Exploring the official _INSTALLH.BAT and _INSTALL.BAT files finally clarified some mysteries for me -- for example, how SIERRA.COM gets renamed to PQ.COM or KQ2.COM as part of the hard drive installation process. (I think we all have memories of running SIERRA.COM from disks, in non-booter situations...)

Edit -- thanks for the nerdlypleasures site; I've really learned a lot by reading it!

Reply 6 of 10, by NewRisingSun

User metadata
Rank Oldbie
Rank
Oldbie

PQ.BAT

_PQ.BAT

2) execute PQ.EXE (the renamed SIERRA.EXE from the floppy) with up to five command line parameters: %1 %2 etc

Only if you have version 2.0A. Version 2.0A has no "loader" .COM file, instead, the "AGI" file that on other games is the encrypted (as part of the copy protection) executable is renamed SIERRA.EXE, which gets renamed to PQ.EXE by _INSTALL.BAT.

Version 2.0G reverts to the traditional loader .COM file plus (non-encrypted) AGI file, and it's the SIERRA.COM file that gets renamed to PQ.COM. The reason for this change is that the loader .COM file does not just include the copy protection (which in the case of PQ doesn't do anything), but also the memory management for the PCjr. Apparently Sierra had forgotten about that, which means that version 2.0A is not PCjr compatible.

Reply 7 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

I have encountered four versions of PQ : 2.0A/2.903, 2.0A/2.911, 2.0E/2.915, 2.0G/2.917 (version number/adventure game interpreter number). Assuming they are all pure, only 2.0A/2.903 uses SIERRA.EXE. The rest use PQ.COM or SIERRA.COM and have a decrypted AGI file. 2.0A/2.903 does not work correctly in DOSBox' PCjr. emulation, the rest do. I assume, without testing, that the same will apply for the other versions.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 8 of 10, by NewRisingSun

User metadata
Rank Oldbie
Rank
Oldbie

Yes, my 2.0A is with interpreter 2.903.

Instead of reincluding the entire loader, Sierra could just have done what they did for 1986's christmas card, which also has a nonencrypted executable: the batch file CARD.BAT calls something named CONFIG.COM before calling AGI.EXE. CONFIG.COM is just 110 bytes including only the PCjr memory management part.

The whole PCjr memory mess is also the reason why all SCI0 games except for the very first ones include both SCIV.EXE and SIERRA.COM - SIERRA.COM just making sure that SCIV.EXE is loaded above the first 128k if a PCjr is found, and doing nothing but execute SCIV.EXE on non PCjr systems. Early SCI0 games do not include SIERRA.COM, which is why they are not listed as PCjr compatible.

Reply 9 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t
NewRisingSun wrote:

Yes, my 2.0A is with interpreter 2.903.

Instead of reincluding the entire loader, Sierra could just have done what they did for 1986's christmas card, which also has a nonencrypted executable: the batch file CARD.BAT calls something named CONFIG.COM before calling AGI.EXE. CONFIG.COM is just 110 bytes including only the PCjr memory management part.

The whole PCjr memory mess is also the reason why all SCI0 games except for the very first ones include both SCIV.EXE and SIERRA.COM - SIERRA.COM just making sure that SCIV.EXE is loaded above the first 128k if a PCjr is found, and doing nothing but execute SCIV.EXE on non PCjr systems. Early SCI0 games do not include SIERRA.COM, which is why they are not listed as PCjr compatible.

Wow, I always wondered why executing SIERRA.COM always seemed to function exactly the same as SCIV.EXE, and now I know that the answer is so close to my interests.

By the way, I really don't recommend playing an SCI0 game on an unaccelerated PCjr. Its no fun.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 10 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

Police Quest V2.0A/I2.903 should be able to be fixed for the PCjr. by renaming SIERRA.EXE to AGI and using a .COM loader from another Sierra AGI game. The .COM loader will need to be cracked (Sierra cracked them for their their Slash Releases and Anniversary Collections) and probably should be from another game using a 2.9xx Interpreter Version. Use Alt + D in game to check the Interpreter version.

If the AGI file is decrypted and given an .EXE extension, outside the PCjr. there seems to be no need to use the .COM loader.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog