PS2 wLaunchELF Release Thread

Discussion in 'PS2 Homebrew' started by sp193, May 10, 2017.

  1. 15
    9
    7
    7o7o

    7o7o Forum Noob

    Joined:
    Jun 15, 2018
    Messages:
    15
    Likes Received:
    9
    Trophy Points:
    7
    I think you misunderstood my post above (I should have written 'on my PC's harddisk' ;)). I was using the latest wLE (the one in your post) when I reported the problem.

    The version from 9 june is the version I used today to test if it has the same problem but in fact that one does launch those ELFs.

    Anyways I did some more testing and tried more ELFs today and actually most ELFs do start with the latest wLE. Examples that don't start are uLE442evil, uLE442d, padtest, geotron (hangs on boot screen).

    Edit:
    Just to be sure I downloaded wLE from the link above (which is actually the same one which came with FMCB v1.962 as clearly stated in my first post in this thread) and it goes to a black screen with the above ELFs, except for Geotron that hangs on the boot screen.
     
    Last edited: Jun 27, 2018
    sp193 likes this.
  2. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Changelog for build 2018/06/28:
    • Revert "Replaced the use of the board-specific SIO2 modules."
    • Added IOP reboot to ELF loader, for when a HDD-based target is booted. While keeping backward-compatibility with old software (which do not support the HDD unit) by keeping the necessary modules in RAM, it will keep the IOP in a clean and initialized state for newer software that support the HDD unit.
    • Changed FTP server to allow rename() for all supported devices (FSEXT).
    Downloads/Links
    LaunchELF build 2018/06/28: https://www.sendspace.com/file/kk95fl

    I realize that you're booting some old ELFs. Those ELFs likely do not do an IOP reboot on their own, and so they end up attempting to (and failing) to interface with LaunchELF's new SIO2 modules. I saw that Geotron failed to do that, and I know that old versions of LaunchELF had the IOP reboot as an option.

    I have reverted commit f468a70. The question of who reboots the IOP was always a mess and it is way too late to create a standard here. I just forgot that we had this problem to deal with...
    Thanks for bringing this up.
     
    7o7o and Algol like this.
  3. 15
    9
    7
    7o7o

    7o7o Forum Noob

    Joined:
    Jun 15, 2018
    Messages:
    15
    Likes Received:
    9
    Trophy Points:
    7
    You're welcome.

    I noticed it by accident when I was testing to see if a config file saved by wLE443a would work with uLE442d (I noticed some differences in the CFGs) in case I would want to revert back to uLE442d.

    Anyways many thanks for the quick fix (haven't tested it yet, soon :)).
     
    Last edited: Jun 28, 2018
  4. 15
    9
    7
    7o7o

    7o7o Forum Noob

    Joined:
    Jun 15, 2018
    Messages:
    15
    Likes Received:
    9
    Trophy Points:
    7
    Soon couldn't be soon enough. Just tried the latest wLE and the older uLEs do launch now, which is great.

    Unfortunately PadTest and Geotron still hang. Geotron on the green boot screen and PadTest now hangs on the white screen with the two joypads instead of a black screen.

    I do know this is old software nobody uses anymore (me included), I'm just sharing my observations.
     
    Last edited: Jun 28, 2018
  5. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    I haven't seen what's up with PadTest, but the issue with Geotron deserves a mention on the Internet. It does not reboot the IOP, but that is not the point.
    So what seems to be happening now, is that the new call to padEnd() in LaunchELF is causing the old PADMAN module to be unable to be reinitialized. Since LaunchELF loads a copy of the SIO2 modules and these modules can only be loaded once (unless they're all erased in an IOP reboot), the pads cannot be initialized and the software gets stuck in an infinite loop.

    EDIT: I'm still trying to figure out what should be done. Just maybe, the "padEnd" equivalent in the old libpad library is not supposed to be used.
    In the OSDSYS v1.0x program, it is known as scePadClose() and is not used. There is also another initialization RPC, known as scePadPortInit(), but is also not used. The structure of the original PADMAN is also different when it comes to when DMA transfers are made, so maybe it is okay to not call "padEnd".
    If it is not the same function as the one from the newer libpad version, should we rename them? Decisions, decisions...
     
    Last edited: Jun 29, 2018
    7o7o likes this.
  6. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Changelog for build 2018/06/30:
    • Retracted addition of padEnd() to CleanUp(). It does not work as intended with the old libpad library. May not be required with the old libpad library either. This may fix pad support in software that do not reboot the IOP.
    • Replaced timer code with time code from ps2sdk. Also takes care of missing ExitHandler() call within interrupt handler.
    • Fixed race condition around heap-allocation functions, for hdl_info, vmc_fs & libcdvd-iop.
    • Text and JPEG files can now be directly opened from the file browser.
    • Replaced hardcoded color numbers with the COLOR enum. TXT, JPG and JPEG files have black icons (color 8).
    Downloads/Links
    LaunchELF build 2018/06/30 (v4): https://www.sendspace.com/file/41jdjl

    Update was ninja'ed into the FMCB installer.
    Newer update was ninja'ed again into the FMCB installer.
    On 1st July, a newer update was ninja'ed again into the FMCB installer.

    This may be now resolved.
     
    Last edited: Jul 1, 2018
    7o7o, jolek and TatsumaYakoshi like this.
  7. 8
    5
    32
    TatsumaYakoshi

    TatsumaYakoshi Member

    Joined:
    Jun 5, 2018
    Messages:
    8
    Likes Received:
    5
    Trophy Points:
    32
    Gender:
    Male
    Keep up the good work, exciting to see these Releases & updates.
     
  8. 532
    296
    97
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    532
    Likes Received:
    296
    Trophy Points:
    97
    Gender:
    Male
    ninja'ed. [​IMG]
    Thanks.

    I'm having a problem with *.jpg files.
    After I open picture, none of DS2 buttons works,
    so I can't quit.

    When I open *.txt, everything is fine.

    Can the supported files (jpg, txt) have different icon,
    like for ELF's:
    [​IMG]

    I mean, green for *.elf,
    yellow for *.jpg,
    blue for *.txt
     
    Last edited: Jun 30, 2018
  9. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Thank you for your support.
    It happened again. ssshhh. [​IMG]


    I cannot replicate this, although there was a mistake that prevented the jpgviewer from working if it is launched from MISC.
    The controls for jpgviewer are different from the rest of LaunchELF (it was already like that...). Are you pressing the right buttons?

    Done. Although it's black instead of something nicer... because I have no idea why they picked black as colour 8! This colour is not used much. For at least now, you should be able to change the colour through the options.
    They're graphics colours 1-4 (colours 5-8, which are used for icons), following the name in one of the files.

    If I add anything, then I have to change the options menu... which I do not really want to do.

    Current colours:
    Yellow: Directories
    Green: Executables
    Black: Miscellaneous types (currently text & JPEG)
    White: Other file types
     
    Last edited: Jun 30, 2018
  10. 532
    296
    97
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    532
    Likes Received:
    296
    Trophy Points:
    97
    Gender:
    Male
    Even with new LaunchELF build 2018/06/30 (v2), when I open JPG file normally (like ELF),
    SlideShow timer begins to count automatically.
    After 5 sec next image should appear, but instead of that wLe crash (none of the buttons on DS2 works).
    When I press left/right on d-pad to change picture manually the same thing happens.

    When I open image through Jpg Viewer, everything is fine. SlideShow timer in not counting.
    I can change picture by pressing left/right on d-pad to open next\prev picture.
    When I press Start SlideShow timer begins to count and next picture opens without a problem.

    I've changed in Screen Settings
    from:
    • Color8
    • Graph4
    • R: 00
    • G: 00
    • B: 00
    to:
    • Color8
    • Graph4
    • R: 00
    • G: 00
    • B: 80

    Now, I've blue icon instead of black for jpg\txt files.
    Thanks

    You know that this could open an idea to add more files for support.
    PNG, BMP, etc.
    MP3, FLAC, WAV, etc.
    AVI, MP4, MPG, etc.

    Even to create little media center for PS2. Something like MyPS2.
     
  11. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    I don't really know what is the right way to start the JPEG display. It seems that I should not toggle SlideShowBegin and SlideShowStart.
    I forgot to push my commits earlier, so I have attempted this fix in the process. If it does not work, then I don't know what to do...

    This piece of software does have a lot of potential. It was also used in various other projects, from the FMCB configurator, to launching other software like POPStarter.
    But its code is quite challenging to work with.
     
  12. 15
    9
    7
    7o7o

    7o7o Forum Noob

    Joined:
    Jun 15, 2018
    Messages:
    15
    Likes Received:
    9
    Trophy Points:
    7
    Hi sp193,

    Sorry for the late reply but i've been busy with other stuff, anyways many thanks for your work (for all of your projects)!

    Geotron and Padtest do start now which is great, I won't launch any other ELFs now because I'm afraid to give you more work ;)
     
    sp193 likes this.
  13. 15
    9
    7
    7o7o

    7o7o Forum Noob

    Joined:
    Jun 15, 2018
    Messages:
    15
    Likes Received:
    9
    Trophy Points:
    7
    I'm sorry, but please NO!

    I personally use uLE as a file manager/launcher. There's other options for what you want.

    Please let's keep w/uLE for what is was intended for (and it's good at it) instead of bloating it with IMHO unnecessary features.
     
    Last edited: Jun 30, 2018
    sp193 likes this.
  14. 532
    296
    97
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    532
    Likes Received:
    296
    Trophy Points:
    97
    Gender:
    Male
    I've tried LaunchELF build 2018/06/30 (v3), but the results are almost the same.
    The only difference is that now the SlideShow timer in not counting when I'm launching JPG directly through file browser.
    Unfortunately when I try to change picture or when I launch SlideShow (after 5 sec) it'll hang.

    When I launch JPG through Jpg Viewer everything is fine.
     
    sp193 likes this.
  15. 9,526
    3,533
    472
    pinky

    pinky Bitsiboo's Other Half Developer

    Joined:
    Mar 8, 2015
    Messages:
    9,526
    Likes Received:
    3,533
    Trophy Points:
    472
    Gender:
    Male
    Location:
    The Great Gig in the Sky
    @Joldk , I could've sworn that the colors could be manipulated with a config file. it's been ages since I've tried anything with launch.elf though...aside from making a backup of my ps2 memory card on to another memory card. ;) my folders are pink actually. I can't remember if the files are the same color but possibly. if you try a launch.elf in a different location, the colors will be normal. I think I vaguely remember changing the colors, but I can't remember exactly how I did it. it might've been from a config file which is why I mention it. I think this is ulaunch.elf btw, but I get all the different versions of launch.elf confused. I guess I just don't play my ps2 enough outside of testing things since I have a working laser and a modchip. :).
     
  16. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    I think I should have fixed it. I needed to fill in the path and filename, and then flip the order of actions so that it will load a list of files in the directory before drawing the JPG.

    The colours can be edited through the options screen. No need to mess with the configuration file on your own.

    Well, it's not supposed to be pink. If the location mattered, you might have changed the colour before and saved your settings.
    But by moving LaunchELF to another device, the expected location for the configuration file would change.

    The software is actually LaunchELF.

    Its name stayed that way until v3.41, when the original developer retired and it became unofficially maintained (uLaunchELF) from v3.50.
    Then the developers of uLaunchELF have not returned to psx-scene for years (since 2011), so some of us have taken over development and maintenance in the meanwhile. Hence it became doubly unofficial (double-u), hence wLaunchELF.
     
  17. 532
    296
    97
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    532
    Likes Received:
    296
    Trophy Points:
    97
    Gender:
    Male
    Now I've different problem.

    I've few pictures (jpg), lets call them 1, 2, 3, 4.

    When I open 3 in jpg viewer and press next, it show me picture 4.
    When prev it shows me 2.
    So for now everything is fine.

    When I enter 3 in normal browser and press next, it kicks me to 1.
    When prev it shows me 4.
    The same thing is with Slideshow, It shows 3 and after 5 sec it kicks me to 1.
    So now no matter which picture i choose, app will start viewing from 1st or last
    when I press next\prev button.
     
    sp193 likes this.
  18. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Changelog for build 2018/07/03:
    • Updated USBHDFSD.
    • Fixed JpgViewer transiting to the wrong files, if a JPEG is viewed from the file browser.

    Downloads/Links
    LaunchELF build 2018/07/03: https://www.sendspace.com/file/nirk2p
     
  19. 452
    755
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    452
    Likes Received:
    755
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    LaunchELF Build 2018/07/04

    Changelog:
    • Updated USBHDFSD to ensure that files can be safely written.
    • Fixed Text Editor being unable to save files if opened from the file browser.

    Downloads/Links
    LaunchELF build 2018/07/04: https://www.sendspace.com/file/u7hiex
     
    jolek likes this.
  20. 532
    296
    97
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    532
    Likes Received:
    296
    Trophy Points:
    97
    Gender:
    Male
    It's probably nothing, but it's a little bit strange for me that I can copy almost identical files onto
    PS2HDD.
    [​IMG]

    Only extension for SLES_540.30_COV.png(PNG) is different (it's in lowercase or uppercase).
    In Windows when I'll copy one of these files into the same directory it will be overwritten.
     
Tags:

Share This Page