after busy life with girls and stuff, i got time to reverse netemu a bit.
everything is related to bootparam.dat the patch to use internal mem card is a ufs_stat stat->st_size. netemu requires a min of 0x774 and the normal is 0x26f4. cobra does 0x4f0 and patch which forces st_size to 0x774
since 4.50++ a register is set according to size, 0x774-26f3=r27 being 0x204 else 0x2184. in the same func after its done ufs_read(fd, 0x4f0+r27, &buf, r27); 4f0+2184 effectively gives us address to location to the address of savedata vmc(never being used on 4.46) forced val is 0x774 so r27 would be 0x204 this is the reason even the classics use internal mem card and only maintaining one wireless sync due to read limitations and param limitations(the buf sent to the func has its param set from the values above) vsh arg snatched from disc icon is not good, a lot of info missing and **** so if we disable this patch and do some snitching from inside the emu we can successfully run iso/enc from classic placeholder so i have made the size 0x774 for the bootparam for disc icon(fixes upscale)
there are most pros and some cons but the emu has now been perfected
i have also removed the need of classic_ps2(read on)
pros: 1.share same savedata between enc and iso 2.wireless sync fast and all the controllers 3.more natural way 4.no more need of classic_ps2 flag(if iso mounted, you can run iso from the placeholder icon if not mounted,classic enc will run)
cons: 1.ps2 from disc icon cant use mem card(fixed update 1)
and you know disc icon either way cant run wirelessly since we rely on vsh to prepare sm args
sooo, how does it look? i could have done it long ago but laziness took over me
everything is now bug free
A GREAT THANKS GOES OUT TO JOONIE!!!!!!!! HE SPENT SOO MUCH TIME TESTING AND WITHOUT HIM THIS WORK WAS IMPOSSIBLE(ENOUGH OF THIS, GIMME MY GIRLS!!!! )
UPDATE 1: i have updated savedata patches according to 4.50++ optimization so now NO CONS!!!!! ps2 from disc icon will use decrypted mem card
Nenhum comentário