01-06-2020, 03:49 PM
(10-26-2019, 08:31 PM)Pingu! Wrote:Haven't responded for a bit, sorry about that, some other projects got in the way.(10-26-2019, 04:10 PM)dalek_kolt Wrote: A bunch of the BMS scripts on the first page lead to 404s. Can someone update that?
Also I'm looking to extract some pkg files as seen here. Can someone either write a script to open it up or look over my files and give me advice on how to open them?
https://drive.google.com/open?id=1_Tu_Dt...U34vbhLNTz
Here's script segment for BMS:
Code:get BASENAME basename
get HEADERLN long
get ARKSIZE long
get ENTRIES long
for i = 0 < ENTRIES
get NULL long
get OFFSET long
get END long
xmath SIZE "END - OFFSET"
set NAME string ""
string NAME p "%s_%s.mtxt" BASENAME i
log NAME OFFSET SIZE
next i
Must run with QuickBMS. They look like CPK files.
Anyway, I ran your script through QuickBMS with one of my .pkg files and it spat out a bunch of .mtxt files. Do I need to write out another script to extract those too, or is there an existing program that can read .mtxt files and extract whatever models/textures/bones I need?
You mentioned CPK files, is there a program out there that can open those or .mtxt files?