Disclaimer
Issue reports for OPL version which were not downloaded from the official GitHub repo are not accepted.
Before posting the issue confirm that you meet the below requirements.
Describe the issue
it appears that DVD9 games cant access data beyond the 1st layer of DVD9 ISOs
Configuration (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Game should be able read its data.
I have tested God of War II (SCUS_974.81) through USB with OPL 1541:
https://github.com/ps2homebrew/Open-PS2-Loader/releases/download/0.9.3/OpenPS2Loader_0.9.3_Betas.zip.
... and I don't have this problem.
I mean I can select CREDITS from TREASURES and FMV will plays fine.
Are you sure that you have this game in DVD folder? Not in CD?
Anyway... can you try to "slice" this game with USBUtil and place ul. files into root of shared folder?
E.g.
ART
CFG
CD
DVD
...
ul...SCUS_974.81.00
ul...SCUS_974.81.07
ul.cfg
Yes. its on DVD folder. I didnt tried USB.
Could you retest with SMB?
I know my iso hash isnt matching the redump.org. but the iso plays as it should on opl 0.9.3 and PCSX2. i also have other DVD9 games that match redump.org and have the same problem.
I will try USBUtil and 1:1 ISO. Will update the results here. thanks
I also havent tried r1541 cuz it was not available at the time in the betas zip and couldnt setup ps2sdk to compile. i will try that as well.
just to add, my isos may not match redumo.org because they are tempered by ps2classics stuff on ps3. but they should still work.
So i just tested a 1:1 ISO of God Of War II SCUS_974.81 on r1541 and the problem still persists. SMB tested - and dont available USB storage to test USB mode.
SHA-1 of the ISO is 1DCB9ADDE645D06BB2B4747070664BFDD51BB287 via 7zip's context menu
ul format/USBUtil
cutscene plays
all tests are under SMB mode
Can you try OPL 1442:
https://www.psx-place.com/threads/open-ps2-loader-v0-9-3.13415/page-48#post-239678.
From my short tests this version was last that I was able to start new game and watch credits.
---- That one worked for me too.
Out of curiosity I wonder how other DVD-9 games will act?
E.g. Gran Turismo 3\4, Forbidden Siren 2...
AFAIK GT3 is DVD5. GT4 crashes. Midnight Club 3 Remix Edition skip FMVs. God of War FMVs wont play. Metal Gear Solid 2 Substance crashes at boot (cant play opening FMV)
I have tested God of War II (SCUS_974.81) through SMB with the latest Beta r1545 and fails also to me,
the game can't read the FMV Credits in Treasure, while in Beta r1442 works fine.
I tested also the game with the internal HDD in the latest Beta 1545 and works fine, then this is a
problem which affects only SMB.
The commits just after the r1442 are mainly about the introduction of the Newlib and PS2SDK changes, i think
the problem it can be in one of these commits, or in the changes that were made in the PS2SDK, Toolchain, etc:
Make compatible with newlib: https://github.com/ps2homebrew/Open-PS2-Loader/commit/4c00bcb2c224b5a79488ef7c0ef72ea3cbc3c4a1
Cleaner code: https://github.com/ps2homebrew/Open-PS2-Loader/commit/50508734ec3b9742ba1f58b429f4eb561d39bc1e
Disables PS2 controller when using pademu: https://github.com/ps2homebrew/Open-PS2-Loader/commit/9a3dcdebc65abc8cca3c8181d24556f275749555
Fix closing file when jpg too large: https://github.com/ps2homebrew/Open-PS2-Loader/commit/0d550c9001ddae79eaf7b70e38400757209656e5
Fix freeing texture clut: https://github.com/ps2homebrew/Open-PS2-Loader/commit/6cc28cd9da558cd74c12293eed177345ad340c6a
Always reload theme when changing video modes: https://github.com/ps2homebrew/Open-PS2-Loader/commit/ff170c61b603645fbd5c96bc9bea9e512cb5d46e
Fix FPS counter (newlib port required): https://github.com/ps2homebrew/Open-PS2-Loader/commit/619c0e838bc6604ca99911ae5b0aca4cd8d3ef03
Notification duration implemented wrong. This fix works but it's a hack: https://github.com/ps2homebrew/Open-PS2-Loader/commit/de1ade8f3ec15bb2745f3ad873dfe66b9ddfe0aa
Simplify timeout in guiConfirmVideoMode: https://github.com/ps2homebrew/Open-PS2-Loader/commit/51f402d4d9ecff6efd4d26e1b0832c1373f39ea1
Best regards.
@rickgaiser is the new lseek() 64-bit? Given this change: https://github.com/ps2homebrew/Open-PS2-Loader/commit/4c00bcb2c224b5a79488ef7c0ef72ea3cbc3c4a1#diff-3ba8680a87ad64e6c2fb16cabea0af67L523
@sp193 I think you've found the issue. This should have probably been lseek64 instead of lseek, but I think it's currently not supported by the newlib port. I'll investigate this further.
lseek64 is added to ps2sdk, and with this change hopefully the bug is fixed, but I cannot test it. Can someone test this test build?:
https://github.com/rickgaiser/Open-PS2-Loader/actions/runs/194532047
@rickgaiser I've made quick test with God Of War II (SCUS_974.81) through SMB (OPNPS2LD-0.9.3+.1546-Beta-67416c1.ELF).
I can launch FMV (Credits in treasures) and start new game.
Also Gran Turismo 4 (SCES_517.19) should be fine.
Previously I was getting BSOD after 1st splash screen.
Now I can watch intro FMV, enter main menu, watch demo mode...
I tested the test build with God of War II (SCUS-97481) throught SMB and the FMV credits works now.
Best regards.
Most helpful comment
@rickgaiser is the new lseek() 64-bit? Given this change: https://github.com/ps2homebrew/Open-PS2-Loader/commit/4c00bcb2c224b5a79488ef7c0ef72ea3cbc3c4a1#diff-3ba8680a87ad64e6c2fb16cabea0af67L523