GitHub - kakaroto/RCOMage: A general purpose RCO creation and manipulation command-line tool. (original) (raw)

Rcomage v1.1.1 readme written by ZiNgA BuRgA

URL: http://endlessparadigm.com/forum/showthread.php?tid=19501

Introduction

Rcomage is a general purpose RCO creation/manipulation tool. It is designed to allow RCOs to be modified in almost any way, and intended to replace my previous application, RCO Editor. Rcomage should also generate almost fully "compliant" resource files (very similar to original Sony RCOs). RCO files are resource files that can be found in the PSP's flash0:/vsh/resource directory which contain stuff like icon data and various other resource components. RCOs can also be found on UMD Video/Audio discs, where they are used to supply resources to the menus. Currently, it only has two primary features - RCO dumping and RCO compiling.

Unfortunately, I've released this in a bit of a rush, so haven't really checked many things and haven't added many features I intended to put in.

Using

I've included a very basic GUI to save you learning the commands. For normal operation, for editing an RCO file, you'd open the RCO in the Dump tab, select where to export the structure and resources to, then click Dump. You may then proceed to edit the dump of the RCO (eg, replace images or modify the structure by editing the XML dump). To compile an RCO, go to the Compile tab, select a valid XML structure file, select where to save the new RCO and click Compile.

For using the CLI, use the command 'rcomage help' for details.

General RCOXML structure

The following should give you a general idea of the general structure for an RCO file. Not all nodes below are required, and various object/anim entries are omitted.

RcoFile - XML root element; generally does not need to be modified MainTree - root RCO node from which everything must descend from VSMXFile - attached UMD virtual machine instruction code, for UMD and some LFTV RCOs. Only one may exist in an RCO file ImageTree - parent node from which all image resources descend from Image Image ... ModelTree - parent node from which all model resources descend from Model Model ... SoundTree - parent node from which all sound resources descend from Sound Sound ... ObjectTree - parent node from which all object pages descend from page objects go here page objects go here ... AnimTree - parent node from which all animation sequences descend from animation entries go here animation entries go here ...

Planned Features

Notes

Credits