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

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,395
Trophies
3
Age
46
Location
At my chair.
XP
18,882
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,349
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,487
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,349
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
71
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,349
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,487
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,395
Trophies
3
Age
46
Location
At my chair.
XP
18,882
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
867
Trophies
1
XP
2,138
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
71
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
998
Trophies
0
Location
Vancouver
XP
1,313
Country
United States
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
998
Trophies
0
Location
Vancouver
XP
1,313
Country
United States
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,395
Trophies
3
Age
46
Location
At my chair.
XP
18,882
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
867
Trophies
1
XP
2,138
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.
  • NinStar @ NinStar:
    nes remix 1 had the bad one, nes remix 2 had the good one
  • SylverReZ @ SylverReZ:
    @genistopitauniverfrocrami, What drugs is this dude on?
    +1
  • NinStar @ NinStar:
    CRAZY HAMBURGER
  • The Real Jdbye @ The Real Jdbye:
    @NinStar both nes remix 1 and 2 had some stinkers in there
    +1
  • The Real Jdbye @ The Real Jdbye:
    but at least 2 doesn't have sports games
  • The Real Jdbye @ The Real Jdbye:
    loved nes remix, but hated having to play Baseball, Tennis and Golf in order to progress
    +1
  • The Real Jdbye @ The Real Jdbye:
    or fucking Clu Clu Land for that matter
  • Psionic Roshambo @ Psionic Roshambo:
    Not a big fan of NES kid Icarus either... I know it was popular but I didn't care for it.
  • Psionic Roshambo @ Psionic Roshambo:
    Yesterday I learned my BD Burner drive can burn CD's at 56X lol
  • cearp @ cearp:
    What stuff were you burning?
    I used to burn tons of dvds (data files) many years ago, but haven't burnt a disk in ages.
  • Psionic Roshambo @ Psionic Roshambo:
    My car actually reads MP3 CD's lol
  • Psionic Roshambo @ Psionic Roshambo:
    So mix CDs for myselt :)
  • Psionic Roshambo @ Psionic Roshambo:
    Pantera, Metallica, Hollywood Undead, Five Finger Death Punch, some others lol
  • Psionic Roshambo @ Psionic Roshambo:
    I can put like 90 songs on a CD lol
  • The Real Jdbye @ The Real Jdbye:
    if only it could read dvds then you would just need 1 disc
    +1
  • BakerMan @ BakerMan:
    i tell ya what, i could go for a fuckin gyro right about now
    +1
  • cearp @ cearp:
    I hope your brother is doing ok Mr BakerMan
    +1
  • cearp @ cearp:
    and Psi - I had a cd player / radio that played mp3 cds once, very cool
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    BakerMan yeah me too.... maybe that's gonna be dinner for me there is this place near me I have been dying to try and they have them lol
  • K3Nv2 @ K3Nv2:
    I miss usb mp3 players they were shit but at the time a go to
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I thought about that and I have blank DVD's and Blurays but honestly after like 90 songs I just listen to it a couple of hundred times toss it out and burn something else or have like 2-3 CD's. Florida here the heat in the car tends to ruin the CD's after like a few months even commercial pressed ones don't last too long.
  • The Real Jdbye @ The Real Jdbye:
    my music collection is just too big, i require variety
    The Real Jdbye @ The Real Jdbye: my music collection is just too big, i require variety