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: LaunchELF Config Explanation
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1 LaunchELF Config Explanation 
    HypERSoniC's Avatar
    HypERSoniC is offline Un Oceano en mis suenos...
    Join Date
    Jan 2003
    Location
    sydney ·:· :: · :.
    Posts
    1,724
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Here is how LAUNCHELF.CNF is comprised if anyone is interested:

    Default (path)
    Circle (path)
    Cross (path)
    Square (path)
    Triangle (path)
    L1 (path)
    R1 (path)
    L2 (path)
    R2 (path)
    L3 (path)
    R3 (path)
    START (path)
    TImeout (INT)
    Print Screen Name Only (0/1)
    Colour 1
    Colour 2
    Colour 3
    Colour 4
    Screen X (INT)
    Screen Y (INT)
    Disc Control(0/1)
    HypERSoniC
    Reply With Quote  

  2. #2 Extended LaunchELF Menus 
    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
    Using multiple config files for extended LaunchELF menus:

    LaunchELF was made to be compatible with most other PS2 homebrews, and for this reason it is able to accept being launched in various manners itself, and can search for its config file differently according to its launch method. I use this to extend the menu choices of LaunchELF by linking 3 different config files to each other. Each of these config files loses one menu entry for linking to the next menu, but all other entries are free and may be completely different in each of the three config files. It is possible to use even more config files to similar effect, but I choose not to do that (more on why below...)

    Some reasons why I chose to use precisely 3 config files are these:

    1: I have a mod-chip which allows Dev1 booting, using mc0:/BOOT/BOOT.ELF, and when this is in fact LaunchELF renamed, it will load LAUNCHELF.CNF from that same folder.

    2: I experiment with exploits too, using mc0:/BEDATA-SYSTEM/BOOT.ELF, and here too LaunchELF (renamed) will load LAUNCHELF.CNF from the same folder as itself.

    3: Having a copy of LaunchELF on HDD as well wastes no memory card space, except for the small amount taken up by LAUNCHELF.CNF, which will then be loaded from mc0:/SYS-CONF/.

    Adding more than these would require either a special CD/DVD disk, which I dislike for general booting purposes, or adding more copies of LAUNCHELF.ELF to the memory card, which I dislike for wasting memory card space.

    With the above-mentioned instances of LaunchELF installed, I configure each one of them to link to the 'next' when I press R1. Pressing this 3 times always gets me back to the starting point, so there is no need for a reverse link. Since each instance has 11 menu keys for starting programs, one of which is 'consumed' by this linking, I end up with 30 different menu entries for other programs.

    Best regards: dlanor
    Reply With Quote  

  3. #3  
    HypERSoniC's Avatar
    HypERSoniC is offline Un Oceano en mis suenos...
    Join Date
    Jan 2003
    Location
    sydney ·:· :: · :.
    Posts
    1,724
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    interesting i thought launchelf would bork itself if you tried to reboot it like that.. i'll give that a try now
    HypERSoniC
    Reply With Quote  

  4. #4  
    Join Date
    Jan 2005
    Posts
    91
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Does anyone know what the "Default" is used for in the Launchelf config? Also, Dlanor, does simply putting the Launchelf.cnf in the same directory as LaunchELF let you make the menus connect? Seems my HDD copy of LaunchELF looks to mc0:/SYS-CONF/LAUNCHELF.CNF for configuration. That's where I already have my copy I run for the exploit. I have an unmodded V7 using the MC exploit.
    Any help would be appreciated, Thx in advance.
    Reply With Quote  

  5. #5  
    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 gravelhead44
    Does anyone know what the "Default" is used for in the Launchelf config?
    The 'Default' path is used together with the 'Timeout' value, and the ELF it specifies will be launched when that timeout (in seconds from startup) is reached, unless you press some controller button before that, in which case the automatic launch is aborted.

    You can use this with a very short timeout if you don't want any menus, or with a rather long timeout to provide a twelfth launch shortcut, chosen simply by not pressing any buttons.

    Also, Dlanor, does simply putting the Launchelf.cnf in the same directory as LaunchELF let you make the menus connect?
    Yes it should, since it's based on the standard argv[0] of normal C programming. Unfortunately this has not been consistently implemented for the PS2 drivers/launchers, so you can't rely on it for HDD, and each HDD-based application must 'know' where to find its config file(s). Commonly the folder "mc0:/SYS-CONF/" is used for such files, though some applications use specific HDD partitions instead.

    Seems my HDD copy of LaunchELF looks to mc0:/SYS-CONF/LAUNCHELF.CNF for configuration. That's where I already have my copy I run for the exploit. I have an unmodded V7 using the MC exploit.
    Any help would be appreciated, Thx in advance.
    When LaunchELF is launched from memory card, then it will read its CNF file from the same folder if present. If no such file exists, it may proceed to read the one from SYS-CONF instead.

    Just place a copy of the CNF file from SYS-CONF into the same mc0: folder as your exploit copy of LaunchELF, and it should use the new copy in future.

    Best regards: dlanor
    Reply With Quote  

  6. #6  
    omegatron is online now The day has come LaunchELF 3.4 DUURRRR
    Join Date
    Sep 2004
    Location
    Saginaw, MI
    Posts
    1,670
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    6
    is this project still being developed
    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 omegatron
    is this project still being developed
    I believe so, though it's hard to be certain without direct contact with the LaunchELF author. But the latest release (v3.4b2) was made fairly recently, leading me to think that the project still 'lives'. I certainly hope it does, as it's the best program of its kind that I've seen.

    Best regards: dlanor
    Reply With Quote  

  8. #8  
    Join Date
    Jan 2005
    Posts
    91
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Dlanor, Thanks for the info and quick response. I'll give it a try again. For no mods it's definitely my favorite launcher because of the fact it basically writes its config from the ELF. I like not having to FTP every time I want to launch a different app. And its pretty darn quick too.

    Would it be ok if I include your info and give you credit for it in an English readme I'm trying to piece togther for noobs like myself in the forums at:

    LaunchELF Ver 3.4b Releaed

    I have a feeling some of it is off. The timeout portion and default portion (as well as one of the HDD Sections)didn't translate well from my software. This info ties together some of the loose ends for me.
    Last edited by gravelhead44; 03-20-2005 at 02:58 PM. Reason: revision
    Reply With Quote  

  9. #9  
    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 gravelhead44
    Would it be ok if I include your info and give you credit for it in an English readme I'm trying to piece togther for noobs like myself in the forums at:

    LaunchELF Ver 3.4b Releaed
    Sure, you may quote me. Just make sure you do it properly. The important thing for me is not so much to be credited with the stuff I said, but rather NOT to be credited (or blamed ) for stuff that I didn't say...

    Best regards: dlanor
    Reply With Quote  

  10. #10  
    Join Date
    Jan 2005
    Posts
    91
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanks, I will probably just cut and paste your first paragraph, but point to this thread, as it contains some very helpful info. Hopefully that will avoid any confusion.
    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
  •