Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Shrek Forever After .PCK/.BNK

Featured Replies

  • Author
  • Localization

id-daemon, posted Wed Aug 10, 2016 3:27 pm (16360)


I must add that these numbers are actually hashes of wwise audio event names. Wwise can't work without them, so usually if you find audio event names, something like "shrek_hits_wall_by_his_head", you can calculate its hash and find the audio file in BNK or PCK file. These names will usually be in other game files, like I said. And I'm not talking about SoundBanksInfo.xml, these names can be in actual game files, like maps, levels, scripts etc.
  • Replies 51
  • Views 10
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

lorenzo, posted Wed Aug 10, 2016 6:02 pm (16363)


aluigi how then do to get the names of the .wav file pck file? example 0000038c.wav to shrek_hits_wall_by_his_head.wav is just one example
  • Author
  • Localization

aluigi, posted Wed Aug 10, 2016 6:37 pm (16366)


A quick technical explanation: when an archive doesn't contain the original filenames, it means it uses name hashes (you can call them also CRC and checksum, same stuff). Basically a 32 or 64bit number representing a sort of signature of the name instead of the name itself.
In these situations, if filenames are really necessary, a solution is building a list of ALL the original filenames and then calculating the hash and checking it with the one of each file entry in the archive. That's what the NameCRC command of quickbms does.
What's the problem of this solution? Obviously the problem is building, collecting or generating the list of original filenames, and in less part also finding the algorithm used to calculate the hash (my crc scanner may help in this step).
Back to your question, if someone (*NOT ME*) has desire and abilities to build the list of names then there are some chances of assigning the names to the files.
  • Author
  • Localization

id-daemon, posted Wed Aug 10, 2016 6:52 pm (16367)


if someone (*NOT ME*) has desire and abilities to build the list of names, i can tell that wwise always use the same hash, and it is standard FNV1
  • Author
  • Localization

AnonBaiter, posted Wed Aug 10, 2016 8:15 pm (16374)


Honestly, I'd rather have 32-bit/64-bit numbers as output filenames instead of the actual names.
However, if someone has desire and abilities to build the list of names then I'll do it. Just give me the files necessary for the task.

Meanwhile, here's the modified armyoftwo.bms script. I've kept the header description untouched.

armyoftwo.rar

  • Author
  • Localization

lorenzo, posted Wed Aug 10, 2016 8:49 pm (16377)


AnonBaiter some help from you? I really want to get the real names of the output wav files from pck file is that I know not build a list of names and speaking on the subject which is the necessary files for this task ? I have on my computer only shrek_akpk.bms script and streaming_eng.pck file and quickbms if you can help I would be grateful thanks for attention

Image
  • Author
  • Localization

AnonBaiter, posted Wed Aug 10, 2016 8:50 pm (16378)


"and speaking on the subject which is the necessary files for this task ?"
The file in which the names are stored, of course.
Oh yeah, I want to ask a question for more experienced people here: how can I calculate the hash?
  • Author
  • Localization

lorenzo, posted Wed Aug 10, 2016 9:05 pm (16379)


?
  • Author
  • Localization

lorenzo, posted Wed Aug 10, 2016 9:15 pm (16380)


some help from aluigi?
  • Author
  • Localization

AnonBaiter, posted Wed Aug 10, 2016 11:58 pm (16382)


It's like you didn't even understand what aluigi or id-daemon has even said.

Let's just get to the point: you choose me to help you, but I'll ask something in return. In that case, it's you who should be helping me.
Go grab a hex editor program(mine is HxD),look through the files and see if you find any evidence of the names. The hash situation comes later.
  • Author
  • Localization

lorenzo, posted Thu Aug 11, 2016 12:30 am (16383)


you are wrong it seems that you do not know what I said that you have to help me and I do not now and I still comes from that you should be helping me your boring hahahahahahahahaha and not ever repeat what you said listening? each of which appears to m
  • Author
  • Localization

AnonBaiter, posted Thu Aug 11, 2016 12:38 am (16384)


What do I mean is that we should help each other, but then I might be contradicting myself here.
I don't have the game so I need to know what are these files, what do they contain, etc.
If nothing else then I might obtain the game by myself. So let me start with this question: which version of the game(PC, PS3, XBOX360, Wii, DS, iOS) do these files came from?

Oh yeah, and you cut off your own sentence before you could finish it. Take your time to actually read and see if you didn't miss anything before clicking on "Submit".
  • Author
  • Localization

lorenzo, posted Thu Aug 11, 2016 12:13 pm (16391)


yes i have the game shrek forever after pc as you know streaming_eng.pck file contains all wav files used in the game then answer me a good answer
  • Author
  • Localization

AnonBaiter, posted Thu Aug 11, 2016 1:15 pm (16393)


It's decided then. I'll go get the game, but I won't make any promises.
But for now I'll just grab the sample.
  • Author
  • Localization

id-daemon, posted Thu Aug 11, 2016 6:04 pm (16398)


AnonBaiter wrote:
how can I calculate the hash?


its in wikipedia: FNV hash
  • Author
  • Localization

AnonBaiter, posted Thu Aug 11, 2016 8:26 pm (16403)


That's what I'm talking about, id-daemon. I'll be giving it a try sometime with an .bnk archive I have.
I need to prioritize my stuff sometimes.
  • Author
  • Localization

rkthelegend, posted Wed Jul 04, 2018 2:21 pm (36461)


aluigi wrote:
http://aluigi.org/bms/armyoftwo.bms
http://aluigi.org/bms/shrek_akpk.bms


Mr Luigi these two scripts doesn't work with bnk file that i have so ill upload the link of file please see it once and update the script for it or at least make a script for it .
The file is from score hero game for android.

So here is thedownload link

https://mega.nz/#!eTYCBISZ!Xcv8XOevNQAg ... ODm_3rBtD8
  • Author
  • Localization

aluigi, posted Thu Jul 05, 2018 5:20 pm (36518)


???
  • Author
  • Localization

rkthelegend, posted Mon Jul 09, 2018 11:38 am (36614)


aluigi wrote:
???


Sorry mr Luigi it was my fault.
I got the script and it worked fine.

Thank you very much

You are best
  • Author
  • Localization

rkthelegend, posted Wed Jul 11, 2018 11:27 am (36684)


aluigi wrote:
http://aluigi.org/bms/score_hero_bnk.bms


Master Luigi. I cam back with another quistion regarding .pak and .ftc from a game so i need to unpack them so it will be possible if you help me.
Im attaching the file, if possible just give me a script to unpack them.

The ling from mega is here
https://mega.nz/#!OfxXhbBL!hJsKH539P9dw ... xiiKrKUrO8


And another archive is here.

https://mega.nz/#!OfxXhbBL!hJsKH539P9dw ... xiiKrKUrO8

Help me please. I needed
  • Author
  • Localization

aluigi, posted Fri Jul 13, 2018 9:56 pm (36721)


rkthelegend wrote:
... from a game

If it's a game different than Shrek Forever or different than the PCK/BNK format, you are off-topic.
Anyway there is already a script for that format:
http://aluigi.org/bms/nfshp2010wii.bms

Next time open a new topic and specify the name of the game.
  • Author
  • Localization

lorenzo, posted Tue Apr 07, 2020 4:30 pm (55608)


Hello, I'm getting an error after the end of extracting the file streaming_eng.pck from the game shrek forever after for pc from the script shrek_akpk.bms.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.