PS2 SoftDev2 MBR KELF [POC/WIP]

Status
Not open for further replies.
Don't worry. I'm patient person.

I'm interesting in this project so I can help You in qa tests. :)
Good to know that, thank you.

BTW: Buttons are properly working on installer, right? In that case, I need to dig deeper due to installer uses same module and approach for game pad.
 
softdev2_installer_1.png softdev2_installer_2.png softdev2_installer_3.png softdev2_installer_4.png
 

Attachments

Thanks. ^^

Well, there is progress.
  • Pressing nothing, loads OPL and it works ok.
  • Pressing circle, cause loading ULE.ELF and Circle button doesn't work (works i.e cross)
  • Pressing cross, cause loading... ULE.ELF, not FHDB, and circle works, triangle works but cross doesn't.
  • Pressing triangle cause loading standard OSDSYS and it seems works fine.
"Doesn't works" means no reaction for button pressing. I.e in default settings, cross means cancel and circle confirm/enter, so pressing circle doesn't makes that user go into i.e "mass:/". Nothing just happening.
 
Last edited:
  • Like
Reactions: TnA
Thanks for such quick tests.
Pressing nothing, loads OPL and it works ok.
Good.

Pressing circle, cause loading ULE.ELF and Circle button doesn't work (works i.e cross)
Weird.

Pressing cross, cause loading... ULE.ELF, not FHDB, and circle works, triangle works but cross doesn't.
Are you sure you have SYS_FHDB.ELF in PP.HOMEBREW/boot?, my code launches ULE if intended ELF to launch is not found.


Pressing triangle cause loading standard OSDSYS and it seems works fine.
Good

Well, ULE is complaining about the way I'm initializing the PAD, it's so weird the way last pressed key stops working on ULE.
Does this happen with a different DS2 controller?
 
Yes, I have all the files. Even on both locations for test (on my partition and on default from official installer).

Unfortunately I have only one DS and DS2 (both original). Only connected one joypad at once, always to port 0. But joypad works fine because I'm using it in most of games on OPL, so pressing there all buttons. DS2 have analogue circle, triangle, cross etc. so knowing that, I even pressing them like Kratos (just in case when i.e values are wrongly set to recognize pressing pressure). ;p
 
Oh, I'm stupid. I have FHDB_SYS.ELF instead of SYS_FHDB.ELF... Now it loads but... cross doesn't react. ;) Just like in uLE case.
 
However, I discovered something interesting. I have set uLE in OPL cfg. When I run uLE from OPL, and keep pressed button, it makes uLE the same behaviour, depend of button was pressed, it will not work in uLE... And the same with OSDSYS and FHDB.

So it seems, something wrong with my firmware maybe?

I never needs any hot buttons, never used such features in any app before. So I never spot this issue. Conclusion looks like everything is fine with Your code, but for some reason not on my console, which is weird more because I currently don't have any modchip.
 
The same issue with circle and uLE.

Meanwhile I have added post no.51. Maybe all this effort is not worth Your time because somehow it is my console fault, not Your code in any of the versions.
 
However, I discovered something interesting. I have set uLE in OPL cfg. When I run uLE from OPL, and keep pressed button, it makes uLE the same behaviour, depend of button was pressed, it will not work in uLE... And the same with OSDSYS and FHDB.
That's even weirder, I've never seen that before.

So it seems, something wrong with my firmware maybe?
Not sure, maybe a faulty DS2 gamepad or port.

I never needs any hot buttons, never used such features in any app before. So I never spot this issue. Conclusion looks like everything is fine with Your code, but for some reason not on my console, which is weird more because I currently don't have any modchip.
Yeah, essentially we both have twin consoles. But that issue is related to firmware/hardware regarding DS2 management.
 
But if faulty DS2, why no problems in games?

So it looks like now, in my case, loading automatically OPL should be sufficient, and I just put uLE and FHDB in APPS category in OPL (by this way, I avoid holding buttons which for some reason making issues on launched apps). Very strange and very unexpectedly. ^^
 
Just another idea: If You could hijack PAD module to use DualShock 4 (like i.e OPL doing), I could test it if the same behaviour occurs. Also would be interesting if Installer allow user to choose between version using DS/DS2 and DS3/DS4.
 
I can confirming that I have exactly the same problems with uLE run from hot button by FMCB alone.

- - -
Just letting know anyone who want go back to FHDB auto booting, it is enough to replace MBR.XLF in the installer of the KELF comes from FHDB previously written to "hdd0:/__mbr" (I attached it in one of the earlier post as "MBR_FHDB.XLF", just rename the file and replace the original which comes from SoftDEV2 Installer; file can be easily retrieved on PC using IsoBuster).

@chris111
 
Just released a new version with following features:
  • Launcher is not compressed taking into account KELF size can go up to 883200 bytes, nonetheless it's 527368 bytes.
  • Compression avoiding allows MBR launcher to be directly loaded from 0x100000 address.
  • A single ELF loader is used to load ELFs and patched OSDSYS.
  • A new partition is not created, instead hdd0:/__sysconf/softdev2 is used.
https://github.com/parrado/softdev2-launcher/releases/tag/v1.0.3

Just started coding the installer by using the assets @Berion kindly provided me several days ago.
 

Attachments

Last edited:
Awesome news! Both of them. ^^

Forgot to mention backgrounds: are 24bit, while all monochrome bitmaps are 8bit with indexed alpha. OPL support it so if You have troubles, maybe it would be worth to look at libs used by it. Or they can be converted to 32bit of course.
 
Status
Not open for further replies.

Similar threads

Back
Top