I thought I'd share the quickBMS scripts I wrote with you here. From time to time I'll just edit this very post to update.
QuickBMS by Luigi Auriemma can be found here: http://aluigi.org/quickbms.htm
If you're coding QuickBMS, here's a link to some tips for speeding up your scripts: viewtopic.php?f=13&t=9594
General scripts at the beginning, game-specific scripts at the end of each platform.
First of all four really useful and powerful scripts to use for different purposes:
file deinterleaver, updated version - very useful!
generic splitter - very useful!
XOR tester - very useful!
func_getTYPE.bms - determine file type in memory
Microsoft Xbox:
func_header_XADP.bms - add an Xbox ADPCM header
Xbox ADPCM mono to stereo merge - needed for some games
25 to Life (Xbox) - *.hog
Fable (Xbox) - *.lug/met pairs
Max Payne (Xbox) - *.emm/dir pairs
Gun (Xbox) - *.dat/wad pairs
The Suffering (Xbox) - *.sdu
Microsoft Xbox 360:
XMA converter - converts many different XMA variants to decodable xma files
XMA cue to WAV cue
*.baf extractor (X360 only)
UT3 engine *.SoundNodeWav to XMA converter *old*
RIFX converter *old*
RIFF/RIFX to unparsed XMA *old*
XMA RIFF header adder *old*
AFL Live 2 (2013) X360 - .wad0/.wad1
Are You Smarter Than A 5th Grader: Make the Mark (XBLA) - *.xen
Armored Core V (Xbox 360) - *.bdt/bht pairs
Backbreaker: Vengeance (XBLA) - *.pkh/pkd pairs
Beyond Good & Evil HD (XBLA) - Sally_PC_POLISH.bf
Breach (PC & XBLA) - *.?sp/spd pairs
Crystal Defenders (XBLA, WiiWare, PSN, PSP mini) - *.bin
Dark Souls (PC/X360) - *.bdt/bhd5
Darksiders II (Xbox 360) - *.pck
Gun (Xbox 360)[/b] - *.dat/wad pairs
Prototype (Xbox 360) - *.p3d
Quake 4 (Xbox 360) - *.xpr
Resident Evil 6 (Xbox 360) - correct the frequency of decoded XMA files (divide by 2)
Sleeping Dogs (Xbox 360) - SFX.pck
Sniper Elite V2 (Xbox 360) - StreamingSounds.asrBE
Star Wars: The Force Unleashed (Xbox 360) - *.xp/*.xd archives
Warriors Orochi 3 (Xbox 360) - *.bin/idx pairs, BGMLink.g1l
flog engine extractor (XBLA) - flog_x360.fpg with "30GF" identifier
FPK/FKP extractor (XBLA) - archives with "FKP" identifier
Tongas Pack - *.PAK (various XBLA and other console games)
Sony Playstation:
CDXA header adder (XA format) (PS) - needed after manual deinterleave
STR movie audio extract (PS) - can also demux
XA deinterleave (PS) - works only for certain games
XA extractor for deinterleaved XA packs (PS) - will be expanded a bit further in the future
Broken Sword: Shadow of the Templars (PS) - *.dat/tab pairs
WarCraft II: The Dark Saga (Saturn/PS) - *.war, *.cud
Broken Sword: Shadow of the Templars (PS) - *.dat/tab pairs
Sega Saturn/Sega CD:
CPK/SEG movies with 'FILM' id (Saturn/Sega CD) - extract audio stream
Sega CD *.bin movie audio demuxer - extracts headerless data
The Animals! (Sega CD) - MEDIA.RES extractor
WarCraft II: The Dark Saga (Saturn/PS) - *.war, *.cud
Sony PS2:
func_header_SS2.bms - add PS2 ADPCM header
MIC to SS2
SS2 0x10-byte re-interleave - important!!!
RWS to SS2
VAG to SS2 (mono-to-stereo channel joiner)
VAG scanner
AAAp (stereo vag) to ss2 converter
007: NightFire (PS2) - *.sfb
18 Wheeler: American Pro Trucker (PS2) - *.STR
Ace Combat Zero: The Belkan War (PS2) - NPSF to SS2 converter
Astro Boy: The Video Game (PS2) - DATA.WAD/DIR pair
Baldur's Gate: Dark Alliane (PS2) - *.GOB, *.LMP
Buzz! The Sports Quiz (PS2) - *.PAK ("BPAK" ident)
Half-Life (PS2) - *.PAK ("PACK" ident)
Headhunter: Redemption (PS2) - *.DAT
Mountain Bike Adrenaline - BIG file
Reservoir Dogs - *.PS2
SDF to SS2 - *.sdf (various PS2 games)
Turok: Evolution (PS2) - *.TRE
Sony PSP & PS3:
Atrac header adder - *.at3
AT3+ header adder - *.aa3 (hardly needed)
AT3 to AA3 converter - for codec number 0xfeff, incl. smpl extraction
MSF converter
PMF AT3 to AA3 - convert headerless aa3 to playable aa3
RSF converter
smpl extractor & injector (for post-processing of decoded *.aa3 files)
XWS extractor
Warhammer 40,000: Squad Command (PSP) - *.pak
Crystal Defenders (XBLA, WiiWare, PSN, PSP mini) - *.bin
Gangs of London (2006) PSP - *.bf
Payday 2 (2013) PS3 - all_#.bundle
The Awakened Fate: Ultimatum (PS3, 2015) - *.dat
Nintendo DS:
SDAT extractor - for standard NDS sound archives
SWAR extractor - for the NDS soundbanks
*.spk extractor
bank.bin extractor (for NDS roms that only contain bank.bin)
Glob.bin extractor (for NDS roms that only contain Glob.bin and sound_data.sdat)
"IM00" pac extractor - *.pac
Anpanman to Touch de Waku Waku Training (DS) - *.pb
Bratz (DS) - *.pkg
Bratz (DS) - BigFile.bin
PC:
9 Clues: The Secret of Serpent Creek - Game.cub
XIII Century (2008) PC - data.???.pak
Agon: The Mysterious Codex - *.sfl
Alien Rage: Unlimited (2013) PC - SNDTABLE.AFB/SNDCACHE.AFB
Atlantis: Pearls of the Deep (2012) PC - pearls_pc.vpb/.vpi
Breach (PC & XBLA) - *.?sp/spd pairs
Crazy Chicken: Pirates (2006) PC - datafile.dat
Culpa Innata (2007) PC - *.sfs
DARK - *.darkpack
Dark Souls (PC/X360) - *.bdt/bhd5
Dino R-R-rage Defense (2014) PC - data.dat
FTL: Faster Than Light (2012) PC - *.dat
Frozen Synapse Prime (2014) PC - FSalldata.pkdwin/.pkiwin
Full Mojo Rampage (2013) PC - DataPC.pak
Half Minute Hero: Super Mega Neo Climax Ultimate Boy (2012) PC - *.rvw
Iron Sky: Invasion (2012) PC - *.gpk/*_gpk.mod
Jagged Alliance: Back in Action / Jagged Alliance: Crossfire - *.pak
Midnight Mysteries 4: Haunted Houdini - Contents.dat
Hooligans: Storm Over Europe - *.x13
RAW: Realms of Ancient War (2012) PC - *.bf
Real Warfare: 1242 - data.000.pak
Scarygirl - str to wav converter
Shoot Many Robots (2012) PC - *.sar
StoneChess (2012) PC - data.scp
Strimko - assets.pfp
Star Wars: The Force Unleashed[/b] - *.pcp/pcd pair
Top Secret Finders (2012) PC - TSF.vst
War of the Human Tanks (2012) PC - *.ald
Yesterday (2012) PC - RESOURCE.*
Zak & Jack in Showdown at Monstertown - resources.pak
other games:
7 Wonders: Magical Mystery Tour (iPhone/iPad) - Contents.dat
The Amazing Spider-Man (all platforms) - *.pkz (decompressor only, no parser)
Baldur's Gate: Dark Alliance (GC) - *.lmp
Big Town Shoot Out (WiiWare) - *. PUB
Crash Bandicoot: Nitro Kart 2 (2010) iP - data.vfs
Crash Bandicoot: Nitro Kart 2 (2010) iP - *.psnd
Crystal Defenders (XBLA, WiiWare, PSN, PSP mini) - *.bin
Doom 3: BFG Edition (2012) - *.resources
Max Payne Mobile (2012) iPhone/iPad - MaxPayneSoundsv2.msf
Splinter Cell: Conviction (all platforms) - *.spk
Wind Blood (2012) Android - sound.pack
Wave manipulation tools:
frequency changer
func_header_PCM.bms - RIFF header adder (supports different codecs)
WAV scanner - many variants supported
WAV cue extractor & injector - to provide markers without file or transfer to other files
wave stream data reverser - converts wave stream from big to little endian and vice-versa
other audio/video/archive:
Activision BAF extractor (raw) (e.g. 007: Blood Stone)
CRI engine - snd/shd pairs (contains CRI audio)
Electronic Arts *.big extractor - e.g. NHL 13 (Xbox 360)
Electronic Arts mus scanner
Electronic Arts asf extractor (EAXA) - e.g. Skate 3 (PC)
Electronic Arts mus extractor (XMA) - e.g. Skate 3 (Xbox 360)
Electronic Arts ASF extractor (BGFA identifier) - e.g. NCAA Football 13 (Xbox 360) - still needs enhancements
Electronic Arts tgq video demultiplexer
F-22 Lightning II (1996) PC - *.vdk movies
Glacier Engine sound extractor - *.whd/*.wav pairs
Das Hexagon-Kartell (1996) PC - *.anm movies
Jane's Combat Simulation - *.cb8 movies
MJZ extractor -> THANKS LUIGI!
POD extractor (versions 2, 3 & 5) *.pod
PCM interleaved header adder - *.ads (used mostly in PS2 movies)
Unity3D engine - *.assets
WiiWare Extractor (enhanced) - various formats
Wwise sound engine - *.pck with 'AKPK' identifier
Wwise sound engine - *.bnk with 'BKHD' identifier
Wwise sound engine - ogg sorter
XNB to WAV converter - Microsoft XNA Framework *.xnb
XPR2 extractor - *.xpr (various XBLA games)
some standard functions I use in my scripts:
func_str2num.bms - convert string to number
func_num2hex.bms - convert number to its hex representation string
func_checkVAR.bms - checks if all variables for functions are set
func_writename.bms - write string to memory
generic batch file to apply quickBMS scripts to multiple files
If someone isn't very adept in batch file writing, here's a batch for processing multiple files with a quickBMS script. Just replace "*.ext" with the extension you need and "script.bms" with the script you want to apply. Save the text as *.bat and run it. Of course this only works if you've added the quickbms path with the "SET" command in Windows.
Code: Select all
for %%i in (*.ext) DO quickbms.exe -o script.bms "%%i" "%CD%"
Critic and suggestions are always welcome.