Atmosphere: Feature Request: Per-title HBL override config

Created on 15 Apr 2019  路  7Comments  路  Source: Atmosphere-NX/Atmosphere

Feature Request

What feature are you suggesting?

Overview:

  • Possible duplicate of #329
  • The ability to have different hbloader override keys for different titles

Smaller Details:

  • Perhaps an hbl section in the config.ini under /atmosphere/titles/TITLE_ID/ that lets you specify an override key for hbloader in addition to the override key for LayeredFS

Nature of Request:

  • Addition

    • An extension of the per-title LayeredFS override key system, but for hbloader (as talked about in Smaller Details)

What component do you feel this would best fit within?

Why would this feature be useful?

I like holding R to override a game with hbloader, but I very much prefer not holding R to override the album with hbloader, and I expect many other end users feel the same. Having to hold R to override the album with hbloader isn't that much of a hassle, but it's just enough hassle to be annoying.

Most helpful comment

title-specific hbl configuration is a no -- hbl configuration should be global.

However, separating the key for overriding apps and overriding a specific title (album) could probably be done.

All 7 comments

Maybe instead make them separate overrides. For example:

override_key_any_app=R
override_key_title_id=!R

Alternatively remove override_any_app and replace it with override_key_any_app. So a full hbl_config would look like this (I actually think I like this more, easier to implement and probably going to least affect users):

title_id=010000000000100D
path=atmosphere/hbl.nsp
override_key=!R
override_key_any_app=R

Hopefully this commit doesn't break anything; my knowledge of the code base is very limited; biggest uncertainty is with Utils::IsHblTid, IsHBLTitleId, and ams_mitm. I attached a build of it (built w/ https://github.com/switchbrew/libnx/commit/3dde2148cc1635eae13fff7f7205099a7ffd01e3) WARNING: Use at your own risk, consider it alpha or worse. But it works in testing using the config quoted below:

fusee-secondary.zip

(if this is a desirable merge, or needs some edits before; let me know - can message on Discord or IRC if needed)

```[hbl_config]
title_id=010000000000100D
path=atmosphere/hbl.nsp
override_key=!R
override_key_any_app=R

[default_config]
override_key=!L
cheat_enable_key=L
```

@james-d-elliott does your fork allow you to have a different path=atmosphere/hbl.nsp per title id?

Is that feature a side effect of this feature request? or do I need a new feature request for that?

@znxDomain no it shouldn't but that should not be hard to do. It's unrelated to this issue though. This issue is more about the behavior or override_any_app I believe.

title-specific hbl configuration is a no -- hbl configuration should be global.

However, separating the key for overriding apps and overriding a specific title (album) could probably be done.

However, separating the key for overriding apps and overriding a specific title (album) could probably be done.

This would be nice to have.

Implemented separated config for title/all applications (and for up to eight specific titles instead of one) a few weeks ago.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aighttttt picture Aighttttt  路  5Comments

fennectech picture fennectech  路  3Comments

ghost picture ghost  路  5Comments

fennectech picture fennectech  路  3Comments

demetom picture demetom  路  4Comments