how to unpack file game 大青云

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

how to unpack file game 大青云

Post by ThemGaiDesign »

Can someone help me to extract files from this game?
name game: 大青云
file: https://mega.nz/folder/x0pygKQT#CGlZG-6Bu-whpPHOW-w07Q -> (Fancy3D version 2)

it is almost identical to http://aluigi.org/bms/lygame.bms (Fancy3D version 1)
Thank.
ThemGaiDesign
Posts: 11
Joined: Tue Jul 19, 2016 3:42 am

Re: how to unpack file game 大青云

Post by ThemGaiDesign »

I try to output a file but it seems like I can't decode the file with lzma
Can anyone help me?

Code: Select all

idstring "\x0a\x0f\x0a\x0f"
get VER long    # 2
set OFFSET long 0x46C
callfunction GET_NAME 1 # dqy
callfunction GET_NAME 1 # dqy
get DUMMY long
goto 0x35c
callfunction GET_NAME 1
getdstring DUMMY 16
get ZERO long
get SIZE long
callfunction DUMP 1

startfunction GET_NAME
    getdstring NAME 0x40
    set NAME unicode NAME
endfunction

startfunction DUMP
    comtype lzma0
    goto OFFSET
    get MAGIC1 long # 0xc8e4f4f7
    get MAGIC2 long # 0xc2d5d7ca
    get MAGIC3 long # 0x5d
    get DUMMY long
    get XSIZE long
    savepos OFFSET
    math SIZE - 0x14
    clog NAME OFFSET SIZE XSIZE
endfunction