Command and Conquer DOS Version 1.22p Hidden Options Enabler v5.0
=================================================================
(C)Copyright 2008-2010, Rich Weeds Nagel - All rights reserved

Overview
--------
This utility will enable several hidden debug testing options for the DOS
version of Command and Conquer v1.22p, as well as adding several new features.
Some of these hidden and new options are not really all that useful for playing
the game, but they are still quite interesting to experiment with.


Installation
------------
Simply unzip the files contained in the "C&C_HOE.ZIP" archive to your main
Command and Conquer game installation directory on your hard drive (e.g.
"C:\C&C", "C:\GAMES\C&C", "C:\WESTWOOD\C&C", etc...).


Important Note
--------------
Note that this utility directly modifies Command and Conquer's "GAME.NEW" file,
and will only function for the DOS version 1.22p of the game and this file.
Back up your existing Command and Conquer "GAME.NEW" file first before running
this utility.


Usage
-----
From the MS-DOS prompt, type C&C_HOE and press ENTER.

All of the menu options are self-explanatory. Simply press the hotkey on your
keyboard for the hidden option that you wish to enable or disable, and then
press ENTER. The "Status" column reflects if a specific option is enabled or
disabled, and will be updated in real-time when the various options are
toggled.

Press the "D" key on your keyboard to restore all of Command and Conquer's
hidden options back to their default (disabled) status. Note that when playing
multiplayer games, this is recommended (as several of the hidden options may
cause problems during multiplayer games).

Press the "H" key on your keyboard to view this help and readme file
("C&C_HOE.TXT") using MS-DOS Editor ("EDIT.COM").

Press the "Q" key on your keyboard to quit the utility.


