Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Zoneloader patched to load HDL, is it possible?
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
  1. #1 Zoneloader patched to load HDL, is it possible? 
    Bon Scott's Avatar
    Bon Scott is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    Does anyone know how to make this? I don't know if it is even possible.
    I've been trying to hexedit Zoneloader overwriting cdrom:/ entries to hdd0:/ ,but no success... I know that it was a desesperate blind attempt.
    Could some skilled mind make the magic?
    I have a ntsc console and a bunch of pal games that I can't load to hd cause Zoneloader just works with discs. My TV has just one video component entry and I use it for X360. I think that I'm not alone in this boat.
    Cheers!
    .
    Reply With Quote  

  2. #2  
    Join Date
    Apr 2005
    Location
    Ky, USA
    Posts
    5,031
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    9
    Likes Received
    40
    If you could edit zoneloader to boot a standalone elf instead of a disc, you would have to rebuild the image with it inside since it wouldn't be able to survive HDL's IOP reset.
    Reply With Quote  

  3. #3  
    Bon Scott's Avatar
    Bon Scott is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    Hi Bootlegninja! I followed your tutorial to patch Codebreaker to load with HDloader : unpacking CB -> applying the patch -> repacking patched CB. And everything runs like a charm!
    I think that the main request is if a coder could build a patch to Zoneloader like it was done to Codebreaker.
    Your idea in changing Zoneloader to run an elf file sounds great as well. I wish I could do that. Thanks a lot for your answer!
    .
    Reply With Quote  

  4. #4  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    I´m not sure about it, but does Zoneloader even initialize some drivers for devices such as MC, or HD?
    I don´t think so...
    (Surely, there is ever a way to patch an application, but without initialized drivers, it won´t be that easy. )
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  5. #5  
    Join Date
    Apr 2005
    Location
    Ky, USA
    Posts
    5,031
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    9
    Likes Received
    40
    and keep in mind, I didn't create any of those patches. ffgriever did. I only wrote a tutroial for the masses to follow for less issues with it.
    Reply With Quote  

  6. #6  
    Join Date
    Jun 2008
    Posts
    390
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    3
    Likes Received
    8
    We have discussed this before.

    The idea was either shot down, or ignored.

    Someone could also just write a completely new app that would allow HDL to display Pal to NTSC without having to apply any patches.

    Why isnt this implemented in HDL anyway? Isnt that feature standard in Toxic OS?
    Reply With Quote  

  7. #7  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by NeverGoingBack View Post
    Why isnt this implemented in HDL anyway?
    Isnt that feature standard in Toxic OS?
    No. ToxicOS itself has no such implementation.

    But ToxicOS is only available to users of the DMS4pro modchip, and the modchip does support forced video modes.

    Best regards: dlanor
    Reply With Quote  

  8. #8  
    Join Date
    Jun 2008
    Posts
    390
    Downloads
    0
    Uploads
    0
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    3
    Likes Received
    8
    http://www.sksapps.com/index.php?pag..._tutorial.html

    This says it does under the bios settings....
    Reply With Quote  

  9. #9  
    Bon Scott's Avatar
    Bon Scott is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    0
    It seems it is not a simple task anyway...
    I've been reading Zoneloader Source Program that is available at this link :
    PS2_Zoneloader_SRC. And after some parsing I locate this part of bootmaster.c file routine :

    // Parses system.cnf. Returns the boot elf filename on success, NULL on failure
    char *parseSystemCnf()
    {
    char *buffer;
    int fd, fdSize;
    int i;

    // Open SYSTEM.CNF on the cdrom, allocate memory for it, terminate the array
    fd = fioOpen("cdrom0:\\SYSTEM.CNF;1", O_RDONLY);
    if(fd < 0) return (char *)ERROR_SYSTEMCNF_FILEIO;

    fdSize = fioLseek(fd, 0, SEEK_END);
    fioLseek(fd, 0, SEEK_SET);

    buffer = malloc(fdSize + 1);
    if(!buffer) return (char *)ERROR_SYSTEMCNF_MEMORY;

    if(fioRead(fd, buffer, fdSize) != fdSize) return (char *)ERROR_SYSTEMCNF_FILEIO;
    fioClose(fd);
    buffer[fdSize] = '\0';

    // Find boot file substring
    buffer = strstr(buffer, "BOOT2");
    buffer += 5;
    while((*buffer == ' ') || (*buffer == '\t')) buffer++;
    buffer++; // bypass '=' character
    while((*buffer == ' ') || (*buffer == '\t')) buffer++;

    i = 0;
    while((buffer[i] != '\n') && (buffer[i] != '\r')) i++;

    // Terminate string at end of boot elf filename
    buffer[i] = '\0';

    // Return pointer to boot elf filename string
    return buffer;
    The text in green explains the sequence. The other in orange shows the cdrom calling the SYSTEM.CNF file. This file calls BOOT2 inside that activates the SLXXX_XX_XX. I was thinking in changing cdrom0 for mc0 (or anything else) , place an alterated SYSTEM.CNF there with a BOOT2 that could call a wanted ELF file (like i.e. uLaunch), instead of SLXXX_XX_XX.
    I wanted to test that, but I don't know how to compile the Zoneloader Source into an ELF file... Could someone head me to a link that explains that?
    Thanks in advance!
    .
    Reply With Quote  

  10. #10  
    Join Date
    Apr 2005
    Location
    Ky, USA
    Posts
    5,031
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    9
    Likes Received
    40
    well, hell. I didn't know we had that there. with the source, many things are possible.
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •