To install, unzip all of the files into one directory. Run TREK.EXE for DOS, Win 95, Win Me, Win 98 Run TREK32.EXE for Win XP, Vista, Win 7 through Win 11 This is a classic version of the old program TREK. The original MS-BASIC version was written by me in graduate school in 1983 to emulate (from memory) the FORTRAN version that ran on our (broken) lab PDP-11/34. That FORTRAN version was Super Star Trek written around 1975, I believe by David Matuszek & Paul Reynolds with modifications by Don Smith. I rewrote and greatly expanded the MS DOS version's capabilities and sophistication in the late 1980's, converted it to Quick Basic 4.5 somewhere along the way, with the final Quick Basic version written in 1991. It is about 3000 lines of code. That version produces the file TREK.EXE. It encompasses the original 1960's Star Trek universe, or the 1980's Star Trek Next Generation (NG) universe. It also operates in real time, so that if you do nothing, your enemies (Kingons or NG Ferengi) are still able to attack you, and there are others entities (Berserker "planet killers" or NG Borg) which will chase after you across the galaxy if you irritate them. You can dock at Star Bases to repair and refuel, and if a planet has dilithium crystals, you can transport down 9if the transporter is working) and refuel that way. You can abuse the warp drive to time warp, as well as sometimes time warp if you hit a black hole. All in all, this was a pretty sophisticated version of TREK when development stopped in 1991. TREK.EXE can run under DOS, Win 95, Win Me, Win 98, Win XP 32-bit. TREK.EXE will run under any 16-bit or 32-bit version of Windows. It will not run under a 64-bit version of Windows. In early 2013, I stumbled over the old 1991 source code for TREK.EXE, and decided to recompile it without any functional modification to run under modern 32-bit and 64-bit versions of Windows. The recompiled version is TREK32.EXE. The source code of TREK32.EXE is identical to that of TREK.EXE with the only difference being trivial changes to some variable handling to accommodate the more modern compiler's handling of the PC's memory, and a name change for the backup ship. TREK32.EXE will run under all version (32-bit & 64-bit) of Win XP, Windows Vista, Windows 7 & Windows 8. For systems that can run both TREK.EXE & TREK32.EXE such as Win XP 32-bit, TREK32.EXE will run & display better than TREK.EXE will. Commands: The characters typed in CAPITALS are those used to execute these commands. ABANDON Ship is abandoned. You get a new ship with far less capability. In TREK.EXE, written in the 1980's, the new ship is the U.S.S. Faire Queene which was the name used in the original 1970's FORTRAN Trek. In TREK32.EXE, this has been changed to the more politically correct, U.S.S. Quahog. A Quahog is a type of clam, as well as the fictional home town of Peter Griggin of Seth MacFarlane's Family Guy. So it's not entirely politically correct. :) To raise or lower the cloaking device (which makes it so the enemy cannot see you): CL This command changes the Cloaking Device If up ---> change to down. If down ---> change to up. To dock/undock at a Star Base : D energy, torpedoes replenished. Repairs can be made. To temporarily hide from your co-workers and boss that you are diddiling around with this game rather than working: F Flips a fake Lotus 123-looking screen up. Hitting the TAB key brings the game back. Hitting % silently kills the game and prints a fake error message. Hitting / runs a DOS shell (or in Windows, opens another DOS window). For rescue by a Star Base : HELP The nearest Star Base will make three attempts at using the experimental galactic transporter beam to transport the ship to safety. To perform a long-range scan : L long-range sensors can detect regular enemies and stars in adjacent quadrants. The various cloaking devices of enemy Commanders, enemy Super Commanders, Romulans and the Berzerker or Borg machines allow them to escape detection except possibly at close range. Romulans can very often escape detection even at short range if they have sufficient energy. In this case, they will appear to be invisible until they are too weak to power their cloaking devices. The map of the explored galaxy quadrants is read as #Regular enemies, Base, #Stars For example 803 means 8 regular enemies, no Star Bases and 3 stars. 2B6 means 2 regular enemies, a Star Base and 6 stars. TO MOVE SHIP - manually : M M x y displaces ship by x & y sectors within the quadrant M M qx qy x y displaces ship by qx & qy quadrants within the galaxy and by x & y sectors relative to its current position. - automatically : M A x y automatically moves ship to sector x,y within the quadrant M A qx qy x y automatically moves ship to quadrant qx,qy within the galaxy and to sector x,y within quadrant qx,qy qx,qy,x & y ARE IN THE RANGE OF -9 TO 9 ALL MOVE COMMANDS MUST FOLLOW THE ABOVE SYNTAX TO FIRE PHASORS - automatically : P A n n is the number energy units the fire control computer is allowed to use. The computer evaluates each threat in the quadrant and targets the energy for maximum kills against the largest threats. If n is omitted, n = 1000 or half of the ships energy, whichever is less. - manually : P M The fire control computer performs a threat analysis and asks how much energy you wish to direct against each target. It will inform you of its analysis of each target. TO QUIT THE GAME : QUIT Ends the game and gives you the score. TO FIND THE LENGTHS OF EQUIPMENT REPAIRS : RS produces a listing of all damagable equipment on board and the in-flight repair times and Star Base docked repair times. Use the W command to effect repairs or allow them to be repaired as you travel. TO PERFORM A SHORT RANGE SCAN : S This command gives a short-range scan report about the current sector. Report includes information about planets and their resources, detectable enemies, stars and bases. Planets which contain crystals can be mined and the crystals used to reenergize the ship. Fully cloaked Romulans will not be seen on-screen or by these sensors. TO CHANGE SHIELD ENERGY : SE n n is the number of energy units to raise shields. If n>0 then shield energy is increased (10000 unit max) If n<0 then shield energy is lowered. TO RAISE OR LOWER SHIELDS : SH This command changes the shields If up ---> change to down. If down ---> change to up. TO FIRE PHOTON TORPEDOES (up to 3) : T n x1 y1 x2 y2 x3 y3 n is the number of torpedoes (1,2 or 3). xi yi are the target coordinates for each torpedo. At least one target coordinate pair must be specified. If more torpedoes than target coordinates are specified, the ships computer will assume multiple torpedoes go to the last coordinate pair. For Example: T 3 5 5 will be treated as T 3 5 5 5 5 5 5 T 3 2 3 1 3 wil be treated as T 3 2 3 1 3 1 3 TO TRANSPORT TO AND FROM A PLANET : TR This beams a landing party up or down from a planet surface. If the planet contains dilithium crystals, then they will be mined. Shields must be down to beam up or down and you cannot leave the landing party stranded. TO SET SHIP SPEED : W n This command sets the ships speed to warp n. If n is omitted or illegal, you will be prompted. This value can be from warp 0 to warp 10. Running at speeds in excess of warp 8 is dangerous - the dual warp pods lose coherence causing possible time warping instead of pure space warping. Above warp 8 but below warp 9.8, the ship will sometimes warp correctly and sometimes timewarp. The larger the warp setting the more likly a time warp will occur. Above warp 9.8 the warp drive is purely time warping. This means you change temporal location but don't move spatially. If you end up having gone backward through time, you may find the enemies you killed alive again! Don't bet on timewarping forward to find you enemies dead of old age. Timewarps also have a nasty habit of draining the antimatter reactors. Warp settings of less than 1 run the impulse engines. Use this mode ( WARP <= 1 ) when Warp Drive is damaged. TO WAIT WHILE REPAIRS ARE UNDERWAY : WA Will ask for the number of Star Dates to wait.