-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow booting any ELF inside disc directory, not just ones at 'PS3_GAME/USRDIR/' #11015
Conversation
elad335
commented
Oct 15, 2021
•
edited
edited
- Disable incorrect error check which checks for a PARAM.SFO mismatch between the one at "elf-path/../../PARAM.SFO" and "/dev_bdvd/PS3_GAME/PARAM.SFO", allows to boot any ELF within any subdirectory of "/dev_bdvd/PS3_GAME/USRDIR". This also includes loading of PRX/OVL inside the game files.
- Improve disc directory search by searching the PS3_DISC.SFB closest to root directory, in case there is such file in game files.
- Mount /dev_bdvd even for files outside of "/PS3_GAME/USRDIR".
e019bb6
to
65bec01
Compare
b7b8f2e
to
62b9b39
Compare
if (const usz usrdir_pos = elf_dir.rfind("/USRDIR"); usrdir_pos != umax) | ||
#endif | ||
// Find disc directory by searching a valid PS3_DISC.SFB closest to root directory | ||
std::string sfb_dir, main_dir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main dir can be moved to most inner scope
0bb480e
to
d96b6c2
Compare
I not understand if all above is related with eboot.bin. |