 |
 |
All times are GMT +2. The time now is 01:57 AM. |
| IDE HDD Discussion talk here about the use of the IDE HDD Interface and hdloader related discussion. |

04-16-2005, 09:57 PM
|
|
User
|
|
Join Date: Sep 2004
Posts: 334
|
|
|
experimental hdl dual layer support
This is an experimental patch which adds dual layer disk support to hdloader. It implements CdDualLayerInfo and CdLayerSearchFile, but the only game i've tried it with is God of War, which doen't require LayerSearchFile. Two caveats, it requires a new value in the header and the mode related to dual layer support no longer works. Offset 0xe8 of the header, between the executable file name and the disk type, needs to be set to the sector address of the second layer PVD - 16.
Edit: revised patch
Edit2: 5/10 revised patch
Last edited by crazyc; 05-10-2005 at 10:31 PM.
|

04-16-2005, 10:05 PM
|
 |
Digital Locksmith
|
|
Join Date: Aug 2003
Location: New Jersey
Posts: 226
|
|
|
wow, just wow.
|

04-16-2005, 10:11 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 189
|
|
a couple things...
i'm assuming you patch an already decrypted hdl and not toxic 0.2 patched version.
patching the header is no problem. i'm sure if this works, then the author's of hdl_dump and winhiip will add support for it.
good job too btw! 
Last edited by thereal_zap; 04-16-2005 at 10:30 PM.
|

04-16-2005, 10:24 PM
|
|
|
i'll be the first to say thank you 
|

04-16-2005, 10:30 PM
|
|
Contributor
|
|
Join Date: Jun 2004
Posts: 383
|
|
|
So we just apply this IPS patch to the HDLoader ELF? Thanks for all your contributions by the way. Another question..this should allow me to install Xenosaga straight to my hard drive via the PS2 without flattening right?
__________________
V7 39001 PS2 DMS3V2 Flash 2.3 Maxtor 40GB HDD
1.0 XBox X3CP X3CE X3-3294 80GB Seagate HDD UnleashX
Wii D2B Wiinja Deluxe
|

04-16-2005, 11:03 PM
|
 |
28 days, 6 hours, 42 minutes, and 12 sec
|
|
Join Date: Aug 2004
Location: Middlesex
Posts: 159
|
|
Quote:
|
Originally Posted by EntwinedWS
So we just apply this IPS patch to the HDLoader ELF? Thanks for all your contributions by the way. Another question..this should allow me to install Xenosaga straight to my hard drive via the PS2 without flattening right?
|
In theory, yes.
|

04-16-2005, 11:05 PM
|
 |
(x) Rick Dangerous
|
|
Join Date: Mar 2004
Location: On top
Posts: 202
|
|
|
Should this be applied to the unpacked HDL?
|

04-16-2005, 11:10 PM
|
|
Contributor
|
|
Join Date: Sep 2004
Posts: 4,740
|
|
Quote:
|
Originally Posted by crazyc
Two caveats, it requires a new value in the header and the mode related to dual layer support no longer works.
|
I'm not sure, but wasn't that mode needed to allow ISOs to be larger than a DVD5 ? That will still be needed for the new dual layer usage.
So, does the new code simply replace the functionality of mode 2 (in addition to the two new functions), thus making that mode unnecessary ?
Quote:
|
Offset 0xe8 of the header, between the executable file name and the disk type, needs to be set to the sector address of the second layer PVD - 16.
|
Is that something which the patched HDL can do automatically, when installing an ISO of this size/type ? Or will it be necessary for each user to somehow edit that header ? If so, how do you suggest it best be done ?
Finally, though you don't mention it, I assume your solution still requires ISOs to be 'flattened' on a PC and installed by the third-party installers like WinHiip, since full DL support for the built-in installer would require much more extensive coding/rewrite. Is that correct ?
Best regards: dlanor
|

04-16-2005, 11:28 PM
|
|
User
|
|
Join Date: Sep 2004
Posts: 334
|
|
Quote:
|
Originally Posted by dlanor
I'm not sure, but wasn't that mode needed to allow ISOs to be larger than a DVD5 ? That will still be needed for the new dual layer usage.
So, does the new code simply replace the functionality of mode 2 (in addition to the two new functions), thus making that mode unnecessary ?
|
Yes, the mode just returned 1 in the first parameter of sceCdDualLayerInfo. I changed it to return 1 if the layer break address is nonzero.
Quote:
|
Originally Posted by dlanor
Is that something which the patched HDL can do automatically, when installing an ISO of this size/type ? Or will it be necessary for each user to somehow edit that header ? If so, how do you suggest it best be done ?
|
Hdloader cannot do this automatically. Hdl_dump or winhiip should be able to be modified to do it.
Quote:
|
Originally Posted by dlanor
Finally, though you don't mention it, I assume your solution still requires ISOs to be 'flattened' on a PC and installed by the third-party installers like WinHiip, since full DL support for the built-in installer would require much more extensive coding/rewrite. Is that correct ?
|
Yes. I'll try and make a patch for hdl_dump later.
|

04-16-2005, 11:33 PM
|
|
^^move your eyes up a bit.
|
|
Join Date: Feb 2005
Posts: 92
|
|
|
Wow, the current hacks are impressive but that's just insane...
|

04-16-2005, 11:35 PM
|
 |
Destined to Burn
|
|
Join Date: Oct 2004
Location: Canada
Posts: 87
|
|
|
How do we apply this? Failing a good explanation, a GUI would be appreciated.
__________________
God made me do it
|

04-16-2005, 11:38 PM
|
|
Contributor
|
|
Join Date: Jun 2004
Posts: 383
|
|
|
You should be able to use this program attached to apply the IPS patch. I've used it in the past for IPS translations on Japanese PS2 games to make them English.
__________________
V7 39001 PS2 DMS3V2 Flash 2.3 Maxtor 40GB HDD
1.0 XBox X3CP X3CE X3-3294 80GB Seagate HDD UnleashX
Wii D2B Wiinja Deluxe
|

04-16-2005, 11:40 PM
|
|
^^move your eyes up a bit.
|
|
Join Date: Feb 2005
Posts: 92
|
|
|
Will this report the layers correctly, to allow GT4 to work?
|

04-16-2005, 11:43 PM
|
 |
Destined to Burn
|
|
Join Date: Oct 2004
Location: Canada
Posts: 87
|
|
|
Thanks
__________________
God made me do it
|

04-16-2005, 11:47 PM
|
|
|
|
should we apply it on the packed or unpacked elf? and can it be applied on an already modified elf? Great work once again mate! Respect.
|

04-17-2005, 12:14 AM
|
|
Registered User
|
|
Join Date: Feb 2003
Posts: 102
|
|
|
Nice work.
|

04-17-2005, 12:14 AM
|
|
Registered User
|
|
Join Date: Sep 2002
Posts: 15
|
|
|
used Jips to apply the patch but hdl reports gt4 pal as 3gb, installing anyway to see what happens.
|

04-17-2005, 12:27 AM
|
 |
Registered User
|
|
Join Date: Dec 2004
Location: In your arm
Posts: 60
|
|
|
but just as many people in this forum are asking is it the unpacked elf or the packed one. Also can it be also applied to the toxic os core version
|

04-17-2005, 12:35 AM
|
 |
Lord Illicious
|
|
Join Date: Sep 2004
Posts: 140
|
|
|
Great work. Will test it out soon.
|

04-17-2005, 12:36 AM
|
 |
Registered User
|
|
Join Date: Dec 2004
Location: Brazil
Posts: 161
|
|
|
There are no patchs made for compressed elfs, so patch the unpacked one.
__________________
PS2 50001 V9 + Matrix Infinity + Maxtor 80Gb HDD = FUN!
|

04-17-2005, 12:43 AM
|
 |
Registered User
|
|
Join Date: Dec 2004
Location: In your arm
Posts: 60
|
|
|
| |