Jump to content

Decrypting and repacking .narc files?


Recommended Posts

A few questions:

Does thenewpoketext only unpack and repack the .msg file? Didn't came with a manual, I pretty much just used common sense and fiddled around with it.

When decrypted, I can simply edit the contents, then repack it like a normal text file, yes?

Also, if thenewpoketext only does the above, how do you decrypt and repack a .narc file?

Link to comment
Share on other sites

I had that tool for a while now, however it doesn't quite work for DPP as narctool cannot unpack them, not even narctool p1 could.

I can't edit the contents of the .narc as I do not know the contents, that's the main problem, if I knew, it would be extremely simple.

Edit: I see text such as:

NARCþÿ \, BTAFÄ × 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð

0

0

@

@

P

P

`

`

p

p





*

*

°

°

À

À

Ð

Ð

à

à

ð

ð

0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð

0

0

@

@

P

P

`

`

p

p





*

*

°

°

À

À

Ð

Ð

à

à

ð

ð

0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €   * * ° ° À À Ð Ð à à ð ð 0 0 @ @ P P ` ` p p € €

So I assume it's an encryption, even the hex makes no sense.

Edited by Poryhack
Put long code like this in spoilers please.
Link to comment
Share on other sites

Per'aps it's not the .narcs that are encrypted, but the files within.

I mean, the sprites are encrypted, right? Why not apply the same decryption to an individual file as PokeDSPic does, both the normal that D/P use and the "backwards" one PL does, and see if that gets you anything?

Or am I just spouting nonsense here? It's quite possible, I don't have much experience at all in this sort of thing :b

Edit: it just occured to me that PokeDSPic opens .narcs, not individual files like I for some reason had in my head that it did. Disregard the above, I'm an idiot :v

Link to comment
Share on other sites

First of all narc files are not encrypted.

They have a header then a table of begin and end offsets.

These offsets are with respect to the end of the size of the the GMIF section.

P.S. you have to be patient.

Also can you repost what you had.

Also it would be a great help if you can give an outline of what each byte stands from between the beginning and end of each file in the GMIF section.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...