The Forum is up for sale: XeNTaX Forum looking for new owner

Condemned 2 Arch File

The Original Forum. Game archives, full of resources. How to open them? Get help here.
pietastesgood
advanced
Posts: 72
Joined: Sun Oct 26, 2008 2:41 am
Has thanked: 3 times
Been thanked: 4 times

Condemned 2 Arch File

Post by pietastesgood »

The contents of this post was deleted because of possible forum rules violation.
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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

*update* check the following post
Last edited by aluigi on Mon Jan 25, 2010 1:59 am, edited 1 time in total.
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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

and that's the magic script:
http://aluigi.org/papers/bms/condemned2.bms
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Condemned 2 Arch File

Post by OrangeC »

thanks luigi.
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: Condemned 2 Arch File

Post by pixellegolas »

could you enlighten me with what model format this game is?
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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

I have updated the script to version 0.2 because there was a bug and a needed compatibility fix (for some formats) so you MUST download the new version.
and please remember ever to test the extracted files because errors can be anywhere
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 658 times

Re: Condemned 2 Arch File

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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

here it works perfectly (tested with quickbms 0.4.5)
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 658 times

Re: Condemned 2 Arch File

Post by AlphaTwentyThree »

aluigi wrote:here it works perfectly (tested with quickbms 0.4.5)
I just checked and strangely enough it works with the cut file, but not with the complete archive (2.517.228.532 Bytes) - maybe it's too big? Error message is always the predefined one from the script. As you can see, the offset is always negative:
Image
What's wrong here?
Last edited by AlphaTwentyThree on Tue Jun 08, 2010 1:13 pm, edited 1 time in total.
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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

yeah it's for sure the size, because it's major than 0x7fffffff
as fix you should try to add a 'u' before the comparison signs at the following lines like the examples:

Code: Select all

line 63:        if ZSIZE u>= RATL_FULLSIZE
line 66:        if OFFSET u> RATL_FULLSIZE
line 91:     for OFFSET = OFFSET u< LIMIT
let me know if this fixes the problem so I will modify the online script
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 658 times

Re: Condemned 2 Arch File

Post by AlphaTwentyThree »

HA! Works now - thanks a lot! :D
Should I open a new topic for those *.bndl files inside the archives or could I also post here?
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: 661 times
Contact:

Re: Condemned 2 Arch File

Post by aluigi »

I hope the following answers your question :)

Code: Select all

endian big
idstring LDNB   # from QuickBMS 0.4.5 idstring is auto-endian... cool :)
get VER long
get OFFSET long
goto 0x14
get FILES long
log MEMORY_FILE 0x18 OFFSET
math OFFSET += 0x18
for i = 0 < FILES
    goto OFFSET
    get NAME_OFF long
    get SIZE long
    savepos OFFSET
    goto NAME_OFF MEMORY_FILE
    get NAME string MEMORY_FILE
    log NAME OFFSET SIZE
    math OFFSET += SIZE
next i
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Condemned 2 Arch File

Post by OrangeC »

A hint alpha for newer monolith games such as fear2/condemned 2 the filenames are stored in another data bank while the rest of the audio is in .snd files, this is basing off of fear 2 on pc so not sure if monolith games on 360 is different, but just to know ahead ;)
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 658 times

Re: Condemned 2 Arch File

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 ;)
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Condemned 2 Arch File

Post by OrangeC »

A little more info about the sounds/music in monolith games, mind you im basing this off fear 2 but both games coneemned and fear 2 uses the same engine anyway.

Seems that all .snds banks have a linker and there appropirate filenames can be found in here!

http://www.filefront.com/16688871/SoundDB.gamedb

I am sure alpha must have the same file for condemned 2, but this is interesting nonetheless. This data bank file links to all the .snds in the snd folders in the bndls archives of the levels and the Mission banks include filenames as well, perhaps another script is in order here :D
Post Reply