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.

Lords of the fallen .pkg

Featured Replies

  • Author
  • Localization

Ekey, posted Wed Oct 29, 2014 12:11 pm (1350)


Here quick script. No names. Some files compressed by LZ4 and have additional header with size's of chunks.

Code:
# Lords Of The Fallen (PKG format)
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

goto 0x498

do
   get DUMMY long
   get OFFSET long
   get NULL long
   get SIZE long
   get SIZED long
   get HASH long
   log "" OFFSET SIZE
while OFFSET != 0
  • Author
  • Localization

spider91, posted Wed Oct 29, 2014 1:00 pm (1351)


Thanks. And what about compressed files? Is there a way do decompress/unpack them?
  • Author
  • Localization

Ekey, posted Wed Oct 29, 2014 1:51 pm (1352)


I'll look it later if Luigi will help ;). I see function function for decompress chunks HANDLE Fledge::Core::ResourcePackageBundled::ms_DecompressChunkSemaphores. I guess it's not standard function from LZ4 library. Or is there such a function? I have a old version LZ4 library :)
  • Author
  • Localization

Ekey, posted Thu Oct 30, 2014 4:34 pm (1366)


Okay. Here my decompressor for tests.

Code:
[Usage]
        LoFDecompressor
[Example]
        LoFDecompressor 00000060.dat 00000060.dat.dec


Examples:

File : 000002f8.dat
Code:
[FILE INFO]: This file not compressed!
        Size: 11184976


It's means file data inside not compressed, just having additional header and automaticly dump useful data on disk.

File : 000000d1.dat
Code:
[FILE INFO]
        Decompressed Size: 6383796
        Maximum Chunks Size: 1572792
        Compressed Size: 2260636
        Chunks Count: 5

[CHUNKS INFO]
        Chunk[1] - Offset: 00000024, Compressed Size: 562694
        Chunk[2] - Offset: 0008962E, Compressed Size: 589553
        Chunk[3] - Offset: 00119523, Compressed Size: 459268
        Chunk[4] - Offset: 0018972B, Compressed Size: 616174
        Chunk[5] - Offset: 0021FE1D, Compressed Size: 32891


File data compressed, automaticly decompressing and dump data on disk. Also it's will implemented in my gui unpacker later.

Have fun! :geek:

LoFDecompressor_0.1.rar

  • Author
  • Localization

spider91, posted Thu Oct 30, 2014 5:11 pm (1368)


Ekey wrote:
Also it's will implemented in my gui unpacker later.


Awesome! Will it have filenames? And what about reimport?
  • Author
  • Localization

Ekey, posted Thu Oct 30, 2014 5:25 pm (1369)


spider91 wrote:
Awesome! Will it have filenames?

I don't know. Maybe.

spider91 wrote:
And what about reimport?

Nothing. I do not have game for test packer.
  • Author
  • Localization

Ekey, posted Thu Oct 30, 2014 6:46 pm (1370)


GUI unpacker out (Decompressing files are implemented). About hashes - I have pirated game version but is not working. Unfortunately I do not know which algorithm is used. In game library i found 2 hash function djb2 and sdbm but no good results. Who knows? :(
  • Author
  • Localization

spider91, posted Thu Oct 30, 2014 7:29 pm (1371)


Quote:
I have pirated game version but is not working


If you need i can provide you a game from family sharing on steam, so you can launch it.
  • Author
  • Localization

Ekey, posted Sat Nov 01, 2014 6:00 pm (1404)


If someone have PS3 / Xbox version share EBOOT.ELF / DEFAULT.XEX

PS: thx Luigi.
  • Author
  • Localization

Ekey, posted Sun Nov 02, 2014 12:09 am (1413)


Oh lol. Okay.
  • Author
  • Localization

michalss, posted Sun Nov 02, 2014 6:56 am (1415)


Ekey wrote:
If someone have PS3 / Xbox version share EBOOT.ELF / DEFAULT.XEX

PS: thx Luigi.



Not yet mate, once i have it ill send you files :)
  • Author
  • Localization

jbeckman, posted Sun Nov 02, 2014 9:12 am (1418)


aluigi wrote:


Works perfectly, however the first patch updated one of the .pck files and that one will no longer unpack, I was hoping to open it to see if there was a way to remove the chromatic aberration effect since it's pretty extreme at the moment.
(It will be fixed eventually in a patch according to the developers so it's not a big problem but it would be interesting to see if anything can be done before that patch is released.)

http://www4.zippyshare.com/v/53079432/file.html

That's the file, it's around 20 MB.

It doesn't seem like repacking the files work but it would be fun to be able to open this packed archive even so. :)
(There is a patch folder with loose files - even in the original version of the game - which I guess could work but then the file name would be needed and I guess getting those would be difficult.)
  • Author
  • Localization

aluigi, posted Sun Nov 02, 2014 9:56 am (1419)


Thanks, script updated to version 0.1.1.

The problem was that sometimes the last chunk is not compressed.
There are no flags that tell if a chunk is compressed or not, so I check the output size of the file (if size of compressed data is same of remaining byte to reach the output size).
  • Author
  • Localization

spider91, posted Sun Nov 02, 2014 11:52 am (1421)


What about reimport?
  • Author
  • Localization

aluigi, posted Sun Nov 02, 2014 12:00 pm (1422)


Almost all the files are "chunked" (splitted in multiple compressed parts) so they are not supported in reimporting
  • Author
  • Localization

Ekey, posted Sun Nov 02, 2014 12:30 pm (1423)


Well if you need i can make packer but without compression.
  • Author
  • Localization

spider91, posted Sun Nov 02, 2014 2:04 pm (1430)


It would be nice, but will game work with uncompressed files?
  • Author
  • Localization

Ekey, posted Sun Nov 02, 2014 3:06 pm (1433)


I guess yes, because some files inside PKG not compressed, just have additional header.
  • Author
  • Localization

spider91, posted Tue Nov 04, 2014 9:34 pm (1494)


So what about packer?
  • Author
  • Localization

sualfred, posted Thu Nov 06, 2014 7:35 am (1525)


Any updates on this (real files, re-packer)?
  • Author
  • Localization

Ekey, posted Thu Nov 06, 2014 1:12 pm (1533)


Nope. Game used custom CRC algorithm. Without calculating CRC for file data game detecting PKG as invalid and crashing. W8 normal crack for this game.
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.