[MENTION=600]_NzV_[/MENTION]
thanks for your update and sorry that i post again in your thread. but there are some things related to newcore, that bother me.
i have done now endless tests/softbricks with newcore, (old) ccapi and your code for mamba-autoloader and have found some interesting facts about Estwald's code.
first off, i need ccapi for debugging games that do not work in systemsoftware mode, to attach tools in release mode. so only choice for this, is ccapi v2.0, cause the other updates suck regarding memory scan speed and it is the fastest one working. (unless netcheat gets updated with ps3mapi libs, i have to stick with ccapi)
i have tried to load first ccapi self (v2.0 and v2.5 are loaded with a newcore similar self file, which then calls for ccapi.sprx), and afterwards mamba with your code. the result is, it always has frozen if i loaded them both, ccapi and mamba at once. without mamba code, ccapi could be loaded fine and has worked as if it was installed the usual way. and vice versa, without ccapi "core" self, i could autoload mamba fine.
at one point i have figured, that ONLY if i attach an usb flashdrive to usb000, i can load both of them fine without problem. then i have tried to figure out which code is responsible for this kind of acting and i came to a partial solution. the problem is, instead of original sys_init_osd.self, i load sys_ccapi.self (ccapi core self), which then autoloads original sys_init_osd.self as well, besides ccapi.sprx.
the changed call for sys_ccapi.self:
Code:
if(launchself("/dev_flash/sys/internal/sys_ccapi.self")!=0) // launch VSH at first to avoid problems with the PAD
the problem code:
Code:
if(!from_reboot) {
for(n = 0; n < 5; n++) {
sysSleep(3);
if(!filestat("/dev_usb000", &stat1)) break;
}
actions();
if(dev_rw_mounted) {
sys_fs_umount("/dev_rewrite");
dev_rw_mounted = 0;
}
}
this only will work without freeze, if a flashdrive is connected to usb000. though, the failsafe routine works fine and only ccapi gets loaded.
now that i have no clues about coding, i just took the code from "try_mount_usb" and have replaced the problem code with it. and the the result is, it does not freeze anymore without any attached usb000 drive.
so this i have replaced now:
Code:
strncpy(dev, "CELL_FS_IOS:USB_MASS_STORAGE000", 64);
for(n = 0; n < 5; n++){
memset(usb_buf, 0, sizeof(usb_buf));
ret = sys_fs_mount_ext(dev, "CELL_FS_FAT", "/dev_usb000", 0, usb_buf, 0);
if(ret == (int) 0x8001002B) sysSleep(3);
else break;
}
BUT for a weird matter of fact, now it acts just vice versa, if i attach an usb drive, it freezes, and booting without drive works fine.
though, i have no problem with that problem now, as long as i have not to attach permanently a flashdrive for it to work
edit
seems it only works with these portions of code, so removing does not work here...at least it works now, even it is somehow buggy
would be nice, if anybody could explain to me, what this code-snippet does. i can only translate and understand easy conditional functions so far
hmm, it seems there is really a permission problem for me, if i autoload mamba. for example the problem game middle earth does not work in folder format. if i use your mambaloader, it is the same. only if i use irisman loader, it works fine, even the modified one, which does not reload self file.
the game battlefield3 was a bad one, cause it has frozen in main screen during saving, which has resulted in a corrupt save in the end
i will try to add permission handler to mamba source, to see if it does any difference (or i will simply give up on that trying. too much of a hassle)