IGR (Ingame reset) functionality of hacked kernels or homebrew dashboards does not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- embedded-iot
Research direction
Start by reading the open-source IGR implementation in nkpatcher and compare how it detects XDK/XBE hooks with nxdk apps. The issue suggests a virtual gamepad API and compatibility with popular patchers, but does not identify nxdk files or tests to start from. Done means documenting the limitation and potential user options, then assessing a practical compatibility approach; the issue has had no activity for years.
Written by the indexing model from the issue text.
Description
When pressing the IGR combination or hacked kernels or homebrew dashboards, while an nxdk app is running, nothing happens.
While this isn't a bug in nxdk (but a bug in the kernels or homebrew dashboards) we should still document this problem, and come up with potential (optional) solutions for users who would like to use such features in their homebrew.
With this feature broken, the user could also false assume that their nxdk app had crashed.
We shouldn't just implement our own "hotkey" system, because:
- It wouldn't respect custom hotkey settings configured for IGR (custom button mappings / custom IGR hotkey actions).
- It feels very non-standard compared to retail games (both: to have your own combination / to have broken IGR).
- The user can easily do this in their own app if they like.
Instead, we should aim for compatibility with existing IGR patchers in hacked kernels or homebrew dashboards.
Due to IGR being a hook in XDK / XBE code, we'll have to write fake XDK-like code that IGR patchers mistake for the real XDK code.
A generic solution which works with all IGR patchers is therefore impossible.
However, we can try to fool the most popular IGR patchers and add more support in the future.
Due to the wide variety of IGR options in some patchers, we should probably expose a virtual gamepad API, that controls a gamepad that is observed by the IGR patch. This would allow to handle a wide variety of IGR patchers and a number of different input methods (as we don't tie it to an API like xpad).
nkpatcher contains an open-source implementation of IGR functionality, so this is a good starting point.
I'm not sure how other (illegal or closed-source) dashboards or bioses do it (probably similar, but it might require different emulation).
- Dominant language
- C
- Stars
- 600
- Forks
- 97
- Avg merge
- 11h 48m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XboxDev/nxdk
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Use faster memcpyOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
libsndfile/libsndfile#1239 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100