Skip to content

tweak(commandline): Skip intro logo with -quickstart and enable -nologo, -noShellAnim in Release builds#2266

Open
xezon wants to merge 1 commit intoTheSuperHackers:mainfrom
xezon:xezon/tweak-quickstart-nologo
Open

tweak(commandline): Skip intro logo with -quickstart and enable -nologo, -noShellAnim in Release builds#2266
xezon wants to merge 1 commit intoTheSuperHackers:mainfrom
xezon:xezon/tweak-quickstart-nologo

Conversation

@xezon
Copy link

@xezon xezon commented Feb 7, 2026

This change skips the intro logo with -quickstart and enables -nologo, -noShellAnim in Release builds.

This is good for all players that want to start the game very fast.

TODO

  • Replicate in Generals

@xezon xezon added Enhancement Is new feature or request Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour labels Feb 7, 2026
@greptile-apps
Copy link

greptile-apps bot commented Feb 7, 2026

Greptile Overview

Greptile Summary

Enabled -quickstart, -nologo, and -noShellAnim command-line flags in Release builds to allow faster game startup by skipping intro videos and animations.

Key changes:

  • Removed RTS_DEBUG preprocessor guards from parseNoLogo() function, making it available in Release builds
  • Moved -nologo and -noShellAnim registration from RTS_DEBUG section to the main command-line parameter array
  • Updated parseQuickStart() to call parseNoLogo() instead of parseNoSizzle() in Release builds
  • Removed unused parseNoSizzle() function entirely (functionality now covered by parseNoLogo())
  • Added comments documenting that these flags are now available in Release builds

Impact:

  • Players using -quickstart in Release builds will now skip the EA logo intro (previously only skipped sizzle video)
  • Direct use of -nologo and -noShellAnim flags now works in Release builds
  • The TODO mentions replicating this change in the Generals codebase (currently only in GeneralsMD)

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward refactoring that removes build configuration guards to enable QoL features in Release builds. The removed parseNoSizzle() function is fully replaced by parseNoLogo() which sets the same flags plus additional ones, making the change functionally equivalent. No logic bugs, syntax errors, or security issues were found.
  • No files require special attention

Important Files Changed

Filename Overview
GeneralsMD/Code/GameEngine/Source/Common/CommandLine.cpp Removed RTS_DEBUG restriction from -nologo and -noShellAnim flags, removed unused parseNoSizzle function, and updated -quickstart to skip intro logo in Release builds

Sequence Diagram

sequenceDiagram
    participant User
    participant CommandLine
    participant parseQuickStart
    participant parseNoLogo
    participant parseNoShellMap
    participant parseNoWindowAnimation
    participant GlobalData

    User->>CommandLine: Start game with -quickstart flag
    CommandLine->>parseQuickStart: Call parseQuickStart()
    
    Note over parseQuickStart: Previously in Release builds:<br/>only called parseNoSizzle()
    Note over parseQuickStart: Now in Release builds:<br/>calls parseNoLogo() instead
    
    parseQuickStart->>parseNoLogo: Call parseNoLogo()
    parseNoLogo->>GlobalData: m_playIntro = FALSE
    parseNoLogo->>GlobalData: m_afterIntro = TRUE
    parseNoLogo->>GlobalData: m_playSizzle = FALSE
    
    parseQuickStart->>parseNoShellMap: Call parseNoShellMap()
    parseNoShellMap->>GlobalData: m_shellMapOn = FALSE
    
    parseQuickStart->>parseNoWindowAnimation: Call parseNoWindowAnimation()
    parseNoWindowAnimation->>GlobalData: m_animateWindows = FALSE
    
    Note over GlobalData: Game starts faster:<br/>- No intro logo<br/>- No sizzle video<br/>- No shell map<br/>- No window animations
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Is new feature or request Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant