""
All times are GMT +2. The time now is 01:57 AM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 HDD Discussion > IDE HDD Discussion

IDE HDD Discussion talk here about the use of the IDE HDD Interface and hdloader related discussion.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2005, 09:57 PM
crazyc crazyc is offline
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
Attached Files
File Type: gz hdl_dl.ips.gz (582 Bytes, 1291 views)

Last edited by crazyc; 05-10-2005 at 10:31 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-16-2005, 10:05 PM
Dark_Killer's Avatar
Dark_Killer Dark_Killer is offline
Digital Locksmith
 
Join Date: Aug 2003
Location: New Jersey
Posts: 226
wow, just wow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-16-2005, 10:11 PM
thereal_zap thereal_zap is offline
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-16-2005, 10:24 PM
itdbesam
Guest
 
Posts: n/a
i'll be the first to say thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-16-2005, 10:30 PM
EntwinedWS EntwinedWS is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-16-2005, 11:03 PM
FranktheBunny's Avatar
FranktheBunny FranktheBunny is offline
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 04-16-2005, 11:05 PM
red_icculus's Avatar
red_icculus red_icculus is offline
(x) Rick Dangerous
 
Join Date: Mar 2004
Location: On top
Posts: 202
Should this be applied to the unpacked HDL?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 04-16-2005, 11:10 PM
dlanor dlanor is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 04-16-2005, 11:28 PM
crazyc crazyc is offline
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 04-16-2005, 11:33 PM
v1p3r v1p3r is offline
^^move your eyes up a bit.
 
Join Date: Feb 2005
Posts: 92
Wow, the current hacks are impressive but that's just insane...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 04-16-2005, 11:35 PM
AngryGir's Avatar
AngryGir AngryGir is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 04-16-2005, 11:38 PM
EntwinedWS EntwinedWS is offline
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.
Attached Files
File Type: zip IPS Patcher lips100.zip (40.1 KB, 1925 views)
__________________
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 04-16-2005, 11:40 PM
v1p3r v1p3r is offline
^^move your eyes up a bit.
 
Join Date: Feb 2005
Posts: 92
Will this report the layers correctly, to allow GT4 to work?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 04-16-2005, 11:43 PM
AngryGir's Avatar
AngryGir AngryGir is offline
Destined to Burn
 
Join Date: Oct 2004
Location: Canada
Posts: 87
Thanks
__________________
God made me do it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 04-16-2005, 11:47 PM
dextro
Guest
 
Posts: n/a
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 04-17-2005, 12:14 AM
Lifegrind Lifegrind is offline
Registered User
 
Join Date: Feb 2003
Posts: 102
Nice work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 04-17-2005, 12:14 AM
Jaybez Jaybez is offline
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 04-17-2005, 12:27 AM
neo333's Avatar
neo333 neo333 is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 04-17-2005, 12:35 AM
Illicious's Avatar
Illicious Illicious is offline
Lord Illicious
 
Join Date: Sep 2004
Posts: 140
Great work. Will test it out soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 04-17-2005, 12:36 AM
paulodeleo's Avatar
paulodeleo paulodeleo is offline
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #21  
Old 04-17-2005, 12:43 AM
neo333's Avatar
neo333 neo333 is offline
Registered User
 
Join Date: Dec 2004
Location: In your arm
Posts: 60
thanks