sp193
Developer
The problem that @UniqueUserName mentioned regarding the inability to boot my SnesStation mod from LaunchELF seems to be the cause of the random boot failures for my own original pieces of software.
Recently, I have been working on changing the design of the FMCB Installer, so that SECRMAN would work without modifications on both CEX and DEX consoles, like on the HDD Utility Disc... Well, whether that works well or not is still to be decided. However, the new binaries cannot be booted directly from LaunchELF again. This is not the first time that such a thing has happened, as @RandQalan has mentioned before (maybe not here, but on psx-scene).
The fault cannot be replicated on a TOOL, so it may be dependent on the hardware (I am using my SCPH-77006). Replacing the homebrew MCMAN module within LaunchELF with rom0:MCMAN did allow FMCB Installer to run... But now somehow even if all the Sony (X-)modules from ROM are used, the problem still occurs. Oddly, it only happens when the FMCB Installer is packed, but the packed file can be booted indirectly from DSEDB with no problems.
So I'm hoping that somebody will eventually find out what this is all about. I have no idea how to even start.
If there is a problem with the homebrew SIO2 modules, then there should be some difference that can be obeserved through disassembly. But these modules seem quite large, so I do not feel like checking through them.
EDIT: to clarify, my apps are usually packed with a custom packer. The algorithm is also N2E, the same one used in the normal ps2-packer lite build. However, it is the C version, which I hoped would allow me to avoid the same but that ps2-packer currently has. The load address of the packed file is 0x00100000, and it unpacks the payload to 0x00200000. Very much like official software that is packed.
When packed with ps2-packer, the packed file can be booted from LaunchELF. @_@
Adding a breakpoint within LaunchELF's ELF loader module and immediately resuming after the breakpoint is hit, also solves the freeze on my SCPH-77006.
There are a lot of possible factors here, which is why it is so overwhelming lol
Recently, I have been working on changing the design of the FMCB Installer, so that SECRMAN would work without modifications on both CEX and DEX consoles, like on the HDD Utility Disc... Well, whether that works well or not is still to be decided. However, the new binaries cannot be booted directly from LaunchELF again. This is not the first time that such a thing has happened, as @RandQalan has mentioned before (maybe not here, but on psx-scene).
The fault cannot be replicated on a TOOL, so it may be dependent on the hardware (I am using my SCPH-77006). Replacing the homebrew MCMAN module within LaunchELF with rom0:MCMAN did allow FMCB Installer to run... But now somehow even if all the Sony (X-)modules from ROM are used, the problem still occurs. Oddly, it only happens when the FMCB Installer is packed, but the packed file can be booted indirectly from DSEDB with no problems.
So I'm hoping that somebody will eventually find out what this is all about. I have no idea how to even start.
If there is a problem with the homebrew SIO2 modules, then there should be some difference that can be obeserved through disassembly. But these modules seem quite large, so I do not feel like checking through them.
EDIT: to clarify, my apps are usually packed with a custom packer. The algorithm is also N2E, the same one used in the normal ps2-packer lite build. However, it is the C version, which I hoped would allow me to avoid the same but that ps2-packer currently has. The load address of the packed file is 0x00100000, and it unpacks the payload to 0x00200000. Very much like official software that is packed.
When packed with ps2-packer, the packed file can be booted from LaunchELF. @_@
Adding a breakpoint within LaunchELF's ELF loader module and immediately resuming after the breakpoint is hit, also solves the freeze on my SCPH-77006.
There are a lot of possible factors here, which is why it is so overwhelming lol
Last edited: