ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Beats - Can't see/load mp3 files

Open Sanaki opened this issue 4 years ago • 6 comments

Game or games this happens in

NPUG-80060 - Beats

What area of the game / PPSSPP

When entering My Music Challenge in Beats, it can correctly see the directory structure of the MUSIC directory, but can't actually see any files. To my knowledge only mp3 is supported by the game, though no files of any type appear.

What should happen

Music should be visible in the directory structure and preferably loadable.

Logs

No response

Platform

Linux / BSD

Mobile phone model or graphics card

NVIDIA GeForce GTX 1060 6GB

PPSSPP version affected

v1.11.3-1280-g5e4c478f4

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

  • [X] Test in the latest git build in case it's already fixed.
  • [X] Search for other reports of the same issue.
  • [X] Try resetting settings or older versions and include if the issue is related.
  • [X] Try without any cheats and without loading any save states.
  • [ ] Include logs or screenshots of issue.

Sanaki avatar Sep 08 '21 19:09 Sanaki

PSP games could only play MP3 files with certain bitrates/etc. Have you made sure they're files encoded in a way the game supported?

They might have to be 44.1kHz or similar, and might have to be lower bitrates. I don't know about Beats specifically, but I've seen other games ignore files that aren't supported (I think maybe Motorstorm...?)

-[Unknown]

unknownbrackets avatar Sep 08 '21 20:09 unknownbrackets

Documentation is sparse on it, but I have some of the same files I used to play available and can't see them, so I don't believe that's the issue. I can attempt to locate my physical PSP to test it sometime soon, though I have no estimate of how long that'd take.

Sanaki avatar Sep 08 '21 20:09 Sanaki

FOUND IT! @Sanaki

The reason it won't work is because PPSSPP doesn't support .PRX files,and guess what Beats uses to find music? prx

PPSSPP should add workaround or atleast way to use those three,if it ever happens

ghost avatar Sep 12 '21 09:09 ghost

PPSSPP actually does support prx files. What makes you confident this is the cause of the issue?

-[Unknown]

unknownbrackets avatar Sep 12 '21 13:09 unknownbrackets

It seems playing the game on Vita also have similar issue image image But this was a year ago, not sure whether Adrenaline have solved this issue or not by now.

anr2me avatar Oct 10 '22 08:10 anr2me

Looks like JPCSP (HLE) is able to see my MP3 files inside /PSP/MUSIC/ folder image

While it can't be seen by PPSSPP image

Edit: Based on the logs, PPSSPP did see the files image

anr2me avatar Oct 10 '22 09:10 anr2me

Commenting here as it's been a year with no potential fixes. The furthest I've gotten with troubleshooting is the same as @ANR2ME, Beats can't read the /PSP/MUSIC/ folder at all even though it works on JPCSP. Though I also noticed PPSSPP logs the music files.

Is there any hope of allowing Beats to read the songs properly? We're so close yet so far!

Tagger102 avatar Oct 17 '23 15:10 Tagger102

Very strange indeed, it does indeed read the file listing as shown in the logs above, but doesn't display them anyway.

We are not handling the d_private field in sceIoDRead fully correctly (we don't write the 8.3 filename), but, this game sets it to 0 anyway. So except for that, I don't see any difference in how we handle directory listings, compared to JPCSP.

The game doesn't try to open the files or otherwise query them, so this is kinda mysterious..

hrydgard avatar Dec 07 '23 10:12 hrydgard

OK, turns out that for readable files on memstick we returned permissions 666 (read/write) while jpcsp returns 777 (read/write/execute). Switching to 777 fixes it.

So, fix coming up (though, the files stutter during playback :( )

hrydgard avatar Dec 07 '23 11:12 hrydgard

OK, turns out that for readable files on memstick we returned permissions 666 (read/write) while jpcsp returns 777 (read/write/execute). Switching to 777 fixes it.

So, fix coming up (though, the files stutter during playback :( )

Thanks so much for this!! Just tested and I see what you mean. Still a big step in the right direction, maybe in the future the stutter will be resolved but for now this is great!

Tagger102 avatar Jan 28 '24 13:01 Tagger102