ZenHAX
http://zenhax.com/

Twin Saga - Aeria Games - .pak
http://zenhax.com/viewtopic.php?f=9&t=7719
Page 1 of 1

Author:  NXS [ Sat Apr 14, 2018 11:31 pm ]
Post subject:  Twin Saga - Aeria Games - .pak

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= "pkg%03d.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 < FULLSIZE


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

Author:  aluigi [ Sun Apr 15, 2018 5:03 pm ]
Post subject:  Re: Twin Saga - Aeria Games - .pak

The homepage of quickbms is http://quickbms.com
You must EVER use the latest versions of the scripts available there, in this case:
http://aluigi.org/bms/aeriagames.bms

Author:  NXS [ Tue Apr 17, 2018 5:05 am ]
Post subject:  Re: Twin Saga - Aeria Games - .pak

thank you very much do not check the official page for the post I saw this not so old, thanks for your help <3 :D

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/