Skip to content

Conversation

@nclok1405
Copy link
Contributor

@nclok1405 nclok1405 commented May 13, 2025

This Pull Request adds (back) the ability to directly launch into the Debug Warp Screen when launching or resetting the game.

This is intended only for developer/quick testing use, so the toggle is located at Dev Tools section and require the Debug Mode to have any effect.

Build Artifacts

@nclok1405 nclok1405 closed this May 13, 2025
@nclok1405
Copy link
Contributor Author

I forgot to run clang-format... I request reopening the PR.

@nclok1405 nclok1405 reopened this May 13, 2025
@Pepper0ni
Copy link
Contributor

You currently get forced into the debug warp screen when you boot file 1 in debug mode, does this override that functionality (which i assume is vanilla?)

@nclok1405
Copy link
Contributor Author

You currently get forced into the debug warp screen when you boot file 1 in debug mode, does this override that functionality (which i assume is vanilla?)

"debug warp screen when you boot file 1 in debug mode" is indeed a vanilla Debug ROM behavior. This Pull Request does not change that behavior.

Copy link
Contributor

@Pepper0ni Pepper0ni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels a little weird to have this setting separate from the boot screen controls, but it makes some sense as a debug setting, so it should be fine.

}

// Boot to Debug Warp Screen
if ((CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) != 0) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be done in a hook

… Warp from being triggered when Boot to Debug Warp option is enabled but Debug Mode option is disabled.
@nclok1405
Copy link
Contributor Author

I've added a new hook and moved most of Boot to Debug Warp Screen code to the newly added hook.

As for toggle location, I think it should remain separated from Boot Sequence dropdown list (then known as "Fast File Select") because it was "overcomplicated" (#4882). The ability to boot into the Debug Warp Screen was removed during Boot Sequence option redesign, but it is very useful for quick testing and development usage, so this ability should return, just hidden behind Dev Tools tab.

Copy link
Contributor

@Malkierian Malkierian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love to see someone using the disabledMap.

@Malkierian Malkierian merged commit 4f95ab3 into HarbourMasters:develop Jun 19, 2025
6 checks passed
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
…arbourMasters#5485)

* Added/Restored the option to automatically boot into Debug Warp Screen

* clang-formated

* Added a new hook and moved Boot To Debug Warp Screen to it

* clang

* Added DebugEnabled to initFunc's CVar list. This should prevent Debug Warp from being triggered when Boot to Debug Warp option is enabled but Debug Mode option is disabled.

* No longer hijacks CustomLogoTitle

* Disable "Boot Sequence" dropdown when Boot to Debug Warp Screen is enabled
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.

3 participants