:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sun Oct 25, 2020 4:49 am
All times are UTC + 0
 Forum index » Modding Central » C&C: Remastered Collection Editing Forums
INFO: Command Line Arguments
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Wed Jun 10, 2020 6:51 pm    Post subject:  INFO: Command Line Arguments
Subject description: A list of valid command line arguments you can run the game with.
Reply with quote

Command Line Arguments

This topic contains all the known command-line arguments for various executables shipped with the C&C Remastered Collection.


Making a shortcut to the respective executable client in the installation directory;


ClientG.exe and ClientLauncherG.exe

TIBERIANDAWN
Launches the game directly in Tiberian Dawn mode (default behavior).
(ClientLauncherG.exe only) Launches the game directly in Tiberian Dawn mode.

REDALERT
Launches the game directly in Red Alert mode.

RUN_EDITOR
Launches the map editor directly.
(ClientLauncherG.exe only)

SCREENWIDTH=
SCREENHEIGHT=
Allows you to set the screen width and height respecitivly.

FULLSCREEN
Force the display mode to fullscreen.

MAX_FPS=x (60 to 1000)
Set the FPS cap for the game.
(NOTE: For debugging purposes only. Although this exists, it may have no impact in the public builds)

CPUCOUNT=x
Set the amount of cpu cores the game can use.
(NOTE: For debugging purposes only. Although this exists, it may have no impact in the public builds)

PRELOAD= (0 to 10)
Sets the percentage-range (0 = 0%, 10 = 100%) of assets to preload on game startup.
(NOTE: For debugging purposes only. Although this exists, it may have no impact in the public builds)

IGNOREASSERTS
Ignore all debug asserts that may trigger.
(NOTE: For debugging purposes only. Although this exists, it may have no impact in the public builds)

MOD="Mod Name Here"
Allows you to force load a mod. You need to use the name of the mod as it is in the mod's .JSON file and the quotations are required.


The following is passed onto InstanceServerG.exe (which is the application that loads the TiberianDawn.dll and RedAlert.dll).

NO_EVENT_HANDLER
Disables the Petroglyph Crash Handler. This is required if you are debugging your mod DLL's in Visual Studio otherwise any crashes you encounter will hand over to the crash event handler and may not register with Visual Studio.

MOD_DEBUG
(NOTE: This is only available in "Patch 2" onwards, and is for debugging purposes only)
Disables the local DLL server instance timeout (interface between the RedAlert/TiberianDawn.DLL and InstanceServerG.exe) for when you are debugging the DLLs in Microsoft Visual Studio. This also enables a frame stepping debug feature, use F1 to "pause" the game and F2 to step forward one frame. Pressing F1 will turn off the frame stepping feature.


This topic might be updated as new options are discovered.

Last edited by CCHyper on Sun Aug 16, 2020 11:12 am; edited 1 time in total

Back to top
View user's profile Send private message
jonwil
Grenadier


Joined: 24 Jul 2005

PostPosted: Wed Aug 12, 2020 3:22 am    Post subject: Reply with quote

The latest patch has added a command line option that should be useful.

MOD="x" (where x is the name of a mod as set in the name field of the ccmod.json file, e.g. MOD="Beta Thief Audio" for my beta thief audio mod) will make the game load that mod only for that session (i.e. it wont permanently enable the mod, it will not be enabled if you exit the game and start again with no command line). Oh and you can only enable one mod at once with this option.

Back to top
View user's profile Send private message
twistedconversion
Grenadier


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Sun Aug 16, 2020 6:52 am    Post subject: Re: INFO: Command Line Arguments Reply with quote

CCHyper wrote:
Se the amount of cpu cores the game can use.

Typo here.
_________________
I change my profile picture based on my rank name. Also, I'm a member of the Tiberium Resurrection team.

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
 Forum index » Modding Central » C&C: Remastered Collection Editing Forums
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1238s ][ Queries: 10 (0.0052s) ][ Debug on ]