Module rom :: Class Image
[hide private]
[frames] | no frames]

Class Image

source code

An Image object represents a ROM image, or .fpsx file.

Instance Methods [hide private]
 
__init__(self, config)
Initialise the Image object.
source code
 
build(self)
Main method that handles the whole sequence of building the rom and moving all related files to the correct location.
source code
 
_create_destination(self)
Creates the destination directory of the ROM files if it does not exist.
source code
 
_process_cmt(self)
Copies the CMT image under epoc32 and to the destination directory of the ROM image, if the image will include the CMT.
source code
 
_write_version(self)
Generates the version text files that define the version of the ROM image.
source code
 
_process_my_traces(self)
Generates a mytraces.txt file under epoc32 based on the <mytraces/> XML sub-elements defined for the image.
source code
 
_callrommake(self)
Calls the make_fpsx.cmd to build a ROM image.
source code
 
_clean_mytraces(self) source code
 
_move_image_files(self) source code
 
__str__(self)
Returns the filename of the image file once copied to the *_flash_images directory.
source code
Method Details [hide private]

_write_version(self)

source code 
Generates the version text files that define the version of the ROM image. These are in UTF16 little endian (Symbian) format.