Atmosphere-NX / Atmosphere

Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.
GNU General Public License v2.0
15.03k stars 1.25k forks source link

IPS patch alternative beyond the 24-bit address limit #2193

Closed mrdude2478 closed 1 year ago

mrdude2478 commented 1 year ago

Feature Request:

IPS patch alternative beyond the 24-bit address limit.

What feature are you suggesting?

Increased IPS Patch address patching.

Overview:

Currenly IPS patch addresses are limited to 24 bit addresses, if for example to patch a file at an address higher that this address we cannot do this with an IPS patch and need to use a program such as SaltyNX instead. Or patch the file and place it on the sd card in the contents folder.

Nature of Request:

A new format of IPS patch (but similar) that allows to patch higher than the 24bit address limit.

What component do you feel this would best fit within?

Not sure which part of Atmosphere deals with IPS patching.

Why would this feature be useful?

It can be used to create small patch files to patch out checks for internet connections, game mods etc. This elimates the need for extra program to be installed which might not work in future updates, and eliminates to need to install large files to the sd card.

SciresM commented 1 year ago

Atmosphere already supports IPS32.

mrdude2478 commented 1 year ago

Atmosphere already supports IPS32.

Thanks, can you provide and example (or links) so I can see the format for the IPS file please.

SciresM commented 1 year ago

IPS32 is just IPS, with the following difference:

Consider e.g. using https://github.com/leoetlino/sips

mrdude2478 commented 1 year ago

Quake II [010048F0195E8000] Online Checks IPS.zip Thanks. I never realised this was a thing, it's difficult to find info about it with google. I figured it out so I'll post an example here for others that are trying to see the differences between IPS and IPS32.