I am trying to create an exeFS patch for Dark Souls Remastered. I extracted main from the NCAs and then converted it to an ELF with nx2elf.
The problem is, this ELF file is different from the ELF file produced by nsnsotool, hactool, or Ghidra. Which one of these produces the correct file? And do I need to add 0x100 to account for the NSO header?
The problem is, this ELF file is different from the ELF file produced by nsnsotool, hactool, or Ghidra. Which one of these produces the correct file? And do I need to add 0x100 to account for the NSO header?