Code: Select all
# Mexscript for Husky Express .PAK files
# By Mr.Mouse 2009
IDString 0 "BPFS" ;
Get U1 Long 0 ;
Get LastOffset Long 0 ;
Get U2 Long 0 ;
Set Start Long 140 ;
GoTo Start 0 ;
Do ;
Get Dummy Long 0 ;
Get Dummy Long 0 ;
SavePos FOO 0 ;
Get Offset Long 0 ;
SavePos FSO 0 ;
Get Size Long 0 ;
Get FNSize Long 0 ;
Set Name String "" ;
For T = 1 to FNSize ;
GetDString A 1 0 ;
Get Dummy Byte 0 ;
String Name += A ;
Next T ;
Get U3 Long 0 ;
Get Date1 Long 0 ;
Get Date2 Long 0 ;
Get Date1 Long 0 ;
Get Date2 Long 0 ;
Get U4 Long 0 ;
Log Name Offset Size FOO FSO ;
Math Offset += Size ;
Set Start Long Offset ;
GoTo Start 0 ;
While Start <= LastOffset ;
This is my MexScript (BMS means actually "Binary MultiEx Script", which is the compilation of MexScript into a numeric format that legacy versions of multiex.dll could process. The current multiex.dll can also handle MexScript, but simply by parsing it into BMS.
Anyway, the above script works and logs the correct filenames.
Here's a few examples I could get out of them:
data\gfx\char\musher_mari\ani\mari_anim.h
Code: Select all
// This file was automatically generated. It contains definitions for all the
// animations stored in the associated KFM file. Include this file in your
// final application to easily refer to animation sequences.
#ifndef MARI_ANIM_H__
#define MARI_ANIM_H__
namespace mari_Anim
{
enum
{
EAT_FOOD = 330,
EMOTION_ANGER001 = 540,
EMOTION_FAIL001 = 510,
EMOTION_GIGGLE001 = 530,
EMOTION_GLAD001 = 500,
EMOTION_HI001 = 520,
IDLE_CONTAINER001 = 321,
IDLE_FOR_WEBSITE = 1020,
IDLE_GESTR001 = 240,
IDLE001 = 230,
IDLE002 = 234,
IDLE003 = 235,
OPEN_CONTAINER = 320,
PROLG_CROUCH_IDLE = 1030,
RETIRED = 270,
RETIRED_IDLE = 271,
RUN = 231,
RUN_LOOKBACK = 233,
SHIVERING = 820,
SLED_BRAKE = 253,
SLED_BRAKE_TO_IDLE = 254,
SLED_GETOFF = 251,
SLED_GETON = 250,
SLED_HIGHSPD = 221,
SLED_HIGHSPD_JUMP = 131,
SLED_HIGHSPD_LEFT = 223,
SLED_HIGHSPD_RIGHT = 222,
SLED_IDLE = 11,
SLED_IDLE_GESTR001 = 12,
SLED_IDLE_GESTR002 = 13,
SLED_IDLE_TO_NOMALSPD = 1,
SLED_IDLE_TO_TURNLEFT_END = 22,
SLED_IDLE_TO_TURNLEFT_HOLD = 21,
SLED_IDLE_TO_TURNLEFT_START = 20,
SLED_IDLE_TO_TURNRIGHT_END = 25,
SLED_IDLE_TO_TURNRIGHT_HOLD = 24,
SLED_IDLE_TO_TURNRIGHT_START = 23,
SLED_LOWSPD = 201,
SLED_LOWSPD_JUMP = 111,
SLED_LOWSPD_LEFT = 203,
SLED_LOWSPD_RIGHT = 202,
SLED_LOWSPD_TO_IDLE = 2,
SLED_NORMALSPD = 211,
SLED_NORMALSPD_JUMP = 121,
SLED_NORMALSPD_LEFT = 213,
SLED_NORMALSPD_RIGHT = 212,
SLED_NORMALSPD_TO_BRAKE = 252,
SLED_PEDALING = 200,
SLED_RETIRED = 260,
SLED_RETIRED_IDLE = 261,
SLED_SHIVERING = 810,
SLED_USE_CAMERA = 341,
TALK_GESTR001 = 400,
USE_CAMERA = 340,
USE_PICKAXE = 300,
USE_SHOVEL = 310,
WALK = 232
};
}
#endif // #ifndef MARI_ANIM_H__
Cursors from the data.016.pak:
cursors_extracted.JPG
You do not have the required permissions to view the files attached to this post.