I'm trying to find a way to get the model and texture for mod them or just for take a view.. i have compressed 2 files in a rar and uploaded http://www.sendspace.com/file/xiefx9 so if someone can help me
( sorry for my bad english )

Code: Select all
- start the scanning of the input folder: bl
- open input file RgB_Faction.~h
- open script BL.bms
Error: invalid endian value big\par
Error: invalid datatype long\par at line 10


Code: Select all
...
else
math SIZE += 1000
clog NAME OFFSET ZSIZE SIZE 1
endif
...
This was my problem... for some reason the text file I pasted the script in was causing the problem.aluigi wrote: have you saved the file correctly?



Code: Select all
# Brutal Legend
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
open FDDE "~h" 0
open FDDE "~p" 1
endian big
idstring dfpf
get DUMMY long
get DUMMY long
get DUMMY long # align?
get DUMMY long
get NAME_OFF long
get DUMMY long
get DUMMY long
get FILES long
math INFO_SIZE = FILES
math INFO_SIZE <<= 4
math INFO_OFF = NAME_OFF
math INFO_OFF -= INFO_SIZE
goto INFO_OFF
for i = 0 < FILES
get SIZE threebyte
get DUMMY short
get ZSIZE threebyte
get OFFSET threebyte
get DUMMY byte
get NAMEX threebyte
get COMTYPE byte
savepos INFO_OFF
math NAMEX >>= 3
math NAMEX += NAME_OFF
goto NAMEX
get NAME string
goto INFO_OFF
if COMTYPE & 2
comtype XMemDecompress
else
comtype zlib
endif
if SIZE & 0x800000
math SIZE -= 0x800000
endif
if ZSIZE & 0x800000
math ZSIZE -= 0x800000
endif
#math SIZE >>= 1
math ZSIZE >>= 1
math OFFSET <<= 5
if SIZE == ZSIZE
log NAME OFFSET SIZE 1
else
clog NAME OFFSET ZSIZE SIZE 1
endif
math OFFSET += ZSIZE
next i
Code: Select all
if NAME == "particles/textures/fire/beastfire"
set NAME string "particles/textures/fire/beastfire2"
endif
#math SIZE >>= 1I tried this code and still have the error so i changed by thisaluigi wrote:that one is not an error of the script or of quickbms, it's just an invalid filename.
on a file system can't exist a file and a folder with the same name while as you can see there is the file particles/textures/fire/beastfire and then the file beastfire located in a folder with the same name of the previous one.
an idea would be to skip that file hoping there are not other invalid names.
you can do it adding the following commands before "#math SIZE >>= 1":unfortunately there is not much else to doCode: Select all
if NAME == "particles/textures/fire/beastfire" set NAME string "particles/textures/fire/beastfire2" endif #math SIZE >>= 1
Code: Select all
if NAME == "particles/textures/fire/beastfire/beastfire"
set NAME string "particles/textures/fire/beastfire2"
endif
#math SIZE >>= 1