Homebrew Homebrew app sys-patch - sysmod that patches on boot

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,455
Trophies
3
Age
46
Location
At my chair.
XP
19,173
Country
Colombia
So does sys-patch negate the need to switch from fusee to hekate for sigpatches on latest atmosphere?
Kinda, Sys-Patch is a sysmodule which patch the memory on the fly at startup, detect if any patch is already applied and if any patch is missing and apply them so if you didn't boot trough Hekate's Package3 parsing Sys-Patch will take care.
 

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
955
Trophies
1
XP
2,280
Country
Serbia, Republic of
Is it normal that log says Unpatched for es6?
Also, I have the latest sigpatches installed and I have loaded Atmosphere's package3 via Hekate. Shouldn't logs say Patched in orange instead of green or am I missing something? es6 is Unpatched, es7 is Patched and the rest of them are Patched.
 
Last edited by Blythe93,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,455
Trophies
3
Age
46
Location
At my chair.
XP
19,173
Country
Colombia
Is it normal that log says Unpatched for es6?
1711742181509.png
 
  • Like
Reactions: f0li0 and Blythe93

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,385
Trophies
2
XP
18,312
Country
Sweden
All I know is that ES have something to do with ES_NCA (or 0100000000000033) but not sure what ES6 is.
EDIT: Checked old backed up sourcecode, ES6 might not be in use anymore therefore not needed on FW18

constinit Patterns es_patterns[] = {
{ "es1", "0x1F90013128928052", -4, 0, cbz_cond, b_patch, b_applied, true, FW_VER_ANY, MAKEHOSVERSION(13,2,1) },
{ "es2", "0xC07240F9E1930091", -4, 0, tbz_cond, nop_patch, nop_applied, true, FW_VER_ANY, MAKEHOSVERSION(10,2,0) },
{ "es3", "0xF3031FAA02000014", -4, 0, bne_cond, nop_patch, nop_applied, true, FW_VER_ANY, MAKEHOSVERSION(10,2,0) },
{ "es4", "0xC0FDFF35A8C35838", -4, 0, mov_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(11,0,0), MAKEHOSVERSION(13,2,1) },
{ "es5", "0xE023009145EEFF97", -4, 0, cbz_cond, b_patch, b_applied, true, MAKEHOSVERSION(11,0,0), MAKEHOSVERSION(13,2,1) },
{ "es6", "0x.6300...0094A0..D1..FF97", 16, 0, mov2_cond, mov0_patch, mov0_applied, true, MAKEHOSVERSION(14,0,0) },
};

So I guess es7 is just a replacement for es6 :)
 
Last edited by linuxares,
  • Like
Reactions: ber71 and josete2k

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,455
Trophies
3
Age
46
Location
At my chair.
XP
19,173
Country
Colombia
Is the es6 relevant?
ES6 and ES7 are the 2 versions of the set of patterns to seek ES6 is for FW 14 to 17 and ES7 is for FW 14 to 18 I think they booth are overlapping, but if one of the two is patched, then the patch is applied.:

the pattern sys-patch broke on this fw, which is my fault. the change that broke was `reg0 = reg29 & 0x18` to `reg0 = reg29 & 0x1B`.

A0.0091..0094A0..D1..FF97 should be fine for fw14+


as far I could understand the code needs to change the reg pattern to look but on the new code just a new set of codes was added.
 
  • Like
Reactions: josete2k

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
955
Trophies
1
XP
2,280
Country
Serbia, Republic of
I know about that, but nevertheless, I've figured it out. For some reason, my hekate_ipl was missing the kip1patch=nosigchk line. :D Now they are all orange which means that both sigpatches and sys-patch module are working (and doing the same thing).
ES6 and ES7 are the 2 versions of the set of patterns to seek ES6 is for FW 14 to 17 and ES7 is for FW 14 to 18 I think they booth are overlapping, but if one of the two is patched, then the patch is applied.:
I see. Thanks for the info.

Thanks to everyone who made these sigpatches possible. You guys rock!
 
  • Love
Reactions: impeeza

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,089
Trophies
0
Location
Angoche
XP
1,443
Country
Mozambique
I know about that, but nevertheless, I've figured it out. For some reason, my hekate_ipl was missing the kip1patch=nosigchk line. :D Now they are all orange which means that both sigpatches and sys-patch module are working (and doing the same thing).

I see. Thanks for the info.

Thanks to everyone who made these sigpatches possible. You guys rock!

Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
 
Last edited by RedColoredStars,
  • Like
Reactions: Blythe93

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,455
Trophies
3
Age
46
Location
At my chair.
XP
19,173
Country
Colombia
Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
https://gbatemp.net/threads/sys-patch-sysmod-that-patches-on-boot.633517/post-10389638
 

LightBeam

Well-Known Member
Member
Joined
Oct 1, 2018
Messages
993
Trophies
0
XP
2,490
Country
France
Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
Green = patched correctly
Orange = already patched (by the sigpatches you already installed)

I don't remember what the version skip does :(



(woops got passed over)
 
  • Like
Reactions: RedColoredStars

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,455
Trophies
3
Age
46
Location
At my chair.
XP
19,173
Country
Colombia

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,089
Trophies
0
Location
Angoche
XP
1,443
Country
Mozambique

That didn't answer my questions.

Let me ask the first one in a different way. If they should all be orange if I have both sigpatches and sys-patch, what would be the reason my ctest is the only one that's green? As far as the other two, the post you linked to (whih I had already seen) doesn't mention either the Patch sysMMC or Version Skip options.

Edit: Version Skip was answered while I was replying.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @SylverReZ I read that non-binary people identify as a blend of male and female. The point is i think i'm a blend of those and thus non binary
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Non-binary people are those who don't identify themselves exclusively as male or female.
  • cearp @ cearp:
    I don't identify as anything, unless I need to get on a plane then I show ID
    +3
  • AncientBoi @ AncientBoi:
    👈 [homo, queer, fag, coksuqr, etc......]
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I meant that I read that they can also identify as what i mentioned
    +2
  • BigOnYa @ BigOnYa:
    I identify as Long Rod Johnson, cause a cat called me that once.
    +2
  • AncientBoi @ AncientBoi:
    [takes a 👀 in your pants] Liar :angry:
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and thus that would make me non binary since i feel like a blend of both male and female
    +1
  • AncientBoi @ AncientBoi:
    @Xdqwerty only time will tell, what/whom you are. At 14, its a bit early to "Define" yourself. :)
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I only recently have learned who I am and how much I am capable of and I'm 50 lol
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    A thousand epiphanies and unbelievable pain and growth.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I wish I could sum it up for children to understand but it truly takes living a lifetime of learning
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    It's more than knowledge it's understanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Both are required
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, ask chatgpt or Google gémini to summarize it
  • Psionic Roshambo @ Psionic Roshambo:
    Lol summarize life's lessons
  • BigOnYa @ BigOnYa:
    My wifey tells me all the time "You need to grow the fuck up." Which I don't understand, cause I'm full grown already.
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she means grow more
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • AncientBoi @ AncientBoi:
    farrrrrrrrrrrt
    +1
  • BigOnYa @ BigOnYa:
    @AncientBoi I imagine it don't make the fart sound anymore, probably sounds more like letting go of a balloon you just blew up.
    +3
  • SylverReZ @ SylverReZ:
    @BigOnYa, Tell her to grow a pair. :rofl2:
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played any Sega genesis games?
    Xdqwerty @ Xdqwerty: @SylverReZ, you played any Sega genesis games?