ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Oct 18, 2018 11:07 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Apr 14, 2018 11:31 pm 

Joined: Sat Apr 14, 2018 11:12 pm
Posts: 2
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


Top
   
PostPosted: Sun Apr 15, 2018 5:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9051
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


Top
   
PostPosted: Tue Apr 17, 2018 5:05 am 

Joined: Sat Apr 14, 2018 11:12 pm
Posts: 2
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited