ROM Hack Question Applying ips patch to nsp

duckbill007

Well-Known Member
OP
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,471
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?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,270
Trophies
3
XP
12,037
Country
Poland
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,

duckbill007

Well-Known Member
OP
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,471
Country
Russia
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
 

harkyzs

New Member
Newbie
Joined
Jan 20, 2023
Messages
1
Trophies
0
Age
24
XP
12
Country
Brazil
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
 

ruje0504

Member
Newcomer
Joined
Aug 25, 2022
Messages
9
Trophies
0
Age
32
Location
abcdghj
XP
127
Country
Algeria
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

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: This movie rip so werid has 1080p quality but the audios ripped with movie theater audio quality