(ps2sdk/ee/rpc/memorycard/include/libmc.h):
Code: Select all
typedef struct
{
unsigned char head[4]; // header = "PS2D"
unsigned short unknown1; // unknown
unsigned short nlOffset; // new line pos within title name
unsigned unknown2; // unknown
unsigned trans; // transparency
iconIVECTOR bgCol[4]; // background color for each of the four points
iconFVECTOR lightDir[3]; // directions of three light sources
iconFVECTOR lightCol[3]; // colors of each of these sources
iconFVECTOR lightAmbient; // ambient light
unsigned short title[34]; // application title - NOTE: stored in sjis, NOT normal ascii
unsigned char view[64]; // list icon filename
unsigned char copy[64]; // copy icon filename
unsigned char del[64]; // delete icon filename
unsigned char unknown3[512];// unknown
} mcIcon;
indicate a different "File Type". I have compiled a list:
Code: Select all
#define MC_FILETYPE_SAVED_DATA 0 // Saved Data
#define MC_FILETYPE_SOFTWARE_PS2 1 // Software (Playstation 2)
#define MC_FILETYPE_SOFTWARE_POCKET 3 // Software (Pocketstation:)
#define MC_FILETYPE_SETTINGS_FILE_PS2 4 // Settings File (Playstation 2)
Changing unknown2 and unknown3 appears to make no visible changes
in the file browser.
Does anyone know anything more about these unknowns?
Or unknown3 and unknown4 in the mcTable structure? Can I update
a memory card with a new mcTable? Or set MC_ATTR_EXECUTABLE
on a particular file?
And I'm also interested in the MC_RPCCMD_UNKNOWN_1,
MC_FUNC_UNKNOWN_1 (and 2).
Oh and I can find little information on Magic Gate and how it relates to
the Memory Card... is this freely available information or a trade secret?