Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPS patch files not loaded on process init but only on console boot #2023

Open
Golem642 opened this issue May 5, 2024 · 1 comment
Open

Comments

@Golem642
Copy link

Golem642 commented May 5, 2024

System model:

New 3DS XL

SysNAND version (+emu/redNAND version if applicable):

11.17.0-50E SysNAND

Entrypoint (How/what you're using to boot Luma3DS):

Boot9Strap

Luma3DS version:

v13.0.2 stable

Luma3DS configuration/options:

Screen brightness: (3)

Splash: (Off)

PIN lock: (Off)

New 3DS CPU: (Off)

Hbmenu autoboot: (Off)

--

Enable loading external FIRMs and modules: (Yes)

Enable game patching: (Yes)

Redirect app. syscore threads to core2: (No)

Show NAND or user string in System Settings: (Yes)

Show GBA boot screen in patched AGB_FIRM: (Yes)

Enable custom upscaling filters for DSi: (Yes)

Allow Left+Right / Up+Down combos for DSi: (No)

--

Explanation of the issue:

I made an ips patch file for the nfc service (source here : https://github.com/Golem642/NFCheckRem/tree/main/New%203DS%20and%20New%202DS). I know it supposedly works because manually editing the code values using Rosalina's process list works.
However it seems that ips patch files are only applied on boot because all other patches works except this one.
The reason being that the nfc service is only started when needed, for example you wont see it in the process list while in the HOME menu. However as soon as you boot the amiibo settings app for example, it will start and appear in the list

This is kind of a problem as it prevents my patch from working, and others too if their service isn't always active

Steps to reproduce:

  1. Download my patch and put it into /luma/sysmodules

  2. Power on your console, make sure you have "Wireless communication/NFC" enabled in the HOME settings and open the Rosalina menu

  3. In the process list, search for "nfc". It shouldn't be there

  4. Now open the Amiibo settings app through the HOME settings

  5. Re-open the Rosalina menu, go to the process list and search again for the "nfc" process. It should be there

  6. Open it, go into the code tab, and seek for this address : 00 12 23 74

  7. If the 6 next values from that point are not equal to 00 46 00 2D 00 46, that means the patch is not applied

@Golem642
Copy link
Author

Or maybe add an option in Rosalina to select and apply a patch on the fly?
I know it's possible, because it's basically the same as editing the values with the process manager, just that it would be automated

I could see this as a temporary solution, because doing this every time would be annoying in the end, but at least having something would be nice

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

No branches or pull requests

1 participant