-
Notifications
You must be signed in to change notification settings - Fork 137
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
CDFS: DVD video support #130
Conversation
Thanks @uyjulian for updating the cdfs support. What do you think @rickgaiser ? |
Agreed, AllowDVDV is small and probably only usefull in combination with cdfs. Is there a reason to keep it separated? |
I suppose he left it out, because it is up to the program to "decide" how to access DVD-based discs. Edit: Actually just "discs", also CD-based types... |
@TnA-Plastic you're right, let the developer choose, but offer the possibility in the SDK, right now with this PR we are doing changes in the SDK than are "not functional" at all unless you include Thanks |
Yeah, well it was a change/PR to the disc-driver and FS-access and AllowDVDV is an own function/module. |
I integrated AllowDVDV into the CDFS driver. |
00d0e12
to
4372e76
Compare
AllowDVDV is used to unlock the DVD video playback function of the DVD drive. It's unlocked until something locks it. In the official flow, it probably gets unlocked when the DVD player is loaded - which is why no official software needed a hack like that. |
An alternate entrypoint is used when FMCB is not used. |
Is it possible to comment out what each AllowDVD hex pattern means? For now, it is difficult to understand how does it work. Such documentation isn't needed for projects like wLe but for ps2sdk it is better to keep things documented. |
Sure. |
Unlike official sony software, homebrew does not know where it's loaded from and what modules are loaded. It's nice that FMCB unlocks the DVD, but it's probably also useless. An application that needs to use the DVD cannot assume it's being loaded from FMCB. So the application still needs to unlock the DVD to be sure it can be used. @sp193 you agree? |
At least for wLE as THE filemanager and app/ELF-Launcher, it is a "must have" IMO. It's great to have the feature itself (implemented in the SDK), in any way! Edit: SMS also had a kind of support, to access the files on a Video-DVD! |
It's up to you guys. Since the commit was already made and it isn't a change with detrimental effects. As fjtrujy mentioned, the problem is with the purpose of this PR. I feel that it'll change what this module was meant for. I saw this module as originally meant for supporting new filesystems, not a means to support this hack. I thought that it would make more sense to use USB devices for homebrew, since they're easier to work with and are common. Unless one would like to build a DVD video player. This commit seemed to be for a trick like ESR - the disc is a burned disc that appears to the MECHACON as a DVD Video Disc, but is not used for DVD Video playback. |
The following is the main inspiration for this pull request: https://github.com/CTurt/FreeDVDBoot |
The news will be on psx-place.com later on today. |
It's already making the rounds today, saw it first on reddit. Can't wait to see how this evolves. |
b0e8b29
to
dcf162e
Compare
Since FMCB and the recently released FreeDVDBoot allow DVD Video discs to be used, I removed the integrated AllowDVDV since it is redundant. |
Since that exploit is for the DVD player, I presume the DVD player must be first loaded. That process itself would also unlock DVD video playback. |
So this PR without AllowDVDV is now good? It can be pulled? |
I've tested the DVD video disc functionality using uLaunchELF, so I can say that this PR works fine for me. In the future, when CDVDMAN is reimplemented, I plan to remove this, so this is a workaround for now. |
Fixes support for DVD video discs.