XeNTaX
http://forum.xentax.com/

My quickBMS scripts
http://forum.xentax.com/viewtopic.php?f=13&t=4450
Page 32 of 32

Author:  Deivity [ Sun Jun 04, 2017 11:33 pm ]
Post subject:  Re: My quickBMS scripts

Please need a script in bms to extract the audios (xa files) of dialogs from castlevania sotn from psx, and then remount them I want to make a dubbed version of this game in portuguese can someone please create a functional script in bms thank you very much ! thank you. The path to the files is this:
SLUS_00067
SD - XA_STR1 - XA_STR1 [6] and XA_STR1 [7]

Author:  TokiChan [ Sun Aug 06, 2017 8:25 pm ]
Post subject:  Re: My quickBMS scripts

Hello!
I'm sorry for bother you, but I hope unpack one game from my childhood (get a models of dragons and enemies).
It named "The I of the Dragon" (or Eye of Dragon). Archives in .res format, but I can't extract it with Delphi or Reshack.
Here are files https://drive.google.com/open?id=0B25vR ... 3VhSEluTmM
Hope you know a way :)

Author:  oux [ Sun Nov 05, 2017 2:01 pm ]
Post subject:  Re: My quickBMS scripts

:ninja:

Author:  ponaromixxx [ Thu Nov 09, 2017 5:19 am ]
Post subject:  Re: My quickBMS scripts

[bruce]

Author:  plodtrew [ Tue Feb 06, 2018 7:04 am ]
Post subject:  Re: My quickBMS scripts

AlphaTwentyThree wrote:
Electronic Arts *.big extractor

I know there are many different archives in use by EA - this is one of them at least (identifier "BE"). For the PC version, just delete the "endian big" - I guess. ;)
Nice example for the use of the array, which comes in quite handy here. Thanks Luigi for the implementation of the chunklzx unpack function. :)



Thank you very much. This script works perfectly with the UFC 2 archives on the ps4.

Author:  AlphaTwentyThree [ Mon Jun 04, 2018 1:41 pm ]
Post subject:  Re: My quickBMS scripts

007: Nightfire (PS2) - *.sfb (sound archives)

Code:
# extracts the *.SFB sound archives from 007: Nightfire (PS2)
# (c) 2013-05-05 by AlphaTwentyThree of XeNTaX
# script for QuickBMS http://quickbms.aluigi.org

get NAME basename
string NAME += ".SHF"
open FDSE NAME
get FILES long 0

for i = 0 < FILES
   get TYPE long # loop ident
   get OFFSET long
   get SIZE long
   get FREQ long
   math FREQ *= 0xc
   get UNK long
   get CH long
   get BITS long
   get UNK longlong
   get NAME basename
   string NAME += "_"
   string NAME += i
   if TYPE == 1
      string NAME += "_l"
   endif
   string NAME += ".ss2"
   
   putArray 0 i NAME
   putArray 1 i OFFSET
   putArray 2 i SIZE
   putArray 3 i FREQ
   putArray 4 i CH
next i

get NAME basename
string NAME += ".SBF"
open FDSE NAME
set CH 1
set INTERLEAVE 0x10
for i = 0 < FILES
   getArray NAME 0 i
   getArray OFFSET 1 i
   getArray SIZE 2 i
   getArray FREQ 3 i
   getArray CH 4 i
   callfunction SS2 1
next i

startfunction SS2
   endian little
   set MSIZE SIZE
   math MSIZE += 0x38
   putVarChr MEMORY_FILE MSIZE 0
   log MEMORY_FILE 0 0
   set MEMORY_FILE binary "\x53\x53\x68\x64\x18\x00\x00\x00\x10\x00\x00\x00\xb0\x36\x00\x00\x02\x00\x00\x00\xc0\x2f\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\x53\x53\x62\x64\x00\xe8\x11\x00"
   append
   log MEMORY_FILE OFFSET SIZE
   append
   
   putVarChr MEMORY_FILE 0xc FREQ long
   putVarChr MEMORY_FILE 0x10 CH byte
   putVarChr MEMORY_FILE 0x14 INTERLEAVE long
   putVarChr MEMORY_FILE 0x24 SIZE long
   if NAME == ""
      get NAME basename
      string NAME += ".ss2"
   endif
   get SIZE asize MEMORY_FILE
   log NAME 0 SIZE MEMORY_FILE
endfunction

Page 32 of 32 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/