SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 655 times

SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by AlphaTwentyThree »

The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
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: 654 times
Contact:

Re: SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by aluigi »

I have seen that there are these "padding" files that should not be extracted but I have decided to extract them too:

Code: Select all

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

get DUMMY long
get NAMES long
get INFO_OFF long
get NAME_BLAH long
get ALIGN long
log MEMORY_FILE 0x64 INFO_OFF
math INFO_OFF += 0x64
math INFO_OFF += 12
goto INFO_OFF
get FILES long
savepos BASE_OFF
math TMP = FILES
math TMP *= 16
math BASE_OFF += TMP
math BASE_OFF x= ALIGN
for i = 0 < FILES
    get NAME_OFF long
    get OFFSET long
    get SIZE long
    get DUMMY long
    math NAME_OFF -= NAME_BLAH
    goto NAME_OFF MEMORY_FILE
    get NAME string MEMORY_FILE
    math OFFSET += BASE_OFF
    if NAME == "padding"
        string NAME += _
        string NAME += i
    endif
    log NAME OFFSET SIZE
next i
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 655 times

Re: SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by AlphaTwentyThree »

Hm, I get the error Invalid operator 'x'. I have the newest quickBMS though.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
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: 654 times
Contact:

Re: SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by aluigi »

the 'x' operator has been introduced in version 0.3.15 so you are using an old version or, if you downloaded it, you got the file from your browser's cache.
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 655 times

Re: SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by AlphaTwentyThree »

aluigi wrote:the 'x' operator has been introduced in version 0.3.15 so you are using an old version or, if you downloaded it, you got the file from your browser's cache.
Damn Windows 7 with it's non-workable file options!!!
Besides, I've noticed that those "padding" files could actually be folders in which the files till the next "padding" are saved because there were some duplicate-name files. Is it possible that you change the script so it will extract the files into folders named 'padding_1', 'padding_2' and so on? Thanks!
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
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: 654 times
Contact:

Re: SOCOM U.S. Navy SEALS: Fireteam Bravo 2 - VAGSTORE.ZAR

Post by aluigi »

the following script does exactly what you asked (note that I have not tested it):

Code: Select all

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

get DUMMY long
get NAMES long
get INFO_OFF long
get NAME_BLAH long
get ALIGN long
log MEMORY_FILE 0x64 INFO_OFF
math INFO_OFF += 0x64
math INFO_OFF += 12
goto INFO_OFF
get FILES long
savepos BASE_OFF
math TMP = FILES
math TMP *= 16
math BASE_OFF += TMP
math BASE_OFF x= ALIGN
set PATH string ""
for i = 0 < FILES
    get NAME_OFF long
    get OFFSET long
    get SIZE long
    get DUMMY long
    math NAME_OFF -= NAME_BLAH
    goto NAME_OFF MEMORY_FILE
    get NAME string MEMORY_FILE
    math OFFSET += BASE_OFF
    if NAME == "padding"
        string NAME += _
        string NAME += i
        set PATH string NAME
    else
        set FULLNAME string PATH
        string FULLNAME += /
        string FULLNAME += NAME
        log FULLNAME OFFSET SIZE
    endif
next i
Post Reply