RE: [Tutorial] Animate Rco´s
well! ... according to some analysis and some work and search i reached the following about RCO as I'm so interested to unlock the secret of UMD videos and i see interesting things
1- the name structure of the XML
here's an example:
<?xml ver='1.0' encoding='UTF-8'?>
<resource id='SelectMenus' ver='0.10' />
<script id='main' src='main.jsx' type='Javascript/jsx'/>
<texturetable>
<tex id='texPlay' src='texture/texPlay.png' type='texture/png' />
<tex id='texAudio' src='texture/texAudio.png' type='texture/png' />
<tex id='texSubs' src='texture/texSubs.png' type='texture/png' />
</texturetable>
<soundtable>
<snd id='sndAct' src='sound/sndAct.vag' type='sound/vag' />
</soundtable>
<animtable>
<anim id='anim1'>
<time wait = '100' />
<fade target='texture:/texPlay' />
<time wait = '500' />
</anim>
<pagetable>
<page id='page1'>
<button id='btn1'
x='100' y='200' scale_x='1' scale_y='1' scale_z='0'
src='texture:/texPlay'
r='1' g='1' b='1' a='0'
onCanel='main:/Canel'
....... etc />
</pagetable>
</resource>
so wee introduce the concept of widget inside the could be 'widgettable'
i have no information about Plane and concept yet but working on that ...
i was able to decrypt and even make a C software that make a reverse nmonics of the main.vsmx and manually i was able to figure out somehow what is RCO File and so function
for example:
resource.animtable.anim1.root.children.animColor(1,1,1,1,timer) or
resource.animtable['anim1'].root.children.animColor(1,1,1,1,timer) ... both are the same
and relating colors with the parameters you find that it's r,g,b,a and a timer (in milisecond)
that would make a visual effect as the color is changed to the new paramters (older paramters already saved in player status) in a timer milisecond...
for animtable objects
=================
animColor(r,g,b,a,timer);
animPos(x, y, z, timer);
animScale(scale_x, scale_y, scale_z, timer);
play(page);
for pagetable objects
=================
array = getPos();
array = getScale();
(r,g,b,a) = getColor();
(width, height) = getSize();
setFocus();
setPos(x,y,z,timer);
setScale(scale_x,scale_y, scale_z);
animColor(r,g,b,a,timer);
open();
activate();
open().activate();
close();
that was a direct data from decoding some javascript (VSMX files) which i would wish to help to
1- understand how the authoring of a software that can author the RCO from scratch not only modify it! ... and the hard part is done by me as i can make a tool to encrypt the js files into jsx (already exists from PS3 in the file raf_script.exe) ...
2- make an pc emulation for the PSP interactive system and i have the exact format of the PlayLists [don't ask how i got it;)] ... so with the resource + playlist an emulation could be done (since it's Java based and xml it could be done even as a web base emulator]
so any suggestions or ideas...
|