Forum: Official UlaunchELF Forums - Discussion for the most unofficial build of launchELF!


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: Load PS2HDD And PS2FS Before
  

Results 1 to 2 of 2
  1. #1 Load PS2HDD And PS2FS Before 
    nogardeht is offline Registered User
    Join Date
    Sep 2008
    Posts
    9
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hi, I'm trying to run UlaunchELF unofficial release v4.28 directly from HDD, and I can. But my problem is that I need a memory card to load my CNF file ever when I turn on my PS2. I was looking on how the UlaunchELF loads the HDD Modules, and now I want to know if it's possible to load HDD Modules immediately when I run the program(Before loading the CNF file, of course, and without a MC).
    So, Thanks in advance!!

    P.D.: I'm from Argentina, and here it's 10 to 2am, so sorry for my mistakes, it's too late and I'm going to sleep now :P
    Last edited by nogardeht; 09-23-2008 at 11:00 AM. Reason: Some redaction mistakes
    Reply With Quote  

  2. #2  
    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 nogardeht View Post
    Hi, I'm trying to run UlaunchELF unofficial release v4.28 directly from HDD, and I can. But my problem is that I need a memory card to load my CNF file ever when I turn on my PS2. I was looking on how the UlaunchELF loads the HDD Modules, and now I want to know if it's possible to load HDD Modules immediately when I the program loads
    This is harder than it sounds for several reasons, one of them being that HDD modules should NOT be loaded at all on late PStwo models.


    Another problem is that the path passed to a launched program can not be complete for an HDD launch, since the partition mount is done on one filesystem (hdd0: ), while the file access (as for a launched elf, like uLE) is performed on the mounted filesystem (pfs0: through pfs9: (not always fully implemented)). But the launch methods only allow for a single device+filename path.

    Homebrew softwares usually get around that limitation by using an extra device driver called fakehost, which 'survives' a program launch and allows the user to access the launch folder through "host:" (not the real network host:, but a faked one linking to the HDD drivers). But this method is not used by the Dev2 launchers of modchips.

    When launched from HDD by the fakehost method, uLE can read its local CNF, but for full functionality that CNF also needs to contain a directive forcing it to continue using this HDD path, even though the argument passed at launch states "host:" as the launch device. Such paths can be set in the "Startup Settings..." menu using the entry "CNF Path override:" (default setting "NONE"). And in the CNF file this will appear as a variable definition like this "CNF_Path = hdd0:/__boot/"

    In order to work properly, using a local CNF in the launch folder, uLE needs to be able to access that CNF file once before performing an IOP reset (kills old drivers) and even to find out if any such reset is permitted (it's one of the options in the CNF file). So uLE must be able to access this file through the device drivers active before the launch was made, and/or using the access path provided as one of the launch arguments.

    I have been working on ways to make this work right with the Dev2 launcher of DMS4 on my v7 console, but as yet that does not work properly.

    DMS4 does pass the boot path in the same hybrid form used by many homebrew programs, like "hdd0:__boot/boot.elf", but the problem with this is that this does not tell us which of the PFS mountpoints to use in accessing that partition, and since the partition was already mounted (to launch the elf) we can't mount it on a mountpoint of our own choice either.

    We can't even be sure whether the mountpoint still is mounted, nor whether the driver even exists anymore after the launch of uLE, since we can't assume that the driver modules of a commercial modchip can be identified by the same methods as homebrew modules.

    I will eventually solve this for the modded console I have, or so I think anyway , but that does not necessarily help anyone with a different modchip than I have (DMS4proSE), since those chips may use methods that are different in ways making my solution invalid.

    (Before loading the CNF file, of course).
    Sorry, but no. Using HDD is a non-standard action impossible to do on all modern consoles. The last model that could use HDD was v13 (required an expansion kit), while current production model is v19, though most regions still have v15 in stock. But at this time only second-hand models have the capability to use IDE connected HDD. (Unless some odd shops have hoarded old models by mistake...)

    So, Thanks in advance!!
    It's too early for that, I'm afraid.
    As yet I'm not even sure if a generic solution is possible

    In the meantime you'll just have to use a CNF file in mc0:/SYS-CONF/ (the default location) for uLE booted from HDD by Dev2.

    Best regards: dlanor
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •