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

Janes Advanced Strike Fighters .big.w32 and .toc.w32 Files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
RVR72GV
n00b
Posts: 12
Joined: Tue Nov 08, 2011 10:16 am
Has thanked: 1 time

Janes Advanced Strike Fighters .big.w32 and .toc.w32 Files

Post by RVR72GV »

Doesn't seem to be similar case as Ashes Cricket 2009.

I've tried using Ashes 2009 .bms but no luck (it says 0 files found)

Anybody can help me? :?:
Axsis
advanced
Posts: 48
Joined: Fri Oct 21, 2011 12:55 pm
Has thanked: 2 times
Been thanked: 26 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by Axsis »

Every file in archive may have 1 or 2 streams - 2nd stream is texture or texturepack.
An empty .stream2 file will be created, even if there is no 2nd stream, sorry for that.
Use this script on chunks.toc.w32

Code: Select all

IDString "toc\x01"
Open FDSE "chunks.big.w32" 1
Open FDSE "chunks.toc.names.w32" 2
ComType unzip_dynamic
Get FILES long
Get DUMMY longlong
Get DUMMY long 2
Math NAMES_BASE_OFFSET = FILES
Math NAMES_BASE_OFFSET *= 12
Math NAMES_BASE_OFFSET += 4
Math FN_OFFSET1 = NAMES_BASE_OFFSET
For I = 0 < FILES
 Get FILEID long
 Get OFFSET longlong
 Get SIZE1 long
 Get ZSIZE1 long
 Get SIZE2 long
 Get ZSIZE2 long
 Math OFFSET *= 0x10
 
 Get FN_OFFSET2 long 2
 Math FN_OFFSET2 += NAMES_BASE_OFFSET
 Math FN_OFFSET2 -= FN_OFFSET1
 Get HDR_SIZE1 long 2
 Get HDR_SIZE2 long 2
 SavePos FN_POS 2
 GoTo FN_OFFSET1 2
 GetDString CHUNK_NAME FN_OFFSET2 2
 Math FN_OFFSET1 += FN_OFFSET2
 GoTo FN_POS 2

 String NAME p= "%s.stream1" CHUNK_NAME
 If ZSIZE1 == 0
  Log NAME OFFSET SIZE1 1
  Math OFFSET += SIZE1
 Else
  GoTo OFFSET 1
  Get CHUNKS long 1
  If CHUNKS != 1
  For J = 2 <= CHUNKS
   Get CHUNK_SIZE long 1
   Math ZSIZE1 += CHUNK_SIZE
  Next J
  EndIf
  Math HDR_SIZE1 -= ZSIZE1
  Math HDR_SIZE1 n HDR_SIZE1
  Math BLOCK_OFFSET = HDR_SIZE1
  Math END = OFFSET
  Math END += ZSIZE1
  CallFunction UnpackChunk
  #Log NAME OFFSET ZSIZE1 1
  Log NAME 0 SIZE1 MEMORY_FILE
  Math OFFSET += ZSIZE1
 EndIf

 String NAME p= "%s.stream2" CHUNK_NAME
 If ZSIZE2 == 0
  Log NAME OFFSET SIZE2 1
 Else
  GoTo OFFSET 1
  Get CHUNKS long 1
  If CHUNKS != 1
  For J = 2 <= CHUNKS
   Get CHUNK_SIZE long 1
   Math ZSIZE2 += CHUNK_SIZE
  Next J
  EndIf
  Math HDR_SIZE2 -= ZSIZE2
  Math HDR_SIZE2 n HDR_SIZE2
  Math BLOCK_OFFSET = HDR_SIZE2
  Math END = OFFSET
  Math END += ZSIZE2
  CallFunction UnpackChunk
  #Log NAME OFFSET ZSIZE2 1
  Log NAME 0 SIZE2 MEMORY_FILE
 EndIf
Next I

################################
StartFunction UnpackChunk
 Log MEMORY_FILE 0 0
 Append
 GoTo OFFSET 1
 Math BLOCK_OFFSET += OFFSET
 Math CHUNKS *= 4
 GoTo CHUNKS 1 SEEK_CUR
 Do
  Get BLOCK_SIZE short 1
  CLog MEMORY_FILE BLOCK_OFFSET BLOCK_SIZE BLOCK_SIZE 1
  Math BLOCK_OFFSET += BLOCK_SIZE
  Math BLOCK_OFFSET x= 0x10
 While BLOCK_OFFSET < END
 Append
EndFunction UnpackChunk
################################
User avatar
delutto
veteran
Posts: 153
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 14 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by delutto »

Don't worked.

Code: Select all

Error: incomplete input file number 2, can't read 4 bytes.
       anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted


Note that if both the scripts and your files are correct then it's possible
that the script needs a newer version of QuickBMS, in which case download it:

  http://aluigi.org/quickbms
Any idea?[/b]
RVR72GV
n00b
Posts: 12
Joined: Tue Nov 08, 2011 10:16 am
Has thanked: 1 time

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by RVR72GV »

It works for chunks.toc.w32 and NOT chunks.toc.names.w32 though
Axsis
advanced
Posts: 48
Joined: Fri Oct 21, 2011 12:55 pm
Has thanked: 2 times
Been thanked: 26 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by Axsis »

Axsis wrote:Every file in archive may have 1 or 2 streams - 2nd stream is texture or texturepack.
An empty .stream2 file will be created, even if there is no 2nd stream, sorry for that.
Use this script on chunks.toc.w32
People just don't want to read, they want to EXTRACT! NOW! :D
User avatar
gwlogan
beginner
Posts: 26
Joined: Mon May 12, 2008 9:23 am
Location: Earth, well most of the time...
Has thanked: 11 times
Been thanked: 5 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by gwlogan »

Thanks for the effort Axsis!
I can confirm the script works 100% with chunks.toc.w32 using QuickBMS v0.5.3a. It reports 19754 files found. My problem is I don't know what to do with the resulting .w32.chunk.stream1 and .w32.chunk.stream2 files. Is there a program to handle those or are we waiting for one to be made?
Axsis
advanced
Posts: 48
Joined: Fri Oct 21, 2011 12:55 pm
Has thanked: 2 times
Been thanked: 26 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by Axsis »

stream1 files are maps, models, sounds, music, scripts, etc
stream2 files are textures and texturepacks.
maps and models are in unknown (for me) format, music and sounds in fsb;
textures and packs in dds; for texturepack files stream1 file contains info about textures, and stream2 contains textures itself.
User avatar
delutto
veteran
Posts: 153
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 14 times

Re: Janes Advanced Strike Fighters .big.w32 and .toc.w32 Fil

Post by delutto »

Axsis wrote:
Axsis wrote:Every file in archive may have 1 or 2 streams - 2nd stream is texture or texturepack.
An empty .stream2 file will be created, even if there is no 2nd stream, sorry for that.
Use this script on chunks.toc.w32
People just don't want to read, they want to EXTRACT! NOW! :D
I can read very well
I used the script in the file chunks.toc.w32
My error was to direct the extraction to a different folder. Now I could extract the package. Thanks :bleh:
Post Reply