Download ps2classics.rar from Sendspace.com - send big files the easy way
Contains modified source and PS3 executable "ps2classics.self". It can be used by any PS3 application to convert a regular disc PS2 ISO to ISO.BIN.ENC.
Can be used as easy as:
Where iso_path1 is the source iso, iso_path2 is the destination encrypted iso.bin.enc and klc_path is the path to the klicense.
memset(launchargv, 0, sizeof(launchargv));
launchargv = (char*)malloc( 2); strcpy(launchargv, "e");
launchargv = (char*)malloc( 4); strcpy(launchargv, "cex");
launchargv = (char*)malloc(i3); strcpy(launchargv, klc_path );
launchargv = (char*)malloc(i1); strcpy(launchargv, iso_path1);
launchargv = (char*)malloc(i2); strcpy(launchargv, iso_path2);
launchargv = (char*)malloc(12); strcpy(launchargv, "ISO.BIN.ENC");
launchargv = (char*)malloc(37); strcpy(launchargv, "2P0001-PS2U10000_00-0000111122223333");
launchargv = NULL;
_Exitspawn(ps2classics, (char* const*)launchargv, NULL, NULL, 0, 1001, SYS_PROCESS_PRIMARY_STACK_SIZE_1M);
I just tested it (launching a regular ISO in mM, it spawns the ps2classics.self and creates the encrypted ISO + a folder structure) - everything seems ok. It needs a nice progress bar, improved I/O by using async read/write and you're good to go.
Basically with mM you can dump your PS2 game disc, load it in the RETRO column, it will convert it to ps2classic in a minute or two and you can load it with ps2-classics-placeholder.