Skip to content

Add command line arguments for --develop, --load-save, and --stage#2150

Open
jdflyer wants to merge 2 commits into
TwilitRealm:mainfrom
jdflyer:more-args
Open

Add command line arguments for --develop, --load-save, and --stage#2150
jdflyer wants to merge 2 commits into
TwilitRealm:mainfrom
jdflyer:more-args

Conversation

@jdflyer

@jdflyer jdflyer commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR adds 3 new command line arguments to dusklight that are designed to speed up development.

  • --develop: Sets mDoMain::developmentMode to true and enables dusk::OSReportReallyForceEnable (The same behavior as the original development mode)
  • --load-save launches dusklight into a specified save from the existing savefile. It overrides the scene change function in d_s_logo and loads the save and goes straight to the play scene
  • --stage launches dusklight into a specified stage with the following format: STAGE,ROOM,POINT,LAYER with the last few parameters being optional. This is implemented in the same function as --load-save and the two work together.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant