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.

(The For Honor) AKPK .pck

Featured Replies

  • Author
  • Localization

GHOST DEAD, posted Sun Jul 01, 2018 5:30 am (36330)


hello alugi...

i got another .pck file, but header is different then other AKPK files

can you help me to extract for get audio and reimport?
thank you for all

Note: this is not a complete file, i cut the file for get smaller and faster for download
  • Author
  • Localization

aluigi, posted Mon Jul 02, 2018 3:59 am (36348)


Script updated:
http://aluigi.org/bms/akpk_avengers.bms

Probably in future I have to update the other akpk scripts because there are 2 important fields not covered yet (they are covered in this script)
  • Author
  • Localization

GHOST DEAD, posted Mon Jul 02, 2018 5:20 am (36360)


GHOST DEAD wrote:
aluigi wrote:
Script updated:
http://aluigi.org/bms/akpk_avengers.bms

Probably in future I have to update the other akpk scripts because there are 2 important fields not covered yet (they are covered in this script)


you should Update Paladins_akpk.bms... and UFC_2010

just this two scripts can help in unpack and repack as well :)
Thank You, You great!

and another thing, most of files has Hash_code (If package does't have name for files)
and i wonder why this script export those file as count_numbers? i think this is a problem from the Scripts or not...

need update to get hash_Code as name, too...

again, thanks
  • Author
  • Localization

aluigi, posted Mon Jul 02, 2018 10:01 pm (36377)


Both paladins and ufc are super extremely simple scripts. They can't be update.
  • Author
  • Localization

GHOST DEAD, posted Tue Jul 03, 2018 2:43 am (36385)


aluigi wrote:
Both paladins and ufc are super extremely simple scripts. They can't be update.

right :)

but i say, script will extrct file without name
pck file's does'nt have any name, but they have hash Codes
can you fix this script to set file name's as hash codes? (you can find it, in header)
  • Author
  • Localization

aluigi, posted Tue Jul 03, 2018 9:44 pm (36404)


I don't remember to have seen any filename or hash, the format doesn't use them.
If there are only hash/crc you cannot guess the original filename.
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 2:44 am (36424)


aluigi wrote:
I don't remember to have seen any filename or hash, the format doesn't use them.
If there are only hash/crc you cannot guess the original filename.


yeah... i can find dictionary For name file's in bank files... so, this is not a problem...
can you just check those header?

i'm sure, Like i said, pck file's doesn't have any name, but they have hash code...
and i want to replace Music Files, and i really don't know what i'm doing or which file i have to replace to change music for main Menu

Every Pck Files Has a hash (not CRC)
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 3:11 am (36427)


I Found it...
now look at this,
Image
For paladins_akpk.bms
it's a small File

Real Hash Code's that i get in game Code's
Code:
1d3c4ca2
2ae82475
652fd529
385acc03
0fff7f30
0fcab994
67355bf7
757be63b
099225c4
260ccbe2
2a463bc7
3a5491db
4b542da0


And its a Big Endian, i think so... :D
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 3:23 am (36432)


Ah right I was thinking to another format... even in my scripts it's written "name hash" :)

Anyway who cares, as I already said you can't get the original name from the hash.
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 3:28 am (36433)


aluigi wrote:
Ah right I was thinking to another format... even in my scripts it's written "name hash" :)

Anyway who cares, as I already said you can't get the original name from the hash.


any game has a Dictionary to get file's... can you fix that? Please... i need it to konw

i can find those names...
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 3:29 am (36434)


and i already have those name's :D
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 3:35 am (36435)


If you have the exact names as expected by the hashing function, and you have the exact hashing function then you may able to use the Namecrc instruction of quickbms.
It's not complex but it's necessary to have all the exact information and finding the corresponding crc settings in quickbms, if available (usually yes)
So the question is: do you have one exact hash and the exact corresponding name?

P.S.: with exact I mean even the case like all capital or all lower, just same byte per byte
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 3:54 am (36437)


aluigi wrote:
If you have the exact names as expected by the hashing function, and you have the exact hashing function then you may able to use the Namecrc instruction of quickbms.
It's not complex but it's necessary to have all the exact information and finding the corresponding crc settings in quickbms, if available (usually yes)
So the question is: do you have one exact hash and the exact corresponding name?

P.S.: with exact I mean even the case like all capital or all lower, just same byte per byte


Quote:
So the question is: do you have one exact hash and the exact corresponding name?

Yes

Code:
1d3c4ca2=Act_E1_1A_CliffFuture_VoiceOver_Max_010
2ae82475=Act_E1_1A_CliffFuture_VoiceOver_Max_020
652fd529=Act_E1_1A_CliffFuture_VoiceOver_Max_030
385acc03=Act_E1_1A_CliffFuture_VoiceOver_Max_040
0fff7f30=Act_E1_1A_CliffFuture_VoiceOver_Max_050
0fcab994=Cue_E1_1A_CliffFuture_IntroStorm_Max_010
67355bf7=Cue_E1_1A_CliffFuture_IntroStorm_Max_020
757be63b=Cue_E1_1A_CliffFuture_IntroStorm_Max_030
099225c4=Cue_E1_1A_CliffFuture_LighthouseBreak_Max_010
260ccbe2=Cue_E1_1A_CliffFuture_LighthouseBreak_Max_030
2a463bc7=Cue_E1_1A_CliffFuture_LighthouseBreak_Max_040
3a5491db=Cue_E1_1A_CliffFuture_MaxFall_Max_010
4b542da0=Cue_E1_1A_CliffFuture_MaxFall_Max_020

note: not match, but i tested in game and works,

can You updata script? ( paladins_akpk.bms and ufc2010) and alsoakpk_avengers.bms

First of first paladins_akpk.bms

please ;) i know... like is said, i have those name
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 4:10 am (36438)


Tried crc_scan.bms on the first name "as-is", lower case and upper case and none of the results gave 1d3c4ca2.

I told you, everything must be exact and the algorithm must be known and available in quickbms otherwise you can do nothing.
Hope you understand if I don't waste other time on this topic :)
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 4:33 am (36441)


aluigi wrote:
Tried crc_scan.bms on the first name "as-is", lower case and upper case and none of the results gave 1d3c4ca2.

I told you, everything must be exact and the algorithm must be known and available in quickbms otherwise you can do nothing.
Hope you understand if I don't waste other time on this topic :)


I told you... this is not a match name

i take this name's from game code's and it's not a real hash... it's just a dictionary in every pck file

Game Developers did it for security to game editors will not understand what they did...
not as a hash or CRC in ClipBoard... just a protocol for keep name's safe and better (Just about security)

like I said, any game has a dictionary... and this is not a real hash, it's just an dictionary to just know which file you already working on it... just that... nothing less or more

now... can you just update script to get those Hash as an name? please :roll:
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 5:00 am (36442)


Do you mean that all you need is having the extracted file called "1d3c4ca2"?

If that's all, you can edit ufc2010_soundpck.bms and before the "log" operation using:
string NAME p "x" CRC
then replace the "" in log with NAME:
log NAME OFFSET SIZE

paladins_akpk.bms is not compatible, it uses a completely different way to find the entries of each file.

In akpk_avengers.bms you can do the same as ufc2010 but first you have to replace the DUMMY at line 60 with CRC.
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 5:55 am (36446)


aluigi wrote:
Do you mean that all you need is having the extracted file called "1d3c4ca2"?

If that's all, you can edit ufc2010_soundpck.bms and before the "log" operation using:
string NAME p "x" CRC
then replace the "" in log with NAME:
log NAME OFFSET SIZE

paladins_akpk.bms is not compatible, it uses a completely different way to find the entries of each file.

In akpk_avengers.bms you can do the same as ufc2010 but first you have to replace the DUMMY at line 60 with CRC.


Yeah........ Solved!
one more time! thank's! :D
  • Author
  • Localization

GHOST DEAD, posted Wed Jul 04, 2018 6:00 am (36447)


GHOST DEAD wrote:
aluigi wrote:
Do you mean that all you need is having the extracted file called "1d3c4ca2"?

If that's all, you can edit ufc2010_soundpck.bms and before the "log" operation using:
string NAME p "x" CRC
then replace the "" in log with NAME:
log NAME OFFSET SIZE

paladins_akpk.bms is not compatible, it uses a completely different way to find the entries of each file.

In akpk_avengers.bms you can do the same as ufc2010 but first you have to replace the DUMMY at line 60 with CRC.


Yeah........ Solved!
one more time! thank's! :D


and how can i do this on armyoftwo.bms ? for both .bnk file and .pck file? and it's Finally will be over
  • Author
  • Localization

aluigi, posted Wed Jul 04, 2018 7:39 am (36450)


armyoftwo is a different things because there are 4 different Log operations, 2 have a CRC field, one has two DUMMY fields (don't know what's the one with filename hash) and one has a NAME_CRC.

Probably you can use something like the following before each Log instruction plus the usual "" -> NAME replacement:
string NAME p "x_1" CRC
string NAME p "x_2" CRC
string NAME p "x" DUMMY (it's up to you to choose if the first or second DUMMY)
string NAME p "x" NAME_CRC
  • Author
  • Localization

GHOST DEAD, posted Thu Jul 05, 2018 2:05 am (36486)


aluigi wrote:
armyoftwo is a different things because there are 4 different Log operations, 2 have a CRC field, one has two DUMMY fields (don't know what's the one with filename hash) and one has a NAME_CRC.

Probably you can use something like the following before each Log instruction plus the usual "" -> NAME replacement:
string NAME p "x_1" CRC
string NAME p "x_2" CRC
string NAME p "x" DUMMY (it's up to you to choose if the first or second DUMMY)
string NAME p "x" NAME_CRC


i get CRC name's!
That what i talked about, thanks... and game works with those name's, but they wasn't :| but game will work!

Finaly Solved!

Thank You Aluigi! :)
  • Author
  • Localization

aluigi, posted Thu Jul 05, 2018 4:35 am (36495)


Great, misunderstandings are quite common with this stuff, sometimes people want full names from an hash while other times just the hash :D
  • Author
  • Localization

GHOST DEAD, posted Fri Jul 06, 2018 2:39 am (36531)


aluigi wrote:
Great, misunderstandings are quite common with this stuff, sometimes people want full names from an hash while other times just the hash :D


and sometime's, hash name's are not match, not always... ;)
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.