Detailed Hidden Options Descriptions
------------------------------------
Enable Capture the Flag Mode for Multiplayer Games with AI Players - Enables
"Capture the Flag" mode for all multiplayer games, including single-player LAN
games with computer AI players (see the "Disable Human Players Check for LAN
Multiplayer Games" option mentioned below). If bases are disabled during a
multiplayer game, you (as well as the computer AI players) will have control of
a Mobile HQ (instead of an MCV). Note that when bases are enabled during a
multiplayer game, the computer AI players will still have control of a Mobile
HQ (even though you will have control of an MCV).

Disable Human Players Check for LAN Multiplayer Games - Hex-edit hack that
disables the checking of the number of human players for LAN multiplayer games
(stock Command and Conquer requires at least two human players when starting a
LAN multiplayer game). This option will allow you to start a LAN multiplayer
game with only one human player battling against computer AI players. Note that
this option requires that you enable computer "AI Players" in the "Network Game
Setup" menu within the game, as well as your DOS network drivers loaded before
starting the game.

Show True Civilian and Civilian Object Names - Shows true civilian and civilian
object names (e.g. Shelly, Ludwig's House, Haystacks, etc...), instead of
generic civilian names (e.g. Civilian Building, Civilian, etc...).

Allow 2/3/5/6 Player LAN Multiplayer Games - Hex-edit hack that allows two,
three, five, or six player LAN multiplayer games (stock Command and Conquer
only supports 4 players). Note that this option is not only handy for real LAN
multiplayer games, but is also quite handy when used in conjunction with the
"Disable Human Players Check for LAN Multiplayer Games" option mentioned above.

Use Three Point Turn Logic for Wheeled Vehicles - Uses three point turn logic
(a different turning method) for wheeled vehicles (imagine turning an
automobile completely around (180 degrees) on a small two-lane road).

Allow Separate Helipad Purchase Without Helicopter - Allows separate helipad
purchase without a helicopter.

Allow Undeploy of Construction Yard Back to MCV - Allows undeploy of the
construction yard back to an MCV (when selling the construction yard).

Disable Building Bib Pieces for Buildings - Disables building "bib" (skirt)
pieces for certain buildings (e.g. Repair Bays, Silos, etc...).

Allow Normal Targeting of Trees - Allows normal targeting of trees (stock
Command and Conquer requires a "Force Attack" (Ctrl+LeftClick) to target
trees).

Combat - The effect of this option is currently unknown.

Employ Smarter Self-Defense Logic for Units - Employs smarter self-defense
logic for units that are fired upon. Units are more aggressive when fired upon
when this option is enabled (e.g. an MCV will target and kill (squash) any
enemy ground troops that fire upon it, instead of simply sitting idle not
defending itself or retreating).

Disable Tiberium Spawning and Overrun - Disables tiberium spawning (overrun).

Use Beta Version Sound Effects - Uses the beta version of Command and Conquer's
sound effects file "SCZOUNDS.MIX", instead of the release version of the sound
effects file "SOUNDS.MIX". Note that this option requires the beta version
sound effects file "SCZOUNDS.MIX" to be located in your main Command and
Conquer game installation directory on your hard drive.

Disable Mouse Map Scrolling Over "Options" and "Sidebar" Tabs - Inhibits upward
map scrolling when your mouse cursor is over the "Options" or the "Sidebar"
tabs within the game.

Use Alternate Remix Music Scores - Uses alternate remix (".VAR") music scores.
Note that this option requires the Covert Operations addon mission pack's
"SCORES.MIX" file, and that this option was removed from the Command and
Conquer version 1.22p "GAME.NEW" executable. The option was previously included
in the Command and Conquer version 1.20 "GAME.DAT" executable, and enabled by
adding "Scores=Remix" under the "[Options]" section of the "CONQUER.INI" game
configuration file. The Hidden Options Enabler utility will re-enable the
alternate remix music scores option that was removed from the newer version of
the game.

Disable AI Players Alliance for Multiplayer Games - Hex-edit hack that disables
computer AI players from being allies in multiplayer games. This option forces
them to battle each other (as well as the other human players in a multiplayer
game), instead of simply rushing the human players. This option is not only
handy for real multiplayer games, but is also quite handy when used in
conjunction with the "Disable Human Players Check for LAN Multiplayer Games"
option mentioned above.

Disable Music Muting for Multiplayer Games - Hex-edit hack that disables the
muting of the music when playing multiplayer games. The original Command and
Conquer was developed and released back when computer CPUs were much slower,
and muting the music resulted in better performance during multiplayer games.
With the faster computer CPUs of today, this is unnecessary to boost gameplay
perfomance.

Increase Multiplayer Games Max Unit Count With Bases - Hex-edit hack that
increases the maximum number of starting units (the "Unit Count" slider) during
multiplayer games when bases are turned on within the game to 50 (the default
maximum unit count is 12 when bases are enabled for multiplayer games). This
option is not only handy for real LAN multiplayer games, but is also quite
handy when used in conjunction with the "Disable Human Players Check for LAN
Multiplayer Games" option mentioned above.


Technical Notes
---------------
Below are the hex offsets contained in Command and Conquer's version 1.22p
"GAME.NEW" executable files for the various hidden options, as well as other
various technical notes about the function of the utility. Note that the
original QuickBasic v4.50 source code for the utility ("C&C_HOE.BAS") is also
included in this archive, allowing anyone to modify the utility if they wish :)

A *HUGE THANKS* to "Nyerguds" for discovering and providing all of the hex
offsets and hex values for the hidden options. Check out his "CCOptions"
utility for Windows (which works with *ALL* versions of Command and Conquer) at
http://nyerguds.arsaneus-design.com on the Internet!

Comparing files GAME.OLD and GAME.NEW - Command and Conquer Version 1.22p:

Offset OLD NEW CONQUER.INI [Options]        CONQUER.ENG (LOCAL.MIX) Text
------ --- --- ---------------------        ----------------------------
89055  F6  80  <Capture the Flag>           <none>
89056  05  0D  <Capture the Flag>           <none>
8905C  74  EB  <Capture the Flag>           <none>
899D4  75  EB  <Capture the Flag>           <none>
899D5  38  09  <Capture the Flag>           <none>
899E0  2D  36  <Capture the Flag>           <none>
899EB  88  EB  <Capture the Flag>           <none>
899EC  F9  09  <Capture the Flag>           <none>
89A1F  80  EB  <Capture the Flag>           <none>
89A20  0D  34  <Capture the Flag>           <none>
89A21  35  90  <Capture the Flag>           <none>
89A22  76  90  <Capture the Flag>           <none>
89A23  01  90  <Capture the Flag>           <none>
89A24  00  90  <Capture the Flag>           <none>
89A25  01  90  <Capture the Flag>           <none>
89ABA  75  EB  <LAN Player Check>           <none>
96431  75  3C  TrueNames=bcttb              Show True Object Names
96472  75  3C  <6-Player LAN>               <none> (see "Players=<?>" below)
9647A  06  2-6 Players=<?>                  <none> (see "<6-Player LAN>" above)
964B6  75  3C  Rotation=<?>                 Use Three Point Turn Logic
964F7  75  3C  Helipad=wpfqq                Allow Seperate Helipad Purchase
96538  75  3C  MCV=DPGJO                    Allow Undeploy of Construction Yard
96579  75  3C  Bibs=<?>                     Disable Building "Bib" Pieces
965BA  75  3C  TreeTarget=<?>               Allow Targeting of Trees
965FB  75  3C  Combat=<?>                   <unknown>
9663C  75  3C  CombatIQ=<?>                 Employ Smarter Self Defense Logic
96680  75  3C  Overrun=<?>                  <unknown>
966C1  75  3C  Sounds=<?>                   <none>
96702  75  3C  Scrolling=<?>                <none> (see "Scores=Remix" below)
9670A  08  02  Scores=Remix                 <none> (see "Scores=Remix" below)
9670A  08  0A  Scores=Remix + Scrolling=<?> <none> (see "Scores=Remix" below)
E10FD  50  90  <AI Players Alliance>        <none>
E10FE  57  90  <AI Players Alliance>        <none>
E10FF  E8  90  <AI Players Alliance>        <none>
E1100  68  90  <AI Players Alliance>        <none>
E1101  2A  90  <AI Players Alliance>        <none>
E1102  F9  90  <AI Players Alliance>        <none>
E1103  FF  90  <AI Players Alliance>        <none>
E2B12  88  90  <Serial Music Muting>        <none>
E2B13  25  90  <Serial Music Muting>        <none>
E2B14  2A  90  <Serial Music Muting>        <none>
E2B15  70  90  <Serial Music Muting>        <none>
E2B16  01  90  <Serial Music Muting>        <none>
E2B17  00  90  <Serial Music Muting>        <none>
E2B31  88  90  <LAN Music Muting>           <none>
E2B32  3D  90  <LAN Music Muting>           <none>
E2B33  2A  90  <LAN Music Muting>           <none>
E2B34  70  90  <LAN Music Muting>           <none>
E2B35  01  90  <LAN Music Muting>           <none>
E2B36  00  90  <LAN Music Muting>           <none>
11CD0C 0C  32  <Max Units With Bases>       <none>

<?>                    = Value not known for CONQUER.INI file.
<none>                 = No matching text in CONQUER.ENG file.
<unknown>              = Text is unknown in CONQUER.ENG file.
<Capture the Flag>     = Hex-edit hack, not a valid CONQUER.INI file option.
<LAN Player Check>     = Hex-edit hack, not a valid CONQUER.INI file option.
<6-Player LAN>         = Hex-edit hack, not a valid CONQUER.INI file option.
<AI Players Alliance>  = Hex-edit hack, not a valid CONQUER.INI file option.
<Serial Music Muting>  = Hex-edit hack, not a valid CONQUER.INI file option.
<LAN Music Muting>     = Hex-edit hack, not a valid CONQUER.INI file option.
<Max Units With Bases> = Hex-edit hack, not a valid CONQUER.INI file option.


Re-Enabling the "Scores=Remix" Option in Command and Conquer v1.22p
-------------------------------------------------------------------
Originally posted by "Nyerguds" on Wednesday 8th October 2008 at 1:38 PM

Well, if you can hex-edit...

Comparing files GAME.OLD and GAME.NEW:

0x96702: 75 3C
0x9670A: 08 02

Open GAME.NEW in a hex editor, go to offset 0x96702 and change the byte from 75
to 3C. Then at offset 0x9670A change the byte from 08 to 02.

This replaces the "Scrolling" option. First edited byte is the enabling hack
(as done by my CCOptions utility), the second is what makes it enable the
hidden music instead of the "Scrolling" option (changes bit #2 (0000 0010)
instead of bit #4 (0000 1000) of that byte).

Note that you can combine the options by changing the byte to 0A, enabling both
bits (0000 1010).

I tested the music, and it works perfectly :)


Enabling Stereo Sound Effects in Command and Conquer
----------------------------------------------------
The sound setup program for Command and Conquer for DOS has no choices for a
stereo sound device when selecting the sound card of your PC. In actuality, the
game does indeed support stereo sound effects, but your "CONQUER.INI"
configuration file must be manually edited to enable a stereo sound device.

When running Command and Conquer's sound setup program ("SETUP.EXE"), take note
of the sound card that you have selected. Then using your hex editor of choice,
open the game's sound device driver file "HMIDRV.386".

Text search through the file for a stereo version of your selected sound card,
and then take note of the two hex values located eight hex offsets before (to
the left of) the "HMI DMA Driver" text portion of the sound device name.

These two bytes are the byte-swapped hex values that are used in the "Card="
line (located under the "[Sound]" heading) of the game's "CONQUER.INI."
configuration file.

In example, if you selected "Sound Blaster Pro/Pro2" within the game's sound
setup program for your sound card, the name of the sound device contained in
the game's sound device driver file "HMIDRV.386" will be "HMI DMA Driver For
Sound Blaster Pro 8 Mono". Using your hex editor, note that the hex values of
the two bytes located eight hex offsets before the "HMI DMA Driver" text are
"0f" and "e0". These two byte-swapped hex values in the game's "CONQUER.INI"
configuration file will be listed in the "Card=" line as "Card=e00f".

Now using your hex editor, text search for the stereo version of this sound
card, which will be "HMI DMA Driver For SBPRO 8 Stereo". Note that the two
bytes located eight hex offsets before the "HMA DMA Driver" text are "01" and
"e0". Then using your text editor of choice, simply open the game's
"CONQUER.INI" configuration file, and edit the "Card=" line to read
"Card=e001".

Bingo! Stereo sound effects in Command and Conquer for DOS, even though the
game's sound setup program doesn't natively have options for stereo sound
devices! Note that you may also have to text edit the "Reverse=0" line in the
game's "CONQUER.INI" configuration file to read "Reverse=1" if the stereo sound
effects seem to be backwards within the game.

Lastly, note that the "Channels=" line (located under the "[Sound]" heading) of
the game's "CONQUER.INI" configuration file sets the total number of sound
effects that can be played simultaneously within the game. Text edit this to a
higher value (such as "Channels=8" or "Channels=16") to have more
simultaneously played sound effects for a fuller sound within the game.

Example "CONQUER.INI" "[Sound]" Entry for Sound Blaster Pro
-----------------------------------------------------------
Listed as "Sound Blaster Pro/Pro2" within the game's sound setup program
"SETUP.EXE", and listed as "HMI DMA Driver For Sound Blaster Pro 8 Mono" within
the game's sound device driver file "HMIDRV.386".

[Sound]
Name=117
Card=e001
Port=220
IRQ=5
DMA=1
BitsPerSample=8
Channels=16
Reverse=1
Speed=0
Subtitles=0

Example "CONQUER.INI" "[Sound]" Entry for Sound Blaster 16
----------------------------------------------------------
Listed as "SND Blaster ASP/16/AWE-32" within the game's sound setup program
"SETUP.EXE", and listed as "HMI DMA Driver For SB16 16 ST" within the game's
sound device driver file "HMIDRV.386".

SB16
[Sound]
Name=119
Card=e018
Port=220
IRQ=5
DMA=5
BitsPerSample=16
Channels=32
Reverse=0
Speed=1
Subtitles=0


Copyrights and Legalities
-------------------------
Command and Conquer DOS Version 1.22p Hidden Options Enabler v5.0 -
(C)Copyright 2008-2010, Rich Weeds Nagel - All rights reserved.

The Command and Conquer DOS Version 1.22p Hidden Options Enabler v5.0
("C&C_HOE.ZIP") may be freely distributed in it's whole and unmodified form for
any non-commercial usage, contained in it's original unmodified and unedited
ZIP format archive, including all documents, text, and support files.

Use the Command and Conquer DOS Version 1.22p Hidden Options Enabler v5.0 at
your own risk... I will not be held responsible for absolutely anything <insert
the usual serious and/or humorous disclaimers here> <G>, and the like.

Void where prohibited; not available in all states; removing factory seal will
void your warranty; removing information tag from pillow is a violation of
federal law; does not include tax, tag, and title; your results may vary;
results not typical; supplies are limited; I'm not a real doctor, but I portray
one on TV; don't blame me, I didn't vote for him; etc... etc... <G>.


Version History
---------------
v1.0                  - First Release.
(October 15, 2008)

v2.0                  - Added "Disable Human Players Check for LAN Multiplayer
(November 20, 2008)     Games" option.

v3.0                  - Added "Increase Multiplayer Games Max Unit Count With
(November 23, 2008)     Bases" option.
                      - Changed "Allow 6 Player LAN Multiplayer Games" option
                        to "Allow 2/3/5/6 Player LAN Multiplayer Games" option.
                      - Changed "Scrolling (Effect Currently Unknown)" option
                        to "Disable Mouse Map Scrolling Over Options and
                        Sidebar Tabs" option.

v4.0                  - Added "Disable AI Players Alliance for Multiplayer
(June 18, 2010)       - Games" option.
                      - Added "Enabling Stereo Sound Effects in Command and
                        Conquer" section to this readme file ("C&C_HOE.TXT").
                      - Minor edits to the utility's interface.
                      - Minor edits to this readme file ("C&C_HOE.TXT").

v5.0                  - Added "Enable Capture the Flag Mode for Multiplayer
(August 6, 2010)        Games with AI Players" option.
                      - Added "Disable Music Muting for Multiplayer Games"
                        option.
                      - Minor edits to the utility's interface (I'm running out
                        of space!).
                      - Minor edits to this readme file ("C&C_HOE.TXT").


ENJOY, AND HAVE FUN!
--------------------
Rich Weeds Nagel
richnagel@earthlink.net
http://www.richnagel.net
http://www.cmoo.com/snor/weeds/
http://www.cmoo.com/snor/weeds/Command_and_Conquer/
