ps2homebrew / Open-PS2-Loader

Game and app loader for Sony PlayStation 2
https://ps2homebrew.github.io/Open-PS2-Loader/
Academic Free License v3.0
2.13k stars 270 forks source link

[ISSUE][SCUS_971.46]: Treasure Planet crashes after SONY logo (ETH) (Pad Emu) #816

Open DOOTGUY opened 1 year ago

DOOTGUY commented 1 year ago

Checks

Describe the issue

Treasure Planet crashes after Sony Computer Entertainment logo when playing via ETH with Pad Emu turned on (Mode 3 & 6 in game settings)

Console model

SCPH-90004

OPL version / revision

OPL 1.2.0 Beta 1956

In which device(s) have you experienced this issue?

SMB

Context and extra information

No response

INDRAPhilip commented 1 year ago

OPL DB 914 version seems to work this game on SMB

DOOTGUY commented 1 year ago

OPL DB 914 version seems to work this game on SMB

Maybe but not this one

10522 commented 1 year ago

Disney's Treasure Planet [SCUS_971.46 & SCES_511.76]:

OPL Stable 1.1.0 SMB - black screen on startup OPL Stable 1.1.0 USB - ok

OPL Beta 1.2.0 1940 SMB ISO - black screen on startup OPL Beta 1.2.0 1940 SMB ZSO - ok OPL Beta 1.2.0 1940 USB ISO - ok OPL Beta 1.2.0 1940 USB ZSO - black screen on startup

OPL DB 914 SMB - ok OPL DB 914 USB - black screen on startup

My PS2 model is SCPH-90008. Compatibility modes do not help. I use redump images and don't use PADEMU, VMC, GSM.

DOOTGUY commented 1 year ago

Disney's Treasure Planet [SCUS_971.46 & SCES_511.76]:

OPL Stable 1.1.0 SMB - black screen on startup OPL Stable 1.1.0 USB - ok

OPL Beta 1.2.0 1940 SMB ISO - black screen on startup OPL Beta 1.2.0 1940 SMB ZSO - ok OPL Beta 1.2.0 1940 USB ISO - ok OPL Beta 1.2.0 1940 USB ZSO - black screen on startup

OPL DB 914 SMB - ok OPL DB 914 USB - black screen on startup

My PS2 model is SCPH-90008. Compatibility modes do not help. I used redump images.

Then I have a question. I use Netbox (Like this https://www.youtube.com/watch?v=rGo0BNu7t1c&list=PLp7l-IR6b6RSeR4W3Wrnu_ZEYF0Lf19No&index=5 ) could this be the cause of the problem?

AKuHAK commented 1 year ago

Then I have a question.

Try to compress the game into ZSO

DOOTGUY commented 1 year ago

Then I have a question.

Didn't work

10522 commented 1 year ago

Disney's Treasure Planet [SCUS_971.46 & SCES_511.76]:

OPL Beta 1.2.0 1964 SMB ISO - black screen on startup OPL Beta 1.2.0 1964 SMB ZSO - works well

@AKuHAK, how is it possible that this game doesn't work in ISO but works in ZSO? Can this be fixed?

And one more question. What "magic" does OPL DB 914 use to launch Treasure Planet, LEGO Racers 2, Drome Racers? Is it possible to add this "magic" to new versions of the OPL so that they also work with these games?

UPDATE: Here is the "magic" behind the OPL DB 914.

INDRAPhilip commented 1 year ago

@10522 A lot has changed since DB 914 the SDK, drive, the development tools, all the code and GCC and this can bring improvements to some games, but also make them incompatible in some cases, this is normal and not "magic".

AKuHAK commented 1 year ago

check with this version 2024-db51e73

DOOTGUY commented 1 year ago

check with this version 2024-db51e73

Still the same problem

Danixu commented 11 months ago

Have you tried to change the game options?.

I was thinking that there was a problem with the ZSO games on my internal HDD or maybe the way I have copied it (even I have deleted all the games), just because two or thee that I have tested were not working. That was because testing one of them on my USB has worked perfectly with the default options in ZSO format, and made me think that was wrong in the HDD (I was near to open an issue here). Just activating the Mode 1 has solved the problem and now I am recompressing all the games again to copy it to the HDD.

Best regards.

BloodRaynare commented 11 months ago

Have you tried to change the game options?.

I was thinking that there was a problem with the ZSO games on my internal HDD or maybe the way I have copied it (even I have deleted all the games), just because two or thee that I have tested were not working. That was because testing one of them on my USB has worked perfectly with the default options in ZSO format, and made me think that was wrong in the HDD (I was near to open an issue here). Just activating the Mode 1 has solved the problem and now I am recompressing all the games again to copy it to the HDD.

Best regards.

Sometimes Mode 1 will not fix the issue There's a problem with hdl_dump which used for installing the ZSOs. Basically it expects the size of the ZSOs to be divisible by 2048 bytes like normal ISOs. If doesn't then hdl_dump will truncate it to the nearest divisible size essentially corrupting the installation I already reported the problem to hdl_dump repo (see here)

And as stated in that link too, currently the workaround is pad the ZSO with hex editor or whatever so the sizes are divisible. May not fix all games but still a good way for some.

Of course, SMB and USB don't need to do all of that as the problem is only for HDD.

Danixu commented 11 months ago

I see... I am working on a tool to replace the python version of ziso and improve it if I can. I can easily add an option to that tool to pad the files to the next 2048 bytes if that helps you.

Danixu commented 11 months ago

I have tested all the files that I have copied into my HDD and they are suffering the same problem. No one have the correct CRC and also the CDROM ZSO games suffers of the same 2048 multiples bug, which can be a problem even with the ISO files. They must be a multiple of 2352 which is the sector size of the CDROMs, and not 2048 which is the sector size of the DVDROMs. I'll do some test tomorrow, but is a very problematic bug.

For now I have added an option to my program to pad the files to the upper 2048 bytes multiple and tomorrow I'll test if works as expected to release the binaries.

Best regards.

Danixu commented 10 months ago

Hello again,

It has worked fine, so I have created a new release of the tool: https://github.com/Danixu/ziso_compressor

You have to compress using the --hdl-fix option.

Best regards.