libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.21k stars 1.82k forks source link

PS2 RetroArch version is not working using a HDD. #15865

Open Zengurasu opened 11 months ago

Zengurasu commented 11 months ago

First and foremost consider this:

Description

I am using two devices, both in FAT32 Format. When I use the pendrive device, the system works.

But, when I use a extern HDD device, the system not works.

I think this information can be useful: The OPL system is reading external HDD devices now, but RetroArch is still not working.

Expected behavior

RetroArch working on external HDD devices.

Actual behavior

[What is actually happening]

Steps to reproduce the bug

  1. [First step]
  2. [Second step]
  3. [and so on...]

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

Environment information

zoltanvb commented 11 months ago

Thank you for reporting this. Can you please elaborate what does not work when RetroArch is located on the HDD?

Zengurasu commented 11 months ago
  • Which RA version did you try?

R: Last version

  • What is the drive name you see in the loader? Is it mass:, hdd0: or something else?

R: Is named as "mass"

  • Can you start the core .elf file, does the menu come up?

R: Well, the .elf file is showing inside the uLauncher and even inside the OPL system, but is not working.

  • Can you start raboot.elf file?

R: When I try open the file, I got this: The screen get black for seconds, then, for some reason the "PS2 memory card" native screen show up.

  • If you can get to the menu, can you select content (ROM) from HDD?

R: Maybe this is the weird part: The core .elf files is actually working, but when I tried select the content, the directory is not found, even If I try to search in "settings>directory" path.

I got the message: "Failed saving content to"

I know, you probably is thinking now: "This means that maybe you did a wrong configuration"

But the catch is this:

I had copied and pasted the entire content of the working device (pendrive) and then, I placed on the not working device (external HDD device). The directory path is exactly the same from the working device (pendrive), but for some reason, is not working like is working on pendrive.

The PS2 model is a slim.

Zengurasu commented 11 months ago

More information:

Other aplications like ps2psxe.elf does not working too on external HDD devices. But works on pendrive devices.

Maybe a possible solution is find the OPL code and look for the plugin that allow external HDD devices readable.

zoltanvb commented 11 months ago

I checked the OPL changes at https://github.com/ps2homebrew/Open-PS2-Loader but found no particular update that would lead to this. The underlying ps2sdk is older for RetroArch builds, that may be one cause.

Was there any specific OPL version that enabled this specific external HDD support for you? And is the external HDD larger than 2 TB?

Zengurasu commented 11 months ago

Oh, I understand.

I dont have this specific version, because I just downloaded the last version and was working.

But I remember that happened a big upgrade involving allowing the exFAT format.

I really dont know why is readable, maybe allowing the exFAT format contributed to external HDD be readable, even If is on FAT32 Format.

Zengurasu commented 11 months ago

Is not a urgent thing for me, I am just reporting.

I know that looks a little bit complex 😅

zoltanvb commented 11 months ago

I tried updating the ps2sdk, but at the moment the resulting .elf just produces a weird crash, I will investigate. In the meantime, can you tell which core you tried? I'll try to get that one working first.

Zengurasu commented 11 months ago

Sure, the core working is gpSP.