(assuming it matches 14...........91...........97...............14, then skips 37 steps, does its b_cond test which should find ...14, then it sets the first byte of the test to 0, but the offset needing to be patched is 4 bytes forward, so 37, 4?)
apparently it should be something stupid like 37, 0 or 37, 4
test the 4 byte instruction at position 37("+1") last byte matches the cond (14), then from the end of the match move 4 bytes forward
edit: i forgot to do 0x14 | 0x17 and did 0x17 | 0x17 for the b_cond test, should now be fixed.
You're saying that NIFM is crashing?
edit: ah, you're using some nonsense older modded version of sys-patch, i won't troubleshoot that.
besides, i would require your crashlogs.
I'm using the syspatch version 1.5.5 published in this forum, as I couldn't find a newer one. I could provide you with the logs if I still have them, since it is working now.
I'm using the syspatch version 1.5.5 published in this forum, as I couldn't find a newer one. I could provide you with the logs if I still have them, since it is working now.
Would be nice if the ones of you claiming it "works fine", could provide sys-patch log for ctest2 entry, be it in form of screenshot from the overlay or file, as everything else already was working.
Edit: I'm brain farting over here. Just gave up and grabbed the build up above. It works.
My linux VM quit working on my Desktop, after having SSD issues and having to do a fresh install. In ubuntu, "git fetch origin pull/ID/head" would do what I expect. It doesn't seem to be working that way through msys2.
Nothing to do with FW 20 was a Pending PR what I do not know why GitHub never alert me. it introduces a setting for clean Configuration, very useful for the testing and updating.
The PR for support FW 20 is pending on testing and Atmosphère release.
Nothing to do with FW 20 was a Pending PR what I do not know why GitHub never alert me. it introduces a setting for clean Configuration, very useful for the testing and updating.
The PR for support FW 20 is pending on testing and Atmosphère release.
@bth I've noticed that your repository is now archived. Any particular reason? Dropping support? Switch might be on its last firmware revision? Something else?
@bth I've noticed that your repository is now archived. Any particular reason? Dropping support? Switch might be on its last firmware revision? Something else?
I un-archived it only to push fix upstream, as I have no faith anyone else would fix it... (The switch scene is full of incompetent people) Seeing as I am the original source of all the patterns in the first place
I archived everything switch related that isn't crypto, because I don't have a switch 1 myself anymore.
It will be archived, because it's not where people are supposed to be.
Nothing to do with FW 20 was a Pending PR what I do not know why GitHub never alert me. it introduces a setting for clean Configuration, very useful for the testing and updating.
The PR for support FW 20 is pending on testing and Atmosphère release.
It already was tested, it's irresponsible and a bad faith argument of you to insist on not already starting distribution of a fix to a problem sys-patch causes for people by patching +0x4 offset wrong, which results in a crash.
It already was tested, it's irresponsible and a bad faith argument of you to insist on not already starting distribution of a fix to a problem sys-patch causes for people by patching +0x4 offset wrong, which results in a crash.
Are you sure can we distribute that now? I have no tested and so far but if you tell me is ok, I will Merge the PR and publish the binary and code here on GBATemp.
Post automatically merged:
Most Recent version 1.5.6 with FW 20+ on the downloads section
I un-archived it only to push fix upstream, as I have no faith anyone else would fix it... (The switch scene is full of incompetent people) Seeing as I am the original source of all the patterns in the first place
I archived everything switch related that isn't crypto, because I don't have a switch 1 myself anymore.
It will be archived, because it's not where people are supposed to be.
# Firmware version number generated keys for is: 20.0.1
# key revision generated keys for ends with _13
# mariko_master_kek_source_13 = *******************************
# Keygen completed and output to C:\Users\shadowjacker/.switch/prod.keys
Sys-patch for ES string still valid for: 20.0.1
Sys-patch ES pattern found at: 076A38
The ghidra-equivalent pattern used was: .. .. 00 .. .. .. 00 94 a0 .. .. d1 .. .. ff 97 .. .. .. .. .. .. .. a9
An arm "MOV" condition is what is supposed to be patched at this offset
20.0.1 ES build-id: CF84DE5278AE823734DE630A098C6B1AEEF12894
an "STP" arm instruction with ending of 0xA9 was found proceding the pattern
Sys-patch for NIFM string still valid for: 20.0.1
Sys-patch NIFM pattern found at: 0879C0
The ghidra-equivalent pattern used was: 14 .. .. .. .. .. .. .. .. .. .. .. 91 .. .. .. .. .. .. .. .. .. .. .. 97 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 14
An arm "STP" condition is what is supposed to be patched at the offset right after the branch arm condition tested ("B")
20.0.1 NIFM build-id: 2C3E24F46D131685B361FEE1F0570B985095E034
Sys-patch for NIM string still valid for: 20.0.1
Sys-patch NIM pattern found at: 1909A8
The ghidra-equivalent pattern used was: .. 0F 00 35 1F 20 03 D5
An arm "ADR" condition is what is supposed to be patched at the offset right after the "CBNZ and "NOP" conditions the pattern finds
20.0.1 NIM build-id: 9A576C1A8BE653CD24C88A8C239DADA3E1EF73F8
both sys-patch strings are valid for FS-FAT32 for: 20.0.1
20.0.1 First Sys-patch FS-FAT32 pattern found at: 023C88
The ghidra-equivalent pattern used was (11.0.0+) : .. 94 .. .. 00 36 .. 25 80 52
An arm "TBZ" condition is what is supposed to be patched, it is found within the pattern.
20.0.1 Second Sys-patch FS-FAT32 pattern found at: 07A880
The ghidra-equivalent pattern used was (19.0.0+) : 40 f9 .. .. .. 94 .. .. 40 b9 .. .. 00 12
An arm "BL" condition is what is supposed to be patched, it is found within the pattern.
20.0.1 Second Sys-patch FS-FAT32 pattern found at: 07A880
20.0.1 FS-FAT32 SHA256 hash: 6354969E60A7977B5A3C0E25EF39DEC1D84AC43E4F2BE16B3521A4FB4D6D0548
FS-exFAT was skipped for: 20.0.1, due to missing NCA file for exfat in the provided firmware files.
.. 94 .. .. 00 36 .. 25 80 52 | 2 | 0
= | 2
.. .. 00 36
+ | 0
= patch from same offset as test offset
Post automatically merged:
only 1.5.5 should have been problematic for 20.0.0+, but explicitly only nifm, as it was 0x4 too far ahead. 1.5.6 addresses that part, as the other patches already are confirmed to work.
I've heard of problems with DBI and tinfoil on 20.0.0, but i suspect that's an atmosphere thing that will be addressed by full release of atmosphere 1.9.0 // updates pushed out for at least tinfoil if needed.
existing installs work fine, installing new things does work, but the homebrew themselves have error.
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
The Switch 2 has been out for a year now, but you shouldn't count the original system out yet! Released a few days ago, popular PS2 emulator NetherSX2 has found its...
Hot on the heels of their NetherSX2 port, @Nagaa is back with another hugely anticipated release: a Switch port of the popular Wii U emulator Cemu. We've got more...
The Pokemon series is known for its vast assortment of spin off titles, with the majority being well-received. We've had an assortment of Mystery Dungeon titles, a...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
Amidst news of layoffs and cancellations in the wake of Xbox's larger changes, Bethesda has today come out with a statement discussing their active projects. In this...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Announced today during the Octopath Traveler 8th Anniversary live stream, it's been confirmed that both the first game and its sequel will be launching on the Switch...
In this time of everything costing more a year after it's released, it's nice to see some things sticking to the old ways. Capcom have today announced that the latest...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...