More actions
(Created page with "{{Infobox Switch Homebrews |title=IPS Patch Creator |image=ipspatchcreatorswitch.png |description=A PC program to generate IPS Sig patches for the switch. |author=mrdude2478 |lastupdated=2023/03/18 |type=PC Utilities |version=1.5.6-5 |license=Unlicense |download=https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatorswitch.7z |website=https://gbatemp.net/threads/autoips-sig-patcher.574126/ |source=https://github.com/mrdude2478/IPS_Patch_Creator |donation= }} {{#seo: |t...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=IPS Patch Creator | |title=IPS Patch Creator | ||
|image= | |image=ipspatchcreatornx.png | ||
|description= | |description=AutoIPS sig Patcher. | ||
|author= | |author=mrdude | ||
|lastupdated=2023/ | |lastupdated=2023/10/25 | ||
|type=PC Utilities | |type=PC Utilities | ||
|version=1.5.6- | |version=1.5.6-6 | ||
|license= | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx.7z | ||
|website=https://gbatemp.net/threads/autoips-sig-patcher.574126/ | |website=https://gbatemp.net/threads/autoips-sig-patcher.574126/ | ||
|source=https://github.com/mrdude2478/IPS_Patch_Creator | |source=https://github.com/mrdude2478/IPS_Patch_Creator | ||
|donation= | |donation= | ||
}} | }} | ||
{{ | PC Homebrew for making your own Switch IPS patches. | ||
| | |||
| | ==User guide== | ||
| | ===Run the program for the first time=== | ||
| | At the first start of the program, you are welcomed with a few configurations. By now you can choose the defaults and press <code>Save</code> button. | ||
{ | This configurations are for future firmwares, more explanation on the [https://gbatemp.net/threads/info-on-sha-256-hashes-on-fs-patches.581550/post-9919742 post by MrDude]. | ||
After press <code>Save</code> you are asked to save the config, press yes to commit the config to disk. | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx2.png | |||
https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx3.png | |||
|} | |||
===Console encryption Keys=== | |||
The program require you to provide the encryption set of keys for the console. There are several ways to get them: | |||
*Using Lockpick_RCM or [https://nh-server.github.io/switch-guide/user_guide/emummc/making_emummc/ this guide]. | |||
*Inside the program on the <code>Help</code> > <code>Online Information</code>, there are a set of cypher URLs one of them is very useful. | |||
*Using web search. | |||
When you run the program without the needed keys, you can choose to generate a KEYS.DAT template on the tools sub-folder and fill in the values (or use the KeyData tab to write the values of your PROD.KEYS file). | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx4.png | |||
https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx5.png | |||
|} | |||
===How to use=== | |||
You can use the tabs <code>Loader</code>, <code>ES</code>, <code>ES2</code>, <code>FS</code> and <code>NFIM</code> to create the patches. | |||
On each tab there is a button named <code>Make Patch</code>, you can use the button to browse for the needed files or folder, also you can drag and drop to that button the files or folder from an explorer window. On each you can generate a different set of patches. | |||
====Loader patch==== | |||
On this tab you can generate the patches set for Atmosphère. Loader Patch are Required for: | |||
*Running NRO Forwarders and Installed homebrews. | |||
*Running Installed XCI games. | |||
Loader patch not required to: | |||
*Run (some) previously installed NSP (if valid tickets exist). | |||
*Run non installed homebrew. | |||
*Install NSP/XCI - (but will not run these if a valid ticket does not exist). | |||
In order to create the patches, you need to provide the path to fusee-secondary.bin or package3 file. Could be an [https://github.com/Atmosphere-NX/Atmosphere/releases official one] or [https://gbatemp.net/threads/building-atmosphere-on-windows-using-msys2.613446/ compiled by yourself]. | |||
Only Atmosphère 0.8.5 and newer are supported. | |||
The generated patches are on the folder<code> \atmosphere\kip_patches\loader_patches</code> and the file <code>\bootloader\patches.ini</code> relative to the folder where IPS Patch Creator is run. | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx6.png | |||
|} | |||
====ES & ES2 patch==== | |||
ES patches stand for Eticket Services. ES Patches are required to: | |||
*These are needed for run and install raw and untouched NSP files either dumped from Nintendo's CDN or someone's console. | |||
*ES patches are additionally needed to run pirated commercial NSPs. | |||
ES Patches are not required to: | |||
*Run installed XCI. | |||
*Run installed NRO forwarders. | |||
*Run homebrew. | |||
*Install XCI files. | |||
For creating the patches, you need to provide the path to the folder with the files of a firmware for console. | |||
Works only for firmware 9.0.1 and above. | |||
Both tabs generate the same sigpatches, using different algorithms, ES uses an algorithm what patches only on a spot, is traditionally know as "Alternate". | |||
ES2 uses the original algorithm which patches on three different spots. Both of them works the same and is up to you which one to use, is more a manner of preference because they are equivalent. | |||
The sigpatches are generated on the sub-folder <code>\atmosphere\exefs_patches\es_patches\</code> where the IPS Patch Creator is run. | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx7.png | |||
|} | |||
====FS patch==== | |||
FS is short for fs_nosigchk. FS Patches required to: | |||
*Run installed XCI/NRO forwarders, and will give a corruption error when trying to run the installed XCI or NRO forwarder if no fs patches are applied or are wrong (you will also need to reinstall the game or nro forwarder if this happens). | |||
*The FS patches allow the usage of converted NSP files, such as homebrew on NSP files or converted XCI files. | |||
*FS patches are required to install/run NSP and XCI (without needing to convert the header) files. | |||
Fs Patches not required to: | |||
*Run installed NSP files with valid tickets. | |||
*Run Homebrew. | |||
*Install NSP/XCI - (with a valid header). | |||
Only firmware 9.0.1 and above is supported. | |||
The generated IPS files are on the sub-folder <code>\atmosphere\kip_patches\fs_patches</code> and the file <code>\bootloader\patches.ini</code>. | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx8.png | |||
|} | |||
====NFIM patch==== | |||
The NFIM patches, know as nfim_ctest, where <code>ctest</code> is short for Connection Test, are patches for skip the internet connection test, So you can play on a LAN without being online. | |||
All current firmware versions are supported. | |||
The patches are generated on the sub-folder <code>\atmosphere\exefs_patches\nfim_ctest\</code>. | |||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"| | |||
! ▼ Images | |||
|- | |||
|https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx9.png | |||
|} | |||
== | ===How to add the patches=== | ||
Once all the patches you want are generated, you can copy the folders atmosphere and bootloader to the root of your SD Card. | |||
Check out the discussion threads to learn more about the process: | |||
* [https://gbatemp.net/threads/info-on-sha-256-hashes-on-fs-patches.581550/ Info on SHA-256 hashes on FS patches]. | |||
* [https://gbatemp.net/threads/how-to-create-your-own-sigpatches.616288/ Sigpatch IPS Creator guide] written by impeeza. | |||
==Screenshots== | ==Screenshots== | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/ipspatchcreatornx.png | ||
==Changelog== | ==Changelog== | ||
''' | '''v1.5.6-6 2023/10/25''' | ||
* | *Updated for FW 17.0.0. | ||
'''v1.5.6-5 2023/03/18''' | |||
*Skip exfat FS patch creation, clean up exctracted FS files if patch creation fails. | |||
'''v1.5.6-4 2023/02/23''' | |||
*Updated for FW16.0.0. | |||
'''v1.5.6-3 2022/10/30''' | |||
*Added wildcard search stuff, fixed broken stuff, changed wildcard patches. | |||
'''v1.5.6-2 2022/10/18''' | |||
*Error checks added to warn the user if decryption fails, that the keys may need updated. | |||
'''v1.5.6 2022/10/17''' | |||
*Added patch info to console screens. | |||
*Added a backup online information url to use if pastebin is not working. | |||
*Patches updated for firmware 15. | |||
*Wildcard database updated. | |||
*ES2 IPS Creation error checks added. | |||
*Don't append patches.ini if FS offset search failed. | |||
'''v1.5.4 2022/08/30''' | |||
*Bug fixes + error checks added. | |||
*EDIT - Silent update, shows error if keys.dat has the wrong keys (can't decrypt the firmware). | |||
'''v1.5.3-2 2022/08/28''' | |||
*SigPatch IPS Patch Creator for generating IPS patches for those that need them. | |||
*This is the first release, so ignore the version number. Thanks for all the testers on GBATemp, and a Big Fuck YOU! to Ninty. If you mess with people's repo's which contained stuff that didn't contain any Ninty code, expect people to push back. | |||
*EDIT: Re-uploaded to fix bug in WCO FS & NFIM patches. Added patches.ini creation and ftp append patches.ini file. | |||
==Credits== | |||
Thanks to the following (In no particular order): | |||
*Crckd - for hash and decryption information. | |||
*ShadowOne333 - for algo information. | |||
*DarkMatterCore - for technical NCA information. | |||
*Unknown hacker - for bitshifting information. | |||
*Impeeza - for testing. | |||
*LyuboA - for testing. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/mrdude2478/IPS_Patch_Creator | ||
* | * GBAtemp - https://gbatemp.net/threads/autoips-sig-patcher.574126/ | ||
* IPS Patch Creator guide - https://gbatemp.net/threads/how-to-create-your-own-sigpatches.616288/ |
Latest revision as of 00:55, 25 October 2023
IPS Patch Creator | |
---|---|
General | |
Author | mrdude |
Type | PC Utilities |
Version | 1.5.6-6 |
License | Mixed |
Last Updated | 2023/10/25 |
Links | |
Download | |
Website | |
Source | |
PC Homebrew for making your own Switch IPS patches.
User guide
Run the program for the first time
At the first start of the program, you are welcomed with a few configurations. By now you can choose the defaults and press Save
button.
This configurations are for future firmwares, more explanation on the post by MrDude.
After press Save
you are asked to save the config, press yes to commit the config to disk.
▼ Images |
---|
|
Console encryption Keys
The program require you to provide the encryption set of keys for the console. There are several ways to get them:
- Using Lockpick_RCM or this guide.
- Inside the program on the
Help
>Online Information
, there are a set of cypher URLs one of them is very useful. - Using web search.
When you run the program without the needed keys, you can choose to generate a KEYS.DAT template on the tools sub-folder and fill in the values (or use the KeyData tab to write the values of your PROD.KEYS file).
▼ Images |
---|
|
How to use
You can use the tabs Loader
, ES
, ES2
, FS
and NFIM
to create the patches.
On each tab there is a button named Make Patch
, you can use the button to browse for the needed files or folder, also you can drag and drop to that button the files or folder from an explorer window. On each you can generate a different set of patches.
Loader patch
On this tab you can generate the patches set for Atmosphère. Loader Patch are Required for:
- Running NRO Forwarders and Installed homebrews.
- Running Installed XCI games.
Loader patch not required to:
- Run (some) previously installed NSP (if valid tickets exist).
- Run non installed homebrew.
- Install NSP/XCI - (but will not run these if a valid ticket does not exist).
In order to create the patches, you need to provide the path to fusee-secondary.bin or package3 file. Could be an official one or compiled by yourself.
Only Atmosphère 0.8.5 and newer are supported.
The generated patches are on the folder \atmosphere\kip_patches\loader_patches
and the file \bootloader\patches.ini
relative to the folder where IPS Patch Creator is run.
▼ Images |
---|
ES & ES2 patch
ES patches stand for Eticket Services. ES Patches are required to:
- These are needed for run and install raw and untouched NSP files either dumped from Nintendo's CDN or someone's console.
- ES patches are additionally needed to run pirated commercial NSPs.
ES Patches are not required to:
- Run installed XCI.
- Run installed NRO forwarders.
- Run homebrew.
- Install XCI files.
For creating the patches, you need to provide the path to the folder with the files of a firmware for console. Works only for firmware 9.0.1 and above.
Both tabs generate the same sigpatches, using different algorithms, ES uses an algorithm what patches only on a spot, is traditionally know as "Alternate".
ES2 uses the original algorithm which patches on three different spots. Both of them works the same and is up to you which one to use, is more a manner of preference because they are equivalent.
The sigpatches are generated on the sub-folder \atmosphere\exefs_patches\es_patches\
where the IPS Patch Creator is run.
▼ Images |
---|
FS patch
FS is short for fs_nosigchk. FS Patches required to:
- Run installed XCI/NRO forwarders, and will give a corruption error when trying to run the installed XCI or NRO forwarder if no fs patches are applied or are wrong (you will also need to reinstall the game or nro forwarder if this happens).
- The FS patches allow the usage of converted NSP files, such as homebrew on NSP files or converted XCI files.
- FS patches are required to install/run NSP and XCI (without needing to convert the header) files.
Fs Patches not required to:
- Run installed NSP files with valid tickets.
- Run Homebrew.
- Install NSP/XCI - (with a valid header).
Only firmware 9.0.1 and above is supported.
The generated IPS files are on the sub-folder \atmosphere\kip_patches\fs_patches
and the file \bootloader\patches.ini
.
▼ Images |
---|
NFIM patch
The NFIM patches, know as nfim_ctest, where ctest
is short for Connection Test, are patches for skip the internet connection test, So you can play on a LAN without being online.
All current firmware versions are supported.
The patches are generated on the sub-folder \atmosphere\exefs_patches\nfim_ctest\
.
▼ Images |
---|
How to add the patches
Once all the patches you want are generated, you can copy the folders atmosphere and bootloader to the root of your SD Card.
Check out the discussion threads to learn more about the process:
- Info on SHA-256 hashes on FS patches.
- Sigpatch IPS Creator guide written by impeeza.
Screenshots
Changelog
v1.5.6-6 2023/10/25
- Updated for FW 17.0.0.
v1.5.6-5 2023/03/18
- Skip exfat FS patch creation, clean up exctracted FS files if patch creation fails.
v1.5.6-4 2023/02/23
- Updated for FW16.0.0.
v1.5.6-3 2022/10/30
- Added wildcard search stuff, fixed broken stuff, changed wildcard patches.
v1.5.6-2 2022/10/18
- Error checks added to warn the user if decryption fails, that the keys may need updated.
v1.5.6 2022/10/17
- Added patch info to console screens.
- Added a backup online information url to use if pastebin is not working.
- Patches updated for firmware 15.
- Wildcard database updated.
- ES2 IPS Creation error checks added.
- Don't append patches.ini if FS offset search failed.
v1.5.4 2022/08/30
- Bug fixes + error checks added.
- EDIT - Silent update, shows error if keys.dat has the wrong keys (can't decrypt the firmware).
v1.5.3-2 2022/08/28
- SigPatch IPS Patch Creator for generating IPS patches for those that need them.
- This is the first release, so ignore the version number. Thanks for all the testers on GBATemp, and a Big Fuck YOU! to Ninty. If you mess with people's repo's which contained stuff that didn't contain any Ninty code, expect people to push back.
- EDIT: Re-uploaded to fix bug in WCO FS & NFIM patches. Added patches.ini creation and ftp append patches.ini file.
Credits
Thanks to the following (In no particular order):
- Crckd - for hash and decryption information.
- ShadowOne333 - for algo information.
- DarkMatterCore - for technical NCA information.
- Unknown hacker - for bitshifting information.
- Impeeza - for testing.
- LyuboA - for testing.
External links
- GitHub - https://github.com/mrdude2478/IPS_Patch_Creator
- GBAtemp - https://gbatemp.net/threads/autoips-sig-patcher.574126/
- IPS Patch Creator guide - https://gbatemp.net/threads/how-to-create-your-own-sigpatches.616288/