Of course it would be better to get an exhaustive list of profile directories to process than blindly iterate through a number of directories that may or may not even exist.Why are 100 directories scanned in this cycle?
Wouldn't it be better to get a list of directories and only check them? And the number of users definitely cannot be more than 100?
The initial version of this feature just iterated through all the directory entries found in /dev_hdd0/home however that didn't work correctly in practice, it was tested thoroughly however I am not sure whether the issue was ever fully investigated/explained.
Anyway, I think maybe we could do a better job using a xRegistry.sys query to get the list of existing user profile ids kept by the system rather than to scan the file system for directories.
Btw some changes were pushed in a recent commit, the code now checks profile IDs from 1 to 255, it's still not ideal but more often than not, users don't have that many user profiles anyway.
And it no longer copies the act.dat/bak files contents, it now uses symlinks instead.
https://github.com/PS3Xploit/PS3HEN...2388bb4#diff-5EE508DF8B522BEA8706B1554DF0A0B2
Last edited:
