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

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,435
Trophies
3
Age
46
Location
At my chair.
XP
19,133
Country
Colombia
Actually ips files don't take any memory too since they are loaded via modules that are always active and do also other jobs than patching.
I was wondering de same and also thinking about
it apply patches with patern witch is more efficient than fixed patches
That have no sense at all, it applies the same patches, only some of them are a little different but is only instead apply 2 patches on normally adjacent offset apply one bigger on only an offset but the difference is mute.
 
  • Like
Reactions: Blythe93

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,350
Country
France
I was wondering de same and also thinking about

That have no sense at all, it applies the same patches, only some of them are a little different but is only instead apply 2 patches on normally adjacent offset apply one bigger on only an offset but the difference is mute.

But with the module you don't have to regenerate the patches, for loader patch you can change or even rebuild Atmosphere without having to change anything else. It's not difficult to rebuild a new loader patch but with the module no need to do it anymore. Personaly I think that with Atmosphere stoping suport to fs_patches the module is the best choice, it offer only advantages against old solutions. But it's true that the patches are a little different but like you say nothing change realy (games work like before, installation and launching homebrew also) so what are the advantage of old sig_patches.

Actually ips files don't take any memory too since they are loaded via modules that are always active and do also other jobs than patching.

Totaly right, the module use a little memory during the boot process (maybe it could be concidered as a week point against old solutions but the module need realy a small amount of memory so is it realy a problem) but after it's the same as using IPS patches no?
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,499
Country
Russia
don't have to regenerate the patches
For last 2 or 3 ofw you have to update syspatch and create new patterns. So the same as for classic sigpatches.

Also syspatch has a very serious bug in the algo: it does not check that found by pattern place is unique and just patch first found place. There's no guarantee that this is a correct place.
 

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,350
Country
France
For last 2 or 3 ofw you have to update syspatch and create new patterns. So the same as for classic sigpatches.

Easier to update a simple module than sig_patches witch have multiple files in multiple dirrectories. And you're right, the module could need some updates to match with new firmwares but for loader patches at least don't need them, also true for nfim_patches.

Also syspatch has a very serious bug in the algo: it does not check that found by pattern place is unique and just patch first found place. There's no guarantee that this is a correct place.

You seem to have more knowlages than me on the subject but for now is it already a problem? And maybe the algo could be rewrite to use the result number associed with a pattern (for example if a pattern match with 2 results we decide to apply it on the first or second result depending on the firmware or anything else), it's not a perfect solution but I don't know how to fix this, detecting patches like that should always have this problem because we can't be sure that the pattern founded it the good one.

My knowlages and comprehension of sig_patches are very limited so I could make some mistakes.
 
  • Like
Reactions: Blythe93

R3m0ved

Member
Newcomer
Joined
Aug 22, 2023
Messages
23
Trophies
0
XP
80
Country
Pakistan
Actually sys-patch has a memory footprint, very small but still
sigpatches haven't got any

Minimal sigpatches only take 3-4 files depending if you're using both FAT32 and exFAT FS patches
About 4Ko on SD card
sigpatches are the lightest solution
 
Last edited by R3m0ved,
  • Like
Reactions: impeeza

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,350
Country
France
Actually sys-patch has a memory footprint, very small but still
sigpatches haven't got any

Minimal sigpatches only take 3-4 files depending if you're using both FAT32 and exFAT
About 4Ko on SD card
sigpatches are the lightest solution

Yes for the first afirmation but only during boot process for a short time.

Also yes for the second one but module solution is easier to maintain and again work for all configuration, including launching Atmosphere with fusee.bin witch is not supported anymore by sig_patches except if you rebuild Atmosphere to re-include the support witch is not a good solution, I think we are all agree about that. I think for advanced users it's not a problem to continue to use sig_patches but for normal users the Sys-patch solution is now a better choice.
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,499
Country
Russia
And maybe the algo could be rewrite to use the result number associed with a pattern (for example if a pattern match with 2 results we decide to apply it on the first or second result depending on the firmware or anything else), it's not a perfect solution but I don't know how to fix this, detecting patches like that should always have this problem because we can't be sure that the pattern founded it the good one.
From my point of view correct algorithm should be following: for known FW there should be fixed patches at fixed known offsets, and only for unknown FW and maybe for atmosphere's loader (too many versions) there should be find by pattern (with log to file at what offset pattern is found, so dev can check it manually and add to static patch list)
 

Tsunamy

New Member
Newbie
Joined
Apr 23, 2024
Messages
1
Trophies
0
Age
33
XP
2
Country
Switzerland
Hi,

I'm running FW 18 and Atmosphere 17, the sys-patch overlay gives me everything patched in orange, exception made for es6 that is unpatched and ctest which is green.

Do i need es6 patched as well? is there any reason why I haven't got es7?

I'm running the latest hekate with the package 3 i found in this thread, i also updated the hekate_ipl.ini accordingly.

Thank you in advance for your support!
 
Last edited by Tsunamy,

impeeza

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

I'm running FW 18 and Atmosphere 17, the sys-patch overlay gives me everything patched in orange, exception made for es6 that is unpatched and ctest which is green.

Do i need es6 patched as well? is there any reason why I haven't got es7?

I'm running the latest hekate with the package 3 i found in this thread, i also updated the hekate_ipl.ini accordingly.

Thank you in advance for your support!
Nop. You need to read the previous post where the different patches status are explained
 
  • Like
Reactions: Blythe93

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
929
Trophies
1
XP
2,239
Country
Serbia, Republic of
I'm running FW 18 and Atmosphere 17, the sys-patch overlay gives me everything patched in orange, exception made for es6 that is unpatched and ctest which is green.

Do i need es6 patched as well? is there any reason why I haven't got es7?
  1. Patched = the pattern it's searching for is already patched by sigpatches, so there's no need to patch it again;
  2. Patched = the pattern is patched by sys-patch (i.e. sigpatches are not present or haven't been applied on boot);
  3. Unpatched = the pattern wasn't found by sys-patch on the current system so there's no need to patch them (only present if you turn off the Version skip in the Options).
So, if you're using sys-patch from this thread, you don't need es6 patched. As for es7, did you update your overlay as well? Maybe you still have an old version of an overlay where es7 isn't present. Maybe logging is turned off too?
 

R3m0ved

Member
Newcomer
Joined
Aug 22, 2023
Messages
23
Trophies
0
XP
80
Country
Pakistan
Hi,

I'm running FW 18 and Atmosphere 17, the sys-patch overlay gives me everything patched in orange, exception made for es6 that is unpatched and ctest which is green.

Do i need es6 patched as well? is there any reason why I haven't got es7?

I'm running the latest hekate with the package 3 i found in this thread, i also updated the hekate_ipl.ini accordingly.

Thank you in advance for your support!

Did you try to delete the sys-patch logs ?
 

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,054
Trophies
0
Location
Vancouver
XP
1,388
Country
Canada
Can all sigpatches be deleted safely and just use sys-patch? Is it okay to just delete the kip_patches & exefs_patches folders along with the patches.ini file? Or are some files still necessary?

Edit: Seems to be working fine but can't delete patches.ini file without getting an error about kip1patch=nosigchk so I put that file back. On that note, is kip1patch=nosigchk necessary when using only sys-patch?
 
Last edited by RedColoredStars,

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,054
Trophies
0
Location
Vancouver
XP
1,388
Country
Canada
They don't even work since Atmosphere 1.7.0 prerelease deleted support for kip patches.

Yeah. I was aware of that since 1.7 was released but there's also the modified fusee. I guess I asked because I got the error about kip1patch=nosigchk when I deleted the two folders AND the patches.ini file. The error went away when I put the ini file back, hence my edit. :) I assume the kip1patch=nosigchk line can also be deleted from hekate_ipl.ini and then the patches.ini file can also be deleted.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,435
Trophies
3
Age
46
Location
At my chair.
XP
19,133
Country
Colombia
Can all sigpatches be deleted safely and just use sys-patch? Is it okay to just delete the kip_patches & exefs_patches folders along with the patches.ini file? Or are some files still necessary?

Edit: Seems to be working fine but can't delete patches.ini file without getting an error about kip1patch=nosigchk so I put that file back. On that note, is kip1patch=nosigchk necessary when using only sys-patch?
Yes IPS sigpatches and SYS-module are redundants
 

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
929
Trophies
1
XP
2,239
Country
Serbia, Republic of
Didn't find it. The archived version is from 2020, directly downloaded from the Wayback Machine version of the Github repository, and checking directly on archive.org is just *.bundle files, my guess it's the data from the archived version of the repository.
Are you looking for sigpatches-updater or Sigpatch-Updater? I assumed the latter one, since you're asking in this thread (ITotalJustice worked on both sys-patch and Sigpatch-Updater)?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...