hacpack and basenca/romfs

KurosuDesu

New Member
OP
Newbie
Joined
Feb 12, 2024
Messages
3
Trophies
0
Age
54
XP
25
Country
France
I am trying to recreate with hacpack an update NSP file ("patch romfs" according to hactool) using either of the basenca/baseromfs options, without success. I suspect the BKTR section remains incorrect.

hacpack rebuilds a regular (base) NSP from its NCA files in a way that is succesfull to an emulator (but obviously not a Switch). And by fail, it is eg LibHac.Tools.FsSystem.NcaUtils.Nca.OpenRawStorageWithPatch throwing a failure.

All were basically extracted with nstool (not sure the basenca is useful here but specified it) and modified to plaintext by hactool.

I've tried using as base NCA the extracted cyphered version as well as its plaintext version, and for baseromfs "hactool --raw --romfs=rom" from these 2 versions as well, and no success.

Maybe I failed one of these tests, but has anyone an idea how I'm using wrong nstool/hacinfo/hacpack, or what would be the correct workflow.

I'm wondering if the BKTR section couldn't be kept verbatim, or it is just a matter to specify an offset corresponding to the (program NCA in the) rebuilt base NSP.
 
Last edited by KurosuDesu,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I was listening to the Ice T Iceberg CD other day, good stuff
  • mthrnite @ mthrnite:
    i concur
  • mthrnite @ mthrnite:
    power is my fave tho, masterpiece
    +1
  • K3Nv2 @ K3Nv2:
    Still waiting on that new ll album
  • mthrnite @ mthrnite:
    steve miller band got me into rock from folk and country
  • mthrnite @ mthrnite:
    fly like an eagle
  • BigOnYa @ BigOnYa:
    You guys ever heard of group out of detroit called "Top Authority"? They were good too.
  • K3Nv2 @ K3Nv2:
    Guess this is the power of genres they make you talk about other artists
  • Xdqwerty @ Xdqwerty:
    What are you guys talking about?
  • BigOnYa @ BigOnYa:
    Hamsters
    +2
  • K3Nv2 @ K3Nv2:
    People that do drugs
  • mthrnite @ mthrnite:
    I been listening to a f-ton of jrock and jpop lately
  • mthrnite @ mthrnite:
    mainly a lot of go!go! and cibo matto
  • mthrnite @ mthrnite:
    and old ass prog like atomic rooster and gentle giant
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Lil' hamster yawn
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, Big hamster yawn
    +1
  • K3Nv2 @ K3Nv2:
    Stop stealing his sayings
    +2
  • K3Nv2 @ K3Nv2:
    Yawn
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, svebe
  • K3Nv2 @ K3Nv2:
    Sometimes when I poop I just think that's it?
  • BigOnYa @ BigOnYa:
    The worst is when its a dry poop, then you spend 20 minutes and ha!f a roll of TP wiping. Its like wiping TP over a magic marker, just won't stop showing.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, or diarrhea
    +2
    AncientBoi @ AncientBoi: :shit: is :shit: +1