ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Red Alert 2: Difference between revisions

From ModEnc
Jump to navigation Jump to search
it's -> its
Updating with exe info, might need resorting
Line 7: Line 7:
:Also allowing another video modes which support by your system.
:Also allowing another video modes which support by your system.
;"TOGGLE": Allowing or disallowing switch between video modes. (Obsolete in RA2)
;"TOGGLE": Allowing or disallowing switch between video modes. (Obsolete in RA2)
;"THETEAM":Allowing to read [[tmcj4f.ini]] when game is starting.
;"[[THETEAM]]":Allowing to read [[tmcj4f.ini]] when game is starting.
;"PENGO":UnKnown. (maybe a dummy cheat)
;"PENGO":UnKnown. (maybe a dummy cheat)


Line 14: Line 14:
|__TOC__
|__TOC__
|}
|}
{{clr}}
The following switches can be applied to ra2.exe from a command line to achieve certain functionalities:
The following switches can be applied to ra2.exe from a command line to achieve certain functionalities:
;-WIN :Runs the game in a window (as opposed to full screen){{fnl|2}}
;-DROP=[int] : Packet Loss Simulation mode enabled
;-SPEEDCONTROL : Allow change speed in campaign mode.
;-16 :Forces 16-bit color mode
;-480 :Sets the screen height to 480px when 640x400 resolution is selected
;widthXheight :Runs the game with the specified resolution (e.g. 1024X768)
:This doesn't seem to work anymore, as it is overridden by the [[ScreenWidth]]/[[ScreenHeight]] statements in {{Ini|ra2}} (which in itself is overridden by the Yuri's Revenge shell screen, which is hardcoded to 800x600).
{{clr}}


;-MESSAGES :Allows incoming messages from outside the game (WOL)
;-STEALTH :Hides players names in multiplayer LAN and Internet games
;-NETGEAR :Enable additional NetGear logic (helps with NetGear based LAN configurations)
[[Image:Mpdebug.jpg|thumb|150px|Game in MPDEBUG mode]]
;-MPDEBUG :Runs the game with Multiplayer Debug Mode enabled
;-MPDEBUG :Runs the game with Multiplayer Debug Mode enabled
: There will be a number written in the top left corner while ingame, it is not known what it represents.  
: [[Image:Mpdebug.jpg|thumb|150px|Game in MPDEBUG mode]]
: Also, there will be two new key assignment functions under ''Options - Keyboard'' in the ''Debug'' option:  
:::There will be a number written in the top left corner while ingame, it is not known what it represents. : Also, there will be two new key assignment functions under ''Options - Keyboard'' in the ''Debug'' option:  
;:: {{Tt|Multiplayer Debug Info}}, pressing the assigned key in-game will toggle the output of extra Multiplayer Debug status to the screen.
;:: {{Tt|Multiplayer Debug Info}}, pressing the assigned key in-game will toggle the output of extra Multiplayer Debug status to the screen.
;:: {{Tt|Game Sync logging}}, toggles the logging of multiplayer info files (this seems to be responsible for the {{Tt|SYNC*.txt}} file writing, which are created by default in all multiplay games).
;:: {{Tt|Game Sync logging}}, toggles the logging of multiplayer info files (this seems to be responsible for the {{Tt|SYNC*.txt}} file writing, which are created by default in all multiplay games).
;-SOCKET :Specifies a network socket number (between 0 and 16383)
{{clr}}
;-DESTNET :Destination network address (IP format, nn.nn.nn.nn)
 
;-noaudio :Switches all audio off (useful for players with sound card issues)  
;-noaudio :Switches all audio off (useful for players with sound card issues)  
;-nostr :Starts the game without reading the .CSF file, see [[FATAL Error]].
;-nostr :Starts the game without reading the .CSF file, see [[FATAL Error]].
Line 41: Line 28:
;-str :As above but the game will read the .CSF file (default)  
;-str :As above but the game will read the .CSF file (default)  
: ''(How is this testable?)''
: ''(How is this testable?)''
;-record :Creates a game movie file (defaults to SESSION.IPB) in the Red Alert 2 directory{{fnl|1}}
;-play [filename] :Plays a game movie file (IPB format)
;-CD''path:to/c.d'' :Specifies the location of the CD-ROM from which to run the game. Should contain the {{Tt|YR1.dsk}} file with at least 3 bytes of content.
;-DESTNET :Destination network address (IP format, nn.nn.nn.nn)
;-SOCKET :Specifies a network socket number (between 0 and 16383)
;-DROP=[int] : Packet Loss Simulation mode enabled
;-SPEEDCONTROL : Allows changing game speed in campaign mode (when you pause the game, the Game Speed slider in Game Controls window will be visible). Normally it is only possible for non-campaign modes.
;-DLINK :Enable additional D-Link logic (helps with D-Link based LAN configurations)
;-NETGEAR :Enable additional NetGear logic (helps with NetGear based LAN configurations)
;-STEALTH :Hides players names in multiplayer LAN and Internet games
;-MESSAGES :Allows incoming messages from outside the game (WOL)
;''width''X''height'' :Runs the game with the specified resolution (e.g. 1024X768)
:This doesn't seem to work anymore, as it is overridden by the [[ScreenWidth]]/[[ScreenHeight]] statements in {{Ini|ra2}} (which in itself is overridden by the Yuri's Revenge shell screen, which is hardcoded to 800x600).
{{clr}}
;-480 :Sets the screen height to 480px
;-16 :Forces 16-bit color mode
;-WIN :Runs the game in a window (as opposed to full screen){{fnl|2}}
;-jabber :Disables reading of the .CSF file, see [[FATAL Error]].
;-jabber :Disables reading of the .CSF file, see [[FATAL Error]].
: ''Note:'' Doesn't do anything on Yuri's Revenge. {{N}}
: ''Note:'' Doesn't do anything on Yuri's Revenge. {{N}}
Line 46: Line 50:
;GrabPatches :Launches the game and gets it only to check for an updated version (patch)  
;GrabPatches :Launches the game and gets it only to check for an updated version (patch)  
: ''Note:'' Doesn't do anything on Yuri's Revenge.  {{N}}
: ''Note:'' Doesn't do anything on Yuri's Revenge.  {{N}}
;-CD :Specifies CD-ROM from which to run the game (0 or 1, but 2 can be used if YR is installed)
;-record :Creates a game movie file (defaults to SESSION.IPB) in the Red Alert 2 directory{{fnl|1}}
;-play [filename] :Plays a game movie file (IPB format)


===Obsolete Ones===
===Obsolete Ones===
Line 55: Line 55:
;-X :DOS 1.19+ compatability mode
;-X :DOS 1.19+ compatability mode
;-O :DOS 1.07 compatability mode
;-O :DOS 1.07 compatability mode
;-h, /h :Would trigger the help file
;-h, /h, -?, /? :Supposed to display some explanations (CSF entries {{Tt|TXT_OPTION_HELP_01}} through {{Tt|TXT_OPTION_HELP_06}}) and exit, but actually just exits the game.
;-?, /? :Would output the command line options


===Unknown Ones===
===Unknown Ones===
;-ATTRACT
;-ATTRACT
;-NOROUTER : Network-related (Not use mphmd.exe?)
;-NOROUTER : Network-related (Not use mphmd.exe?)
;-(Unknown switch,encrypt) : It have used for game testing. (Not show intro movie)
;(Unknown switch, encrypted) : Show the intro movie (Equivalent to setting Ra2md.ini {{sl|Intro}}{{arr|r}}{{TTL|Play|yes}}.)


==Footnotes==
==Footnotes==

Revision as of 11:50, 5 May 2008

This article or section is a stub. You can help ModEnc by expanding it.


Red Alert 2 is the sequel to the game Red Alert, though it has been officially designated as non-canon by Electronic Arts. Its story, though continuing straight on from Red Alert's Allied campaign, makes no mention of GDI and instead has a puppet Soviet ruler called Romanov who has been installed by the Allies, who, though an aristocrat and a member of the communist party (which is actually an oxymoron), was an advocate of peace. Ever since an artificially psychic Yuri became his chief advisor, his relations with the US have deteriorated, and some signs have shown he is not acting in good faith. After he attacks America, President Dugan orders a full-scale retaliation, which fails because Yuri remotely disables the ICBM silos. RA2 has a more funny and cinematic style compared to its prequel and Tiberian Sun, but also better FMV acting. It has an expansion pack, Yuri's Revenge. Though it uses the TS engine, several logics have been removed from it, and others added.

Cheat codes

All cheat codes must be entered in main menu screen.
If you input it correctly, you will heard beep sound.

"HIRES"
Allow select 4096x4096 video mode if your system support it.
Also allowing another video modes which support by your system.
"TOGGLE"
Allowing or disallowing switch between video modes. (Obsolete in RA2)
"THETEAM"
Allowing to read tmcj4f.ini when game is starting.
"PENGO"
UnKnown. (maybe a dummy cheat)

EXE Switches


The following switches can be applied to ra2.exe from a command line to achieve certain functionalities:

-MPDEBUG
Runs the game with Multiplayer Debug Mode enabled
Game in MPDEBUG mode
There will be a number written in the top left corner while ingame, it is not known what it represents. : Also, there will be two new key assignment functions under Options - Keyboard in the Debug option:
Multiplayer Debug Info, pressing the assigned key in-game will toggle the output of extra Multiplayer Debug status to the screen.
Game Sync logging, toggles the logging of multiplayer info files (this seems to be responsible for the SYNC*.txt file writing, which are created by default in all multiplay games).


-noaudio
Switches all audio off (useful for players with sound card issues)
-nostr
Starts the game without reading the .CSF file, see FATAL Error.
Note: Doesn't do anything on Yuri's Revenge.
-str
As above but the game will read the .CSF file (default)
(How is this testable?)
-record
Creates a game movie file (defaults to SESSION.IPB) in the Red Alert 2 directory1
-play [filename]
Plays a game movie file (IPB format)
-CDpath:to/c.d
Specifies the location of the CD-ROM from which to run the game. Should contain the YR1.dsk file with at least 3 bytes of content.
-DESTNET
Destination network address (IP format, nn.nn.nn.nn)
-SOCKET
Specifies a network socket number (between 0 and 16383)
-DROP=[int]
Packet Loss Simulation mode enabled
-SPEEDCONTROL
Allows changing game speed in campaign mode (when you pause the game, the Game Speed slider in Game Controls window will be visible). Normally it is only possible for non-campaign modes.
-DLINK
Enable additional D-Link logic (helps with D-Link based LAN configurations)
-NETGEAR
Enable additional NetGear logic (helps with NetGear based LAN configurations)
-STEALTH
Hides players names in multiplayer LAN and Internet games
-MESSAGES
Allows incoming messages from outside the game (WOL)
widthXheight
Runs the game with the specified resolution (e.g. 1024X768)
This doesn't seem to work anymore, as it is overridden by the ScreenWidth/ScreenHeight statements in ra2(md).ini (which in itself is overridden by the Yuri's Revenge shell screen, which is hardcoded to 800x600).


-480
Sets the screen height to 480px
-16
Forces 16-bit color mode
-WIN
Runs the game in a window (as opposed to full screen)2
-jabber
Disables reading of the .CSF file, see FATAL Error.
Note: Doesn't do anything on Yuri's Revenge.
possibly used to load CSF files with Language set to "Jabberwockie".
GrabPatches
Launches the game and gets it only to check for an updated version (patch)
Note: Doesn't do anything on Yuri's Revenge.

Obsolete Ones

These might work in earlier games, but are obsolete in RA2:

-X
DOS 1.19+ compatability mode
-O
DOS 1.07 compatability mode
-h, /h, -?, /?
Supposed to display some explanations (CSF entries TXT_OPTION_HELP_01 through TXT_OPTION_HELP_06) and exit, but actually just exits the game.

Unknown Ones

-ATTRACT
-NOROUTER
Network-related (Not use mphmd.exe?)
(Unknown switch, encrypted)
Show the intro movie (Equivalent to setting Ra2md.ini [Intro]Template:TTL.)

Footnotes

1 Note that these aren't movies per se, but rather re-enactments of the battle. Therefore, any change to the game between the recording and playing of the "movie" file will damage it in unforseeable ways. e.g. if you recorded yourself how you destroyed a base with five Grizzlies, then made buildings immune to damage, and then played the recorded movie, the Grizzlies in it couldn't destroy the building and the actions on screen would make no sense at all.

2 Your current video mode must have 16-bit color.

Red Alert 2
Preceded by: Followed by:
Games: Tiberian Sun Renegade
Add-Ons: Firestorm Yuri's Revenge