Remstart \\ --------------------------------------- PSH v1.00 Painkiller SFX Hack © 2005 by FACS 19.03.2005 - 23:36 ------------------------------------------\\ Remend TYPE FHX File AS STRING Output AS STRING Search AS STRING Finish AS STRING Size AS INTEGER FilePos AS INTEGER Pos AS INTEGER ENDTYPE xFHX AS FHX `* Please change path to installdir of Painkiller `* ---------------------------------------------- xFHX.File="C:\Programme\DreamCatcher\Painkiller\Data\Sounds.Pak" `* Path to install all ripped soundfiles ;D `* ---------------------------------------- xFHX.Output="Data\Sounds\Painkiller\" `* The matching codes, easy to change for other ripps `* -------------------------------------------------- xFHX.Search="RIFF" xFHX.Finish="RIFF" cls rgb(235,236,237) ink rgb(0,95,0),rgb(235,236,237) set text font "Arial" set text size 16 sync set text opaque load image "PSH.png",1,1 paste image 1,294,300 center text 310, 0,"......................................................." center text 310,16,"Painkiller SFX Hack v1.00" center text 310,32,"© 2005 by FACS" center text 310,48,"Hunting may take a bit of time" center text 310,64,"Press [enter] to abort hunting" center text 310,80,"......................................................................................................" suspend for key ink rgb(0,0,0),rgb(235,236,237) _HuntWAV() FUNCTION _HuntWAV `* -------------------------------------------------------- `* Hunt for soundfiles in Painkiller packed archive `* I don't know if it's illegal, but takes a lot of fun...! `* -------------------------------------------------------- if file exist(xFHX.File) xFHX.Search="RIFF" xFHX.Pos=0 xFHX.FilePos=0 xFHX.Size=file size(xFHX.File) center text 310,112,"Match file..."+xFHX.File center text 310,128,"Get internal informations..."+"Size: "+str$(xFHX.Size)+" BYTES - ("+str$(xFHX.Size/1024+1)+" KB)" center text 310,160,"Hunting for WAVE's..." r0=asc("R") i0=asc("I") f0=asc("F") `* Open the "Painkiller Sounds.pak datas" open to read 1,xFHX.File while xFHX.Pos