ROM Hack Question Applying ips patch to nsp

  • Thread starter Thread starter duckbill007
  • Start date Start date
  • Views Views 7,663
  • Replies Replies 8

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
1,023
Reaction score
922
Trophies
1
XP
3,785
Country
Russia
Hi!

I know that i can just put ips into exefs_patches to aplly it on the fly, but my question not about this.

I want to integrate translation into nsp, so it will be one installable file.
Integration patches/romfs is easy. I do understand how to unpack nca/apply update/replace romfs files.

My question is - what to do with IPS?

I do understand that it is applied to some NSO.

What are my steps?
1. extract exefs from program nca
2. what tool should I use to apply IPS? Is LunarIPS good for this?
3. what file should this ips be applied?
 
To apply patch to main you need to decompress it, patch and compress again. Only known option for me is to convert nso to elf, patch it abnd use elf2nso to get it back to nso
 
Last edited by masagrator,
Patch created against uncompressed nso, not elf, so elf is no way.

Also I found nsnsotool that do compress/decompress nso.
Thank you.
Problem solved
 
Patch created against uncompressed nso, not elf, so elf is no way.

Also I found nsnsotool that do compress/decompress nso.
Thank you.
Problem solved
Is it possible for you to say all the programs you used? or leave a small tutorial? wanted to apply an ips patch on an nsp
 
Is it possible for you to say all the programs you used? or leave a small tutorial? wanted to apply an ips patch on an nsp
When you know how to generate ips, you can know what to do.
Throw your “exefs/main” into ida to check the offset.
Post automatically merged:

The author of ips also should not want to use it to directly patched and generate an exefs,With greater legal risks.
 
Last edited by ruje0504,

Site & Scene News

Popular threads in this forum