I am having much trouble decrypting and extracting 2 types of files from Mini Ninjas. I am trying to open the TEX and PRM files. I tried to create a script for these, but the tutorials i saw and the scripts it tried just wouldn't work. Can anyone help me in either creating a script or showing me how to make some for these files?
Link to example files: http://www.mediafire.com/file/cy4abdek1 ... e_Main.zip
Note: same file structure as Hitman: Blood Money.
Mini ninjas file help!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Mini ninjas file help!
For the TEX files:
Code: Select all
endian big
get TEX_SIZE asize
get OFFSET long
math OFFSET + 0x200
goto OFFSET
for
get OFFSET long
if OFFSET == 0
break
endif
savepos TMP
goto OFFSET
get SIZE long
math SIZE - 4
math OFFSET + 4
log "" OFFSET SIZE
goto TMP
next