ROM Hack Question How do you properly extract a "main" file from base + update NSPs?

Lalapaloozer

Well-Known Member
OP
Newcomer
Joined
Jun 9, 2016
Messages
87
Trophies
0
XP
344
Country
United States
I've been trying to follow this guide https://www.programmersought.com/article/27343497412/ to make an updated version of cheats (and new cheats as well) for any game (currently for "The Long Dark). But I'm unsure of the right way to extract the "main" file using "NCA-NSP-XCI_TO_LayeredFS". What I did was

1. Use Lockpick_RCM to generate prod.keys + title.keys
2. Rename prod.keys to "keys.ini" (I feel like this might be the wrong step)
3. Run "NCA-NSP-XCI_TO_LayeredFS" and selected "2. eShop NSP" and then "2. NSP to LayeredFS" and then dragged and dropped the base version of TLD.
4. It gives me a bunch of "[WARN]: Failed to match key." warnings but eventually created a main file and other files.
5. Used HexWorkshop to open the "main" file but most of the decrypted strings are gibberish, although there are some relevant words that I'm able to find such as "Hunger" "Thirst" "Campfire" "Backpack" etc but I'm not sure which string points to their values so I'm unable to edit it, as the person in the guide does. The person in the guide also seems to have all the strings be fully readable so I'm not sure if thats just a difference between "The Long Dark" and Diablo 3".

I also used NSCB for similar results but I also receive gibberish in the "main" file although some of the strings are different near things like "Hunger" "Thirst" "Campfire" "Backpack".



I feel like maybe I didn't use the right keys to decrypt the NSP or I just did it incorrectly. If anyone has any pointers, that would be greatly appreciated!
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,324
Trophies
3
XP
12,159
Country
Poland
Main is correct. It seems you have 0 idea what is executable file. And this is something you won't understand with hex editor. For executables you need disassembler like IDA or Ghidra.

--------------------- MERGED ---------------------------

And you're using tutorial that relies on debug file while 99.9% games don't have it.
 
  • Like
Reactions: Lalapaloozer

Lalapaloozer

Well-Known Member
OP
Newcomer
Joined
Jun 9, 2016
Messages
87
Trophies
0
XP
344
Country
United States
You're absolutely correct, I'm a complete noob at this. I was using Hex Workshop just to read the strings but I had IDA open simultaneously, like the person in the tutorial did. I guess this is too advanced for me (for now). I'll stick with the old fashioned Edizon method then. Thanks for your reply.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    first of all, i don't watch those kinds of videos, and if i did i'd pull a verbalase 50k but with wizards and wario
    +1
  • BakerMan @ BakerMan:
    second of all, i don't even have a 3ds
  • BigOnYa @ BigOnYa:
    OnlyWizard&WarioFans.com
    +2
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +2
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
    ZeroT21 @ ZeroT21: I should visit Florida again, miss the alligator barbecues