PS2 FMCB/FHDB v1.9 series release thread

Discussion in 'Free MCBoot' started by sp193, Apr 8, 2017.

  1. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    EDIT 2018/07/21: FMCB v1.964 released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-4#post-131088
    EDIT 2018/07/04: FMCB v1.963 re-released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-129231
    EDIT 2018/07/03: FMCB v1.963 released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-129101
    EDIT 2018/06/28: FMCB v1.962 re-released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-128686
    EDIT 2018/06/20: FMCB v1.962 released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-127560
    EDIT 2018/06/19: FMCB v1.961 released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-127435
    EDIT 2018/06/12: FMCB v1.96 re-released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/#post-126696
    EDIT 2018/06/08: FMCB v1.96 released - http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/#post-126237

    What is FMCB?


    Free Memory Card Boot (FMCB) is a piece of homebrew software, which is designed to setup your PlayStation 2 console and provides you with means of launching homebrew software, without the need for any extra hardware, modifications to your console or dangerous tricks like the legendary swap trick.

    FMCB was originally developed by Neme and Jimmikaelkael, but they have been kind enough to provide me with access to its source code, for me to make some improvements to it.

    FMCB is installed onto your memory card. While clone/compatible memory cards may work, they are copies of a proprietary memory card, which often means that they aren't perfectly compatible. Please use clones/compatibles at your own risk.

    FMCB will not allow you to boot games that you cannot already play. This means no playing of burned and imported discs.

    What is FHDB?

    Free Harddisk Drive Boot (FHDB) is basically FMCB that gets installed onto the PlayStation 2 console's HDD unit. It does everything like FMCB does, but is meant to be used with the Sony HDDOSD (Browser update v2.00).

    Patched/modified copies of the HDDOSD may not work, although non-Sony disks are supported by FHDB itself.
    ***Whether the hacked HDD OSD supports non-Sony disks or not depends on whether it was modified to support non-Sony disks.***

    Modifying or getting a pre-modified copy of the HDDOSD is not under this project, which is why that topic will not be discussed here.

    Like with FMCB, FHDB will not allow you to boot games that you cannot already play. This means no playing of burned and imported discs.

    What does FMCB v1.9 offer?

    For mere humans:
    1. Smaller, faster and more stable.
    2. The HDD unit is now supported.
    3. The "Early Japanese"/PCMCIA units (SCPH-10000, SCPH-15000 and SCPH-18000) are fully supported.
    4. Includes kernel update (ExecPS2 fix) for the SCPH-10000 and SCPH-15000.

    5. Chinese consoles are now supported (e.g. SCPH-50009).
    6. Support for the PSX (DVR)
    7. When you leave the CD/DVD tray ejected, FMCB/FHDB will not stall.
    8. Your play history will now be updated (The towers in the background of the "Sony computer entertainment" screen should continue to grow taller and greater in numbers).
    9. Support for selected DEX console models.

    Unsupported consoles:
    Please refer to this thread: http://psx-scene.com/forums/f153/pla...bility-155567/ (PlayStation 2 model compatibility)

    Please read the included README file for information regarding limitations/known issues and other important notes!

    Before posting/asking questions, please read this question and answer article which I spent a little time writing up: http://ichiba.geocities.jp/ysai187/PS2/FMCB/FMCB_19_QA.htm

    Downloads/links:
    FMCB & FMCB installer project homepage: http://ichiba.geocities.jp/ysai187/PS2/FMCB
    Sister thread on PSX-scene: http://psx-scene.com/forums/f153/fmcb-v1-9-series-release-thread-116247

    Additional Resources
    Poweroff ELF (menu entry for switching off the PS2): http://www.psx-place.com/threads/fmcb-fhdb-v1-9-series-release-thread.13413/page-2#post-126749
    HDDChecker (HDD Maintenance tool): http://www.psx-place.com/threads/hddchecker.3855/

    ***
    Note: If you have problems getting FHDB to boot (No FMCB logo), then you might have a problem with your HDD. Please download and run this tool to determine what's wrong: http://ichiba.geocities.jp/ysai187/PS2/HDDChecker.htm

    All checks must pass, including the S.M.A.R.T. status.
    Disks that fail the S.M.A.R.T. test are about to fail, and should be replaced.

    If the partition bad sector check fails, it means that your disk has been marked as having bad sectors by a filesystem driver. Using WinHIIP's scan and repair function should solve that, assuming that the bad sector(s) was remapped by the drive successfully. Alternatively, a format with WinHIIP or uLaunchELF should solve it too, at the expense of all unbacked-up data.
     
    Last edited: Jul 21, 2018
  2. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    FMCB v1.953 released!

    Changelog for the installer v0.973:
    • Updated to contain the fixed USBHDFSD module.
    • Updated to contain the updated HDD modules (<=2TB HDD support, bugfix to PFS etc).
    • The APPS partition will only be created, if it does not already exist and only if the APPS-HDD directory contains something.
    • Corrected error-passing within code that determines what to copy.
    • Replaced the font-drawing system with a new design.

    Minor update 2016/12/16:
    • Fixed coordinate overflow in font-drawing.
    • Removed unused Japanese font. Will re-add, if a translation is added.
    • Updated Germal localization. Special thanks to LopoTRI.
    • Rebuilt to not have the full kernel OSD patch (PS2SDK update).
      (prevents users of SCPH-10000/SCPH-15000 from being blocked from changing the language setting)

    Changelog for FMCB/FHDB v1.953:
    • Updated to contain the fixed USBHDFSD module.
    • Updated to contain the fixes to the HDD modules.
    • Ported fixes to FSCK from HDDChecker.

    Minor update 2016/12/16:
    • Rebuilt to not have the full kernel OSD patch (PS2SDK update).
      (prevents users of SCPH-10000/SCPH-15000 from being blocked from changing the language setting)


    Downloads/links:
    FMCB + FHDB + Installer Project page: http://ichiba.geocities.jp/ysai187/PS2/FMCB
     
    kozarovv and RandQalan like this.
  3. 377
    125
    72
    kadorna2

    kadorna2 Member

    Joined:
    May 19, 2015
    Messages:
    377
    Likes Received:
    125
    Trophy Points:
    72
    Used this when I still had the fat ps2 with NA and HDD, even before the first public version of FHDB was released... Man do I miss that, instant ps2... Only sold it because I got a BC ps3 which can do pretty much the same, otherwise I'd have kept it
     
  4. 25
    17
    32
    CountDuckula

    CountDuckula VIP PSX-Place Supporter

    Joined:
    Aug 6, 2017
    Messages:
    25
    Likes Received:
    17
    Trophy Points:
    32
    Gender:
    Male
    I just wanted to say a huge thankyou to you sp193 for all your work in maintaining/improving FMCB/HDLGameInstaller and other tools.

    I only got my first PS2 last week (I'm a little late to the party) and was pleasantly surprised to find that not only are there still guides on using these tools, but they've actually recieved updates this year.

    After receiving a FMCB card from a friend yesterday I was able to pretty easily work out how to create another as a backup, configure the menu items etc. The 'noobie' packs just look to have a few extra program ELF files in boot/apps/hdd-apps and listings for them in the cnf file, once i could see the final folder structure on the FMCB card itself the usage was all pretty clear.

    Just waiting on my network adaptor so I can try out an internal HDD, once it's here Ill use your HDD checker to see if my old PATA drives are still in an acceptable state :)

    I was unable to sign up for that other PSX site to say thanks, luckily you're on this forum also.
    It really is impressive that I can just stick a specially configured memory card into a stock console and have so much power to play around with cool new toys.
     
    Last edited: Aug 8, 2017
    sp193 likes this.
  5. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    A counter-example has been found, so there are R-chassis consoles with ROM v2.20 (that support FMCB).
    The example is a SCPH-90004a with datecode 8C, so it could mean that the switch to ROM v2.30 happened shortly after.

    Special thanks to Mihaelzeuch.

    This method may still have some use, compared to the traditional method of comparing datecodes. Given that not all models had datecodes, but had chassis model letters.
     
    Last edited: Apr 21, 2018
    krHACKen, aldostools and kozarovv like this.
  6. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    FMCB v1.96 Released!

    Changelog for v1.96
    • Updated USBHDFSD, for better USB device performance
    • Updated HDD modules.
    • Updated to build with the latest PS2SDK, for reliability.
    • Corrected logic error in history-updating code.
    • Replaced DVD player booting code, to give the Sony-like behaviour. For compatibility with all DVD players and projects.

    Changelog for the installer v0.981
    • UI rework.
    • Updated USBHDFSD module for performance.
    • Updated translation template.

    Note: there were a lot of changes made, code-wise. Some changes were even lost in time.

    Downloads/Links
    FMCB project page (downloads at bottom): http://ichiba.geocities.jp/ysai187/PS2/FMCB/
     
    klx, krHACKen, aldostools and 3 others like this.
  7. 17
    6
    32
    Nameless32

    Nameless32 Member

    Joined:
    Feb 7, 2015
    Messages:
    17
    Likes Received:
    6
    Trophy Points:
    32
    Thanks o/
     
  8. 383
    212
    72
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    383
    Likes Received:
    212
    Trophy Points:
    72
    Gender:
    Male
    Thanks for the new version. There are few things...

    1. Can the markers for FMCB\FHDB be the same?
      Currently markers for FMCB are <, >:
      [​IMG]
      For FHDB ©, ↑:
      [​IMG]
    2. In installer now the new font looks awesome,
      but when I "highlight text" for the 1st time, it takes some time for respond
      [​IMG]
      [​IMG]
    3. Do we now have new version of wLe?
      In About uLe, there is 19\02\2018:
      [​IMG]
     
    Last edited: Jun 9, 2018
  9. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    No, the icon mapping between the browser versions is different.

    I've spent a considerable amount of time on reworking the UI, to find the best way to work with the variable-width font. Unfortunately, this was the best solution I could come up with, to allow for okay bootup times and for a variable-width font to be used.

    Originally, it used to scan for and wrap long lines at boot. But using FreeType to measure the width of any text is just so slow, that it took a whole minute for the installer to start up...
    So now I do the wrapping when the line is used the first time. Hence when you move the cursor around, the UI will become more responsive.

    It was built yesterday with the PS2SDK fixes, with no changes to LaunchELF itself. I know that AKuHAK made the date automatic... but it only considers the commit date.
     
    svotib likes this.
  10. 383
    212
    72
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    383
    Likes Received:
    212
    Trophy Points:
    72
    Gender:
    Male
    Are you sure?
    I'm asking because, when I change (in: Configure OSDSYS options...\Configure Scrolling Options)
    from:
    [​IMG]
    to:
    [​IMG]
    I have "normal" markers:
    [​IMG]

    I just only delete 6/5 and enter 9/8 in FHDB config.
    Then save CNF to hdd0.

    EDIT: I've uploaded almost default config for FHDB 1.96.
    I've only changed the markers
    and Go to Browser: Force OFF.

    I also notice that in new wLe coping files from PS2HDD to mass don't work.
    I'm getting pastie failed.
    With version from 09/09/2017 coping seems to work fine.
     

    Attached Files:

    Last edited: Jun 9, 2018
    sp193 likes this.
  11. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Yes. If you don't use the HDD Browser (v2.00), then you will get what you observed. You can even copy + paste (or even just resave) the FMCB file, and it will work.

    FHDB was made to be used with the HDD Browser. But if the user does not have it installed, then it will use the ROM browser instead. That is why its default FREEHDB.CNF file will not display properly in the ROM browser.

    Really? Wow.
    Nothing got changed though. But it's not really surprising, I guess. LaunchELF has bad code. USBHDFSD also has bad code. Just touching anything or if the planets aren't aligned, will cause the unhelpful error to appear... :eek:

    If USBHDFSD has a problem with writing files, then it should always fail. If PFS and/or APA had issues, then we should have more visible problems.
    But no, we get this after putting it all together. o_O

    PFS itself might have problems, as you have noticed from HDDChecker. Sometimes, I seem to get corruption (LaunchELF reports paste failed), but I cannot tell why it happens.
    Just today, I've found another bug with it, since our version was based on the HDD Utility disc's version - so our homebrew module sets UID and GID to 0, but software may ignore files that do not have GID and UID set to 0xFFFF.

    USBHDFSD itself might have problems that were never found too. We all know that somehow, corruption happens.
     
    Last edited: Jun 9, 2018
    jolek likes this.
  12. 383
    212
    72
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    383
    Likes Received:
    212
    Trophy Points:
    72
    Gender:
    Male
    Why not use the same UI as in HDL (font drawing, etc)?

    In HDL every action seems to be very fast (immediately).
     
  13. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Actually, HDLGameInstaller's GUI is a custom version of the system from the 3 other (newer) projects. It's a custom version because it is the only one of my projects left that still uses gsKit and has far more complicated needs (e.g. soft keyboard, scrollable game list, device list, 3D icon rendering).
    A lot of time was spent replacing HDLGameInstaller's 6-year old UI code. So it wasn't cheap (time-wise) to make either. I had most trouble getting the variable-width (non monospace) fonts to draw nicely in the game list and the soft keyboard.

    While the new GUI design came from HDDChecker, the new font-drawing code started with HDLGameInstaller. So I made HDLGameInstaller use the new UI, before changing the font-drawing code. And then after all that, I back-ported the code to the 3 other projects.

    The slow part is the measurement and auto-wrapping of messages. So if the tool does not have many lines, it would be "fast".
    This feature was added to HDLGameInstaller v0.816. At v0.815, auto-wrapping was just removed because I had no idea how to make it work with the variable-width font.
    It used to also affect button-drawing, but I cheated my way out lol - I draw the label of the button without any centering for the first frame, calculating the width of the label in the process, before drawing it in the right place for all subsequent frames.

    Honestly, I do not know if I did anything wrong or what, but it does feel like the calculation of the font glyph widths (by FreeType) is slower than actually drawing the glyphs - but I do not know why.
    Since the documentation mentioned that it is slow, I assumed that its time complexity is just very great, which is bad for a 19-year old console anyway.

    But thanks for asking. I think it's good to have this explained somewhere.
     
    Last edited: Jun 9, 2018
    jolek likes this.
  14. 383
    212
    72
    jolek

    jolek Member

    Joined:
    Dec 29, 2017
    Messages:
    383
    Likes Received:
    212
    Trophy Points:
    72
    Gender:
    Male
    It's probably not a big deal, but sometimes to turn off my PS2 in FHDB Browser I used app "packed_poweroff.elf".
    This app seems to be also included in previous FMCB noobie packages.
    With FHDB 1.96, after I run this app through FHDB menu I'm getting stuck at black screen.
    With previous FHDB versions, PS2 turns off normally.
    I even tried to run it through wLe (couple versions) and it worked as it should turning off my PS2.

    So maybe now Updated HDD modules will not work with some old homebrew?

    I'm attaching "packed_poweroff.elf" with source code taken from here:
    https://web.archive.org/web/2010101...ms/f153/can-anyone-creat-me-elf-please-63738/ (web archive, post #6),
    http://psx-scene.com/forums/f153/can-anyone-creat-me-elf-please-63738/index3.html#post1217581 (original thread).
     

    Attached Files:

  15. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Beware - USB support may be severely bugged

    This does not only affect FMCB, it affects the new copies of any software that writes. Maybe reading as well, but so far I've not seen it give problems while reading.

    What happened today was that I tried to add a logging feature to HDDChecker, but it would always corrupt my USB disk. Very badly.
    It should be a problem with USBHDFSD. I then tried to revert the likely culprits, 7f21832, 6f940a2 and d4c0411, but the corruption still occurred after the next run of HDDChecker.
    Worse still, it seems like HDDChecker has font-drawing problems... so I don't know, maybe Git could not even revert those commits cleanly or the bug is actually elsewhere.

    This is giving me a headache and I really have no wish to waste anymore time on these projects. I am prepared to write off all the time I spent on that day, for USB support.
    So if anybody else mentions issues with the USB modules destroying their data, I shall do a mass-revert and re-release all software that I have released over the past 3 days.

    I am sorry for the inconvenience caused.

    All running software have full control. So if it does not work after an update, it probably doesn't reboot the IOP and was relying on POWEROFF.IRX that FHDB used to load (it no longer loads it).

    I cannot open that file today. But I'll fix it on behalf of Belek666, once the major issue above has been settled.
     
  16. 120
    31
    32
    Ps3_dev

    Ps3_dev Member

    Joined:
    Dec 20, 2017
    Messages:
    120
    Likes Received:
    31
    Trophy Points:
    32
    Gender:
    Male
    Developer i have a console of scph 90004 with R-chassis but i have running fmcb v1.953 on my ps2 by hacked OSDSYS LAUNCHER. so i have a doubt if i update to v1.96 by replacing boot.elf in boot folder by HACKED OSDSYS then it will boot or not
     
  17. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    If you could run FMCB with your PlayStation 2, then it is a R-chassis model with ROM v2.20. There are some units like that.

    To upgrade, you need to download the package and run the FMCB installer. FMCB must be installed.

    But for now, I am investigating a possible bug in the USB drivers. So you may want to hold off upgrading to v1.96, until tomorrow.
     
  18. 120
    31
    32
    Ps3_dev

    Ps3_dev Member

    Joined:
    Dec 20, 2017
    Messages:
    120
    Likes Received:
    31
    Trophy Points:
    32
    Gender:
    Male
    Bro my rom version is 2.30 bro but i have modbo 4.0 chip
     
  19. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    Okay, then it depends on the software you use to boot FMCB, since your PS2's browser cannot do it.
    Is FMCB still stored as mc:/BxEXEC-SYSTEM/osdmain.elf? If so, you can try to install FMCB the normal way and it should probably work.
     
  20. 374
    596
    147
    sp193

    sp193 Developer

    Joined:
    Oct 13, 2014
    Messages:
    374
    Likes Received:
    596
    Trophy Points:
    147
    Location:
    Singapore
    Home Page:
    FMCB v1.96 Re-released!

    Changelog for FMCB/FHDB

    Changelog for v1.96:
    1. Updated USBHDFSD, for better USB device performance
    2. Updated HDD modules.
    3. Updated to build with the latest PS2SDK, for reliability.
    4. Corrected logic error in history-updating code.
    5. Replaced DVD player booting code, to give the Sony-like behaviour. For compatibility with all DVD players and projects.
    6. NEW! - Re-released with the corrected USBHDFSD and PFS modules.

    Changelog for the installer
    Changelog for v0.981:
    1. UI rework.
    2. Updated USBHDFSD module for performance.
    3. Updated translation template.
    4. NEW! - re-released with the corrected USBHDFSD and PFS modules.
    5. NEW! - Updated FSCK to v0.96.
    Note: LaunchELF has been updated to use the corrected USBHDFSD and PFS modules as well.

    USBHDFSD had issues with writing correctly. Since external homebrew software may use the USBHDFSD module that FMCB/FHDB provides, I have made a new package.
    LaunchELF also has its own copies of USBHDFSD and PFS, which have been updated as well.

    Downloads/Links
    FMCBInstaller + FMCB + FHDB project page (downloads at bottom): http://ichiba.geocities.jp/ysai187/PS2/FMCB/
     
    Berion, RandQalan and bguerville like this.

Share This Page