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.

Twin Saga - Aeria Games - .pak

Featured Replies

  • Author
  • Localization

NXS, posted Sat Apr 14, 2018 11:31 pm (34054)


Hi, I've been having a problem trying to decrypt Twin Saga files

I have an error, when decrypting I can not find the new code in the game exe and I want to see if someone with more experience can help me find it

Image

I'm using it as a base

Code:
# Aeriagames pkg.idx/pkg???.pkg (script 0.1.2)
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic
getdstring DUMMY 260
getdstring SIGN 32
math PKG_OLD = -1
get FULLSIZE asize
do
    get DUMMY long
    get OFFSET long
    get DUMMY long
    get ZSIZE long
    getdstring DUMMY 0x28
    get SIZE long
    getdstring NAME2 260
    getdstring NAME 260
    get DUMMY long
    get PKG long
    get DUMMY long
    if PKG != PKG_OLD
        string PKG_NAME p= "pkgd.pkg" PKG
        open FDSE PKG_NAME 1
        math PKG_OLD = PKG
    endif
    string NAME = NAME2

    goto OFFSET 1
    get TMP1 byte 1
    get TMP2 byte 1
    if TMP1 == 0x88 && TMP2 == 0x1c
        savepos OFFSET 1
        math ZSIZE -= 2
    endif
    clog NAME OFFSET ZSIZE SIZE 1
    savepos CURR
while CURR


Here is the .pak and its first file of descopilarion and the game.bin
https://mega.nz/#F!4YYmjBBK!LDmkXnY7kTcUHlLxoLClNg
  • Author
  • Localization

NXS, posted Tue Apr 17, 2018 5:05 am (34095)


thank you very much do not check the official page for the post I saw this not so old, thanks for your help
  • Author
  • Localization

moonpaladin, posted Thu Nov 25, 2021 1:28 am (67677)


Hello .! I tried to decompress the Grand Fantasia game from aeriagames, the script were working without problems until reach a certain .pkg, and throw this error. I uploaded the pkg.idx and the pkg040.pkg dunno if only these files are necesary to tweak the script a bit, but hope you can give support to this game. Thanks :P



https://www.mediafire.com/file/l86olir3 ... G.zip/file
  • Author
  • Localization

aluigi, posted Fri Dec 03, 2021 3:59 pm (67855)


I don't know if I can do anything.
I didn't check the file but that "zlibx" compression is a sort of customization of zlib made by aeriagames.
The only thing you can try is running quickbms with the -9 option and "maybe" the crash will be ignored (still not a solution but at least...).
  • Author
  • Localization

moonpaladin, posted Sat Dec 04, 2021 6:21 pm (67929)


aluigi wrote:
I didn't check the file but that "zlibx" compression is a sort of customization of zlib made by aeriagames.
The only thing you can try is running quickbms with the -9 option and "maybe" the crash will be ignored (still not a solution but at least...).

Hello aluigi, thanks for reply, I just tried the -9 option it extracted more files but still crashing. :cry:
Image
  • Author
  • Localization

aluigi, posted Sat Dec 04, 2021 6:41 pm (67930)


You can skip that file by using the following command-line option of quickbms (maybe in a .bat file):
Code:
quickbms.exe -f "!new_gamedata\launcher.exe"

So extraction will go forward avoiding that crash.
  • Author
  • Localization

moonpaladin, posted Wed Jan 12, 2022 6:08 pm (69027)


aluigi wrote:
You can skip that file by using the following command-line option of quickbms (maybe in a .bat file):
Code:
quickbms.exe -f "!new_gamedata\launcher.exe"

So extraction will go forward avoiding that crash.


Hello aluigi! sorry for late response, I had tried with that exception and still getting error in other files. The only way gonna be adding them to the exception list right?. Thank you.

Code:
quickbms.exe -f "!new_gamedata\launcher.exe,!new_gamedata\launcher.exe.bz2,!data\Translate\T_ElfCollect.ini"


Image
  • Author
  • Localization

aluigi, posted Thu Jan 20, 2022 4:14 pm (69206)


I really don't know what to suggest you.
Manually filtering every file is impossible.
I also checked the FLAGS field but it's the same for all the files (0x20) so it doesn't seem a different algorithm or a different setting.
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.