PS2 wLaunchELF Release Thread

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

  1. 2,058
    1,942
    272
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    2,058
    Likes Received:
    1,942
    Trophy Points:
    272
    Gender:
    Male
    Location:
    rom0:/
    @jolek It is normal in unix-like file systems that upper/lower case have meaning. Only FAT family and NTFS are crippled. ;)
     
  2. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    Thanks.
    I've checked this on Linux Mint 18.3 with EXT4 file system.
    It can have two the same files with "different" extension:
    [​IMG]
    Now I know why covers for OPL should have extension in lowercase.
     
  3. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    Changelog for build 2018/07/23:
    • Updated USBHDFSD.
    • Refactored configuration menu for easier maintenance.
    • Removed defunct interlace option.
    • Enabled the use of the $gp register.
    • Increased alignment of transfer buffer for better transfer performance.
    Downloads/Links
    LaunchELF build 2018/07/23: https://www.sendspace.com/file/jgqhhk
     
  4. 12
    11
    7
    AxelClash

    AxelClash Forum Noob

    Joined:
    Jul 8, 2018
    Messages:
    12
    Likes Received:
    11
    Trophy Points:
    7
    Gender:
    Male
    Welcome to Linux... ;)
     
  5. 2
    0
    5
    trve_kvlt

    trve_kvlt Forum Noob

    Joined:
    Aug 3, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    Gender:
    Male
    Hi, I have problem with some of the I/O modules, more specifically with "mass" and "DVD". When I boot the new version of uLE a message is displayed "Loading HDD modules" before I get to the file manager and when I step into "mass0" or "cdvdfs" they are always empty, no errors.

    It feels like I'm missing something that should have been done but I'm not sure, do you know what it might be?
     
  6. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    New versions of LaunchELF will support the HDD unit; they will load HDD modules and attempt to load LAUNCHELF.CNF from the HDD unit.

    For USB devices: they must be formatted with FAT12, FAT16 or FAT32. NTFS and exFAT are not supported! Multi-function devices (devices with >1 LUN) like your multi-format SD card reader, are not supported.
    For LaunchELF only: the device may have more than 1 partition, but this might not be supported by other homebrew software.

    For CD/DVD: did you insert a disc that your PlayStation 2 supports?
     
  7. 2
    0
    5
    trve_kvlt

    trve_kvlt Forum Noob

    Joined:
    Aug 3, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    Gender:
    Male
    I have tried multiple DVD discs including originals PS2 games, I have also tried some data discs I had around but without success.

    I have a single partition on my USB stick that is FAT32, when I try it with v4.42d it works as expected so it shouldn't be the hardware.

    I have also tried compiling from source but the same problem resides.
     
  8. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    Is your PS2 actually able to read them? Have you been using this PS2 to play those game discs?

    Normal data discs for the PC will not be accepted.

    The old USBHDFSD module from v4.42d used to lack a check on whether there were actually partitions on the disk.
    So if you had partitions but none were supported, then it would try to mount the whole disk as FAT32... which is wrong. Some people actually continued using it that way, until they upgraded and found that the new releases of LaunchELF reject those disks.

    If you are certain that the partition is FAT32, then can you also ensure that it is made the active partition?
     
  9. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    Without modchip, wLe can only access original PS1\PS2 games (can see content of them in file browser).
    DVD-Video, CD-Audio or even ESR patched disks are not visible (empty list).

    I've checked this on build from 23/07/2018.
     
  10. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    @sp193 I think that the old bug has return:
    [​IMG]
    When I'm trying turn off my SCPH-50004 without HDD, wLe is crashing.
    With HDD, everything is fine (console is switching off).

    Tested on build from 23/07/2018.

    EDIT 1: I also tried New Poweroff ELF from here:
    http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-126749.
    Everything is fine, no matter if I have HDD or not (PS2 will power off).

    EDIT 2: I've made a test also with Network adapter (without HDD).
    Also everything seems to be fine.

    So it turns out that this option needs Network adapter,
    hence no one with SLIM console is "complaining". ;)
     
    Last edited: Aug 6, 2018
  11. 27
    24
    32
    CountDuckula

    CountDuckula VIP PSX-Place Supporter

    Joined:
    Aug 6, 2017
    Messages:
    27
    Likes Received:
    24
    Trophy Points:
    32
    Gender:
    Male
    I'm currently upgrading from an old 320GB PATA drive to a 1.5TB 2.5" SATA with a modded official network adaptor, can confirm I had the same issue with the poweroff option when the network adaptor was removed, once it was re-attached it began working again.
    This is using version of launchelf included with 'FMCB installer v0.983 (FMCB v1.964, 2018/07/22)'.

    The new version you linked to worked correctly with the network adaptor disconnected.
     
  12. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    I've recently made few tests with two SCPH-50004.
    None of them seems to power off,
    when I select this option from wLe, when NA is disconnected.
    Both freezes at this screen:
    [​IMG]
    Are you sure that you was testing build from 23/07/2018 (commit c1becb0)?
    What model have you got?
     
  13. 27
    24
    32
    CountDuckula

    CountDuckula VIP PSX-Place Supporter

    Joined:
    Aug 6, 2017
    Messages:
    27
    Likes Received:
    24
    Trophy Points:
    32
    Gender:
    Male
    Sorry, I meant that I had the same freezing issue with the ps2poweroff option in wle when the NA was disconnected, but the poweroff elf you linked works with or without the network adaptor.
    Same results as you :)
     
    jolek likes this.
  14. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    LaunchELF commit, 2018/10/20

    Changelog:
    • Consolidated hardcoded values as enumerations or definitions.
    • Updated USBHDFSD, for compatibility with devices that have a single Alternate Interface configuration.
    • Fixed loading & saving of configuration to the HDD unit, when LaunchELF is booted from the HDD unit.
    • Settings like the video mode should now be binding, when LaunchELF is loaded from the HDD unit, since the GS is now initialized after the configuration file is loaded from the HDD unit.
    • Removed support for being booted from the "pfs" device because it cannot happen and cannot be processed (unable to determine the partition it was booted from).
    • Added more comments to explain the code that loads files from the HDD unit.
    • Removed code for "triggering poweroff" that did not do anything.
    • Fix for poweroff when there is no SPEED (no network adaptor) connected: check that DEV9.IRX successfully loaded and returned RESIDENT END.

    Downloads/Links
    LaunchELF: https://www.sendspace.com/file/d3ugcf
     
    TnA, Algol, svotib and 3 others like this.
  15. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    YYYeeeppp, working and now it's as fast as [​IMG]
    Thanks.
     
    TnA, Algol and sp193 like this.
  16. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    I think I have also fixed the problem with saving/loading network configuration to the HDD unit sometimes failing, due to the HDD partition not being mounted or the HDD modules not being loaded at the time.
    It will now allow the settings to be saved to a directory on the HDD (same directory that LaunchELF is booted from).

    But due to me changing unfamiliar code, I really hope that nothing else was ruined.
    If there are no other problems, we could probably crown this as the next stable release: https://www.sendspace.com/file/r2168y
    Maybe the long-overdue v4.50.
     
    jolek, TnA, svotib and 2 others like this.
  17. 1,260
    854
    272
    jolek

    jolek Senior Member

    Joined:
    Dec 29, 2017
    Messages:
    1,260
    Likes Received:
    854
    Trophy Points:
    272
    Gender:
    Male
    I don't know if I understand correctly.
    Both versions (BOOT-181021.ELF, BOOT-181020.ELF) has:
    Although:
    For know I haven't got any problems with BOOT-181020.ELF on SCPH-50004.
    On Tuesday I can make extended tests with BOOT-181021.ELF on SCPH-77004.
    During weekend on I'll try to also test BOOT-181021.ELF on SCPH-50004.

    - Thanks.
     
    Algol likes this.
  18. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    It sounds confusing because it is. :D
    Logically, you would have one function for saving and one for loading configuration. But LaunchELF has multiple functions for that (for main config, network and skins), and they don't work in the same way. That was the reason why I could not fix the problems it had with not totally supporting the HDD unit properly.

    On second thought, I think it is okay to wait a while longer before deciding on how to update LaunchELF's version number again. I will re-release FMCB with just another build numbered "4.43a". Thank you for testing.

    Since @akuhak also still has some things left in the TODO list, does @akuhak have anything to add on, which needs to be done?
     
    Algol likes this.
  19. 63
    81
    42
    El_Patas

    El_Patas Member

    Joined:
    Aug 10, 2017
    Messages:
    63
    Likes Received:
    81
    Trophy Points:
    42
    Gender:
    Male
    Just for reminder if someday you can do the support again for the special latin characters
    for the custom languages like spanish, thank you.

    Best regards
     
  20. 685
    1,183
    222
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    685
    Likes Received:
    1,183
    Trophy Points:
    222
    Location:
    Singapore
    Home Page:
    LaunchELF commit 9db3bcc, build 2018/11/05

    Changelog:
    • Updated USBHDFSD: fix bug that prevented correct reading & writing. Also relaxed restriction on Unicode codepoints to support glyphs up to index 255.
    • NEW 2018/11/05: Improved file-copying performance, by aligning buffer sizes and increasing the block size for transfers to USB devices.
    • NEW 2018/11/05: It is now possible to access mass: directly from FTP.
    • NEW 2018/11/05: Fixed graphical glitch in help text when highlighting some menu options in some menus.

    Downloads/Links
    LaunchELF: https://www.sendspace.com/file/xdfrdb

    This may be a bit too early to say, but I have no time to actually spend here these two weeks. However, due to the severity of this sort of bug, I have made new releases of LaunchELF, FMCB, PS2Ident and HDDChecker.
    If @akuhak's bot will build with the patched SDK, then it is fine. But in case it does not, here is a good copy.

    Well, I'm hoping the new commit fixes the last of the problems from June 8th. If not, then I will be feeling sad. But if I knew the reason why it has been so defective, then it would have been fixed long ago. :hopelessness:

    Hi,

    I think I might have explained this to you before, but since we are on a new forum where the old explanation does not exist: this isn't a LaunchELF thing, but a problem with USBHDFSD. The "Spanish" characters are actually part of Unicode. But yet, USBHDFSD does not actually support it.

    But since you have been asking nicely for some time, I have relaxed the restriction that restricts characters to the actual ASCII range (0-127). Although I would rather implement complete UTF-8 support for completeness, I cannot find a good way to do it:
    So as a compromise, I just widened the accepted range to 0-255, which would give the old behaviour.
     
    Last edited: Nov 10, 2018
    Krah, Tupakaveli and jolek like this.
Tags:

Share This Page