Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Kuros - Archive

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
ubrax
advanced
Posts: 46
Joined: Sun Mar 15, 2009 2:16 pm
Has thanked: 20 times

Kuros - Archive

Post by ubrax »

I'll appreciate any help or guidance to unpack the "*.boo"-archive of the Kuros game.
The head.bin and tail.bin may be downloaded here: http://www.motionpress.com/uploads/KurosHeadTail.rar

Thanks in advance!
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Kuros - Archive

Post by aluigi »

Code: Select all

# script for QuickBMS http://aluigi.org/papers.htm#quickbms

comtype bzip2_file
set NAME string ""
set PATH string ""
get DUMMY long
get SUB_ENTRIES long
callfunction EXTRACT

startfunction EXTRACT
    string PATH += NAME
    string PATH += /
    set ENTRIES long SUB_ENTRIES
    for i = 0 < ENTRIES
        get NAMESZ long
        getdstring NAME NAMESZ
        get FOLDER byte
        get OFFSET long
        get SIZE long
        get DUMMY long
        get SUB_ENTRIES long
        if FOLDER == 0
            savepos TMP         # ugly work-around because this stupid game
            math TMP2 = OFFSET  # saves the uncompressed size and not the
            math TMP2 += 10     # size of the bzip files... blah
            goto TMP2
            findloc ZSIZE string "BZh91AY&SY" ""
            if ZSIZE == ""
                get ZSIZE asize
            endif
            math ZSIZE -= OFFSET
            goto TMP
            set FULLNAME string PATH
            string FULLNAME += NAME
            clog FULLNAME OFFSET ZSIZE SIZE
        else
            callfunction EXTRACT
        endif
    next i
endfunction
a small technical info: it's really ugly how this game stores the compressed files, but it has a sense in its environment because the bzip2 input would be the file descriptor at OFFSET and the output the allocated memory of SIZE bytes
ubrax
advanced
Posts: 46
Joined: Sun Mar 15, 2009 2:16 pm
Has thanked: 20 times

Re: Kuros - Archive

Post by ubrax »

The bms-script crash QuickBMS at line "044da1e5 4130 /scripts/object.txt"
Any suggestions?
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Kuros - Archive

Post by aluigi »

don't know why it crashes, if you can upload the first 70 megabytes of this file I will take it a look
Post Reply