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

E1ite007

wierd avatar guy
Member
Joined
Nov 19, 2016
Messages
1,046
Trophies
1
Location
Itchy & Scratchy Land
XP
2,819
Country
Mexico
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)?
Sigpatch-Updater, sorry. And yeah, downloading from that archive.org link gives me this version of the source:

1714211601541.png


Every file is from 2020.

EDIT: It's from version 0.1.3.
 

E1ite007

wierd avatar guy
Member
Joined
Nov 19, 2016
Messages
1,046
Trophies
1
Location
Itchy & Scratchy Land
XP
2,819
Country
Mexico
Ah, I've downloaded source from the releases page, not from the main page. That should be the latest one, no?

View attachment 434110
Silly me. Yes, that would be.
Thank you so much.
Post automatically merged:

For the love of me, I cannot get the Sigpatch-Updater to compile.
I have errors when trying to link the .elf file:

1714224289976.png


Trying to check if changing the download urls could work, since most of the downloading process is the same.

EDIT: What the heck is this bullshit. I "updated" with my automerge this reply almost 3 hours later. Anyway, I'm guessing that there's some issues with my enviroment variables, so this are the ones regarding devkitPro:

1714224916087.png
 
Last edited by E1ite007,
  • Like
Reactions: Blythe93

R3m0ved

Active Member
Newcomer
Joined
Aug 22, 2023
Messages
27
Trophies
0
XP
96
Country
Pakistan
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.

You can also use aio-switch-updater with a custom download configuration file
 

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
36
Trophies
0
XP
91
Country
United States
Silly me. Yes, that would be.
Thank you so much.
Post automatically merged:

For the love of me, I cannot get the Sigpatch-Updater to compile.
I have errors when trying to link the .elf file:

View attachment 434140

Trying to check if changing the download urls could work, since most of the downloading process is the same.

EDIT: What the heck is this bullshit. I "updated" with my automerge this reply almost 3 hours later. Anyway, I'm guessing that there's some issues with my enviroment variables, so this are the ones regarding devkitPro:

View attachment 434141
Are you using msys2 instead of mingw64?
 
Last edited by dogtygr,

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
36
Trophies
0
XP
91
Country
United States
Last edited by dogtygr,

E1ite007

wierd avatar guy
Member
Joined
Nov 19, 2016
Messages
1,046
Trophies
1
Location
Itchy & Scratchy Land
XP
2,819
Country
Mexico
You are missing some libraries
Try this command pacman -Syu switch-mbedtls

Edit can you postthe outcome of the following command pacman -Qqe ?
Sure:

Makefile:
base
base-devel
catnip
deko3d
devkit-env
devkitA64
devkitA64-gdb
devkitARM
devkita64-cmake
devkitarm-rules
devkitpro-keyring
dkp-toolchain-vars
filesystem
general-tools
git
hactool
libcurl-devel
libnx
lz4
mercurial
mingw-w64-i686-binutils
mingw-w64-i686-cmake
mingw-w64-i686-crt-git
mingw-w64-i686-gcc
mingw-w64-i686-gcc-ada
mingw-w64-i686-gcc-fortran
mingw-w64-i686-gcc-libgfortran
mingw-w64-i686-gcc-libs
mingw-w64-i686-gcc-objc
mingw-w64-i686-gdb
mingw-w64-i686-gdb-multiarch
mingw-w64-i686-headers-git
mingw-w64-i686-libgccjit
mingw-w64-i686-libmangle-git
mingw-w64-i686-libwinpthread-git
mingw-w64-i686-make
mingw-w64-i686-pkgconf
mingw-w64-i686-tools-git
mingw-w64-i686-winpthreads-git
mingw-w64-i686-winstorecompat-git
mingw-w64-x86_64-binutils
mingw-w64-x86_64-cmake
mingw-w64-x86_64-crt-git
mingw-w64-x86_64-curl
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gcc-ada
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-gcc-libgfortran
mingw-w64-x86_64-gcc-objc
mingw-w64-x86_64-gdb
mingw-w64-x86_64-gdb-multiarch
mingw-w64-x86_64-headers-git
mingw-w64-x86_64-libgccjit
mingw-w64-x86_64-libmangle-git
mingw-w64-x86_64-make
mingw-w64-x86_64-pkgconf
mingw-w64-x86_64-python-lz4
mingw-w64-x86_64-python-pip
mingw-w64-x86_64-python-pycryptodome
mingw-w64-x86_64-tools-git
mingw-w64-x86_64-winpthreads-git
mingw-w64-x86_64-winstorecompat-git
msys2-runtime
subversion
switch-bzip2
switch-cmake
switch-curl
switch-examples
switch-freetype
switch-glm
switch-libdrm_nouveau
switch-libjpeg-turbo
switch-libpng
switch-mbedtls
switch-mesa
switch-pkg-config
switch-sdl2
switch-sdl2_gfx
switch-sdl2_image
switch-sdl2_ttf
switch-tools
switch-zlib
uam
zip

I'm using mostly libraries from other tutorials of how to build homebrew for the Switch since Sigpatch-Updater never included a requirements list.

EDIT: Huh. switch-mbedtls was the library I was missing to complete compiling. Gonna check if the updated urls work.
 
  • Like
Reactions: Blythe93

dogtygr

Active Member
Newcomer
Joined
May 30, 2023
Messages
36
Trophies
0
XP
91
Country
United States
Sure:

Makefile:
base
base-devel
catnip
deko3d
devkit-env
devkitA64
devkitA64-gdb
devkitARM
devkita64-cmake
devkitarm-rules
devkitpro-keyring
dkp-toolchain-vars
filesystem
general-tools
git
hactool
libcurl-devel
libnx
lz4
mercurial
mingw-w64-i686-binutils
mingw-w64-i686-cmake
mingw-w64-i686-crt-git
mingw-w64-i686-gcc
mingw-w64-i686-gcc-ada
mingw-w64-i686-gcc-fortran
mingw-w64-i686-gcc-libgfortran
mingw-w64-i686-gcc-libs
mingw-w64-i686-gcc-objc
mingw-w64-i686-gdb
mingw-w64-i686-gdb-multiarch
mingw-w64-i686-headers-git
mingw-w64-i686-libgccjit
mingw-w64-i686-libmangle-git
mingw-w64-i686-libwinpthread-git
mingw-w64-i686-make
mingw-w64-i686-pkgconf
mingw-w64-i686-tools-git
mingw-w64-i686-winpthreads-git
mingw-w64-i686-winstorecompat-git
mingw-w64-x86_64-binutils
mingw-w64-x86_64-cmake
mingw-w64-x86_64-crt-git
mingw-w64-x86_64-curl
mingw-w64-x86_64-gcc
mingw-w64-x86_64-gcc-ada
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-gcc-libgfortran
mingw-w64-x86_64-gcc-objc
mingw-w64-x86_64-gdb
mingw-w64-x86_64-gdb-multiarch
mingw-w64-x86_64-headers-git
mingw-w64-x86_64-libgccjit
mingw-w64-x86_64-libmangle-git
mingw-w64-x86_64-make
mingw-w64-x86_64-pkgconf
mingw-w64-x86_64-python-lz4
mingw-w64-x86_64-python-pip
mingw-w64-x86_64-python-pycryptodome
mingw-w64-x86_64-tools-git
mingw-w64-x86_64-winpthreads-git
mingw-w64-x86_64-winstorecompat-git
msys2-runtime
subversion
switch-bzip2
switch-cmake
switch-curl
switch-examples
switch-freetype
switch-glm
switch-libdrm_nouveau
switch-libjpeg-turbo
switch-libpng
switch-mbedtls
switch-mesa
switch-pkg-config
switch-sdl2
switch-sdl2_gfx
switch-sdl2_image
switch-sdl2_ttf
switch-tools
switch-zlib
uam
zip

I'm using mostly libraries from other tutorials of how to build homebrew for the Switch since Sigpatch-Updater never included a requirements list.

EDIT: Huh. switch-mbedtls was the library I was missing to complete compiling. Gonna check if the updated urls work.
Glad it worked it sounded logical to get the mbedtls package because you're going to go through https. Just to be safe and for convenience I've installed every switch-* package on my environment
 

E1ite007

wierd avatar guy
Member
Joined
Nov 19, 2016
Messages
1,046
Trophies
1
Location
Itchy & Scratchy Land
XP
2,819
Country
Mexico
So, here's a new version of Sigpatch-Updater.
The urls direct to the new download links and the app is totally open source as always has been.

You can download it from that weird russian website:
qr.png


And you can get the source code (and the app) from Bitbucket:
Untitled 1.png

Thanks so much to @impeeza, @dogtygr, and @Blythe93 for helping me to compile it. Bear in mind I usually compile projects based on instructions and develop based on tutorials, and never in C, so this was a great learning experience.
 
Last edited by E1ite007,

Kagami-san

Well-Known Member
Newcomer
Joined
Jun 1, 2020
Messages
50
Trophies
0
Age
36
Location
Hello... Hello computer.
Website
www.These-Internets.com
XP
171
Country
United States
So, here's a new version of Sigpatch-Updater.
The urls direct to the new download links and the app is totally open source as always has been.

You can download it from that weird russian website:
View attachment 434604


And you can get the source code (and the app) from Bitbucket:
View attachment 434607

Thanks so much to @impeeza, @dogtygr, and @Blythe93 for helping me to compile it. Bear in mind I usually compile projects based on instructions and develop based on tutorials, and never in C, so this was a great learning experience.
I this why my apps / menus just freeze even though I can boot emmc or the other way but only stock games work because gmes and menus freeze on emmc side? Should be fully updated AFAIK
 
  • Like
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,563
Trophies
3
Age
46
Location
At my chair.
XP
19,553
Country
Colombia
sys-patch is a sysmodule that patches fs, ldr, es and nifm on boot. This has the same effect as sigpatches.

The benefit of sys-patch is that it only needs updating when something major breaks, the last time this happened was fw 15.0.0.

Another benefit is patching ldr will (likely) never need to be updated. In the past, if a silent atmosphere update happened, this would break sigpatches (unless you updated them again).

sys-patch also outputs a log where you can see which patches are applied, which one failed and some other useful data. You can manually read the log or use the overlay, which you can also use to change the config.

Sigpatch-updater was updated to support updating and auto running sys-patch. This means that you can update and apply patches without having to reboot, which is pretty cool.

For now, I wouldn't recommend completely replacing sigpatches with this, I'd more so use it as a companion / fallback should you forget to update patches, sys-patch should continue to work.

For any issues, please open them on GitHub :)

https://github.com/ITotalJustice/sys-patch
Guys, good night, Just for fun yesterday I build Atmosphère from latest code and discovered some weird behavior discovered by @josete2k

Let me describe the issue, first If I run the latest official release of Atmosphère (atmosphere-1.7.0-prerelease-35d93a7c4+hbl-2.4.4+hbmenu-3.6.0.zip) from GitHub and using the set of patches generated by the latest IPS Patch Creator: (I personally like ES2 version of IPS files)
1717389887694.png


And the SYS-Patch sysmodule shows everything as expected


1717389843577.png


Now I build the 05fde7b commit from Atmosphere GitHub repo, and created the Sigpatches also using IPS Patch Creator for this new Package3

1717390288740.png

1717390514060.png


Then updated my SD Card, and ensured to update the sigpatches too (even patches.ini)

Reboot the console and the noacidsigchk is mark as UNPATCHED (RED):
1717390676292.png


Two Questions:

What exactly LDR stands for?

Why on the latest version appears as not patched even if the IPS file generated by IPS Patch creator is on the SD Card?

any of the goods of patching have idea?

if any insterested, here are the build and sigpatches
 

Attachments

  • atmosphere-1.7.0-master-05fde7b76-dirty.zip
    4.1 MB · Views: 2
  • atmosphere-1.7.0-master-05fde7b76-Sigpatches.zip
    1.3 KB · Views: 3
  • Like
Reactions: RedColoredStars

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,339
Trophies
3
XP
12,182
Country
Poland
Dunno why loader ips patch works for you at all since it is a kip patch, and support for kip patches was removed with 1.7.0 release.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: You hater.