hey...
this is kinda OT...
but I'm posting it here because it reguards the script below. (in my last post)
if anyone wants you can start working on a script of your own for UMC. =D
IK, the functions are unexplained X(
but it's not real hard to figure them out
(use common sence for most of them) XDD
StructArr() however is something different...
it requires at least a template to read structures by:
['u32','u16']
I do believe an internal list is supported...
(havn't really tried something like [['u32'],'u16'])
anyways...
the next value specifies how to read the structures:
- '' (default) = read until the structure returns all 0's (does not return the 0-struct)
- 4 = read 4 structures
- ['*',255] = read until this structure ('*' is a wild card and can be anything)
if anyone needs anything else explained,
ask me on my UMC thread
...
oh... almost forgot...
the header of the melee script below is wrong.
I've UD'd it to this:
Code:
from data.COMMON import *
Header(
0.001, #version (for updating)
('ModelButtonName',['.ext']),
('AnimButtonName',['.ext']),
['']) #include these libraries
speaking of libraries, I'm trying to reverse-engineer the RVL_SDK into a library that supports both import and export. :D
(export handling should be similar to actually using the SDK)
^ the SDK was only built to write games, not read them. >_<
EDIT: I've UD'd the Gist now
(finally got to borrow a compy)
I've left the defined functions though