Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gran Turismo (Europe) Not Enough Storage for Data Installation. #19539

Open
5 tasks done
Panderner opened this issue Oct 19, 2024 · 5 comments
Open
5 tasks done

Gran Turismo (Europe) Not Enough Storage for Data Installation. #19539

Panderner opened this issue Oct 19, 2024 · 5 comments
Labels
HLE/Kernel Kernel, memory manager, other HLE issues I/O Affected by I/O timing settings, or other kind of I/O issue. TODO after release Things to do after the next release
Milestone

Comments

@Panderner
Copy link
Contributor

Panderner commented Oct 19, 2024

Game or games this happens in

UCES-01245 - Gran Turismo

What area of the game / PPSSPP

When i tried to install data on Europe version (UCES-01245) they received not enough storage error.
UCES01245_00000

What should happen

US version (UCUS-98632) works successfully.
UCUS98632_00000

Logs

No response

Platform

Windows

Mobile device model or graphics card (GPU)

NVIDIA Geforce GTX 1050 Ti

PPSSPP version affected

v1.17.1-1283

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@hrydgard hrydgard added this to the v1.19.0 milestone Oct 20, 2024
@hrydgard hrydgard added HLE/Kernel Kernel, memory manager, other HLE issues I/O Affected by I/O timing settings, or other kind of I/O issue. labels Oct 20, 2024
@nckstwrt
Copy link

nckstwrt commented Oct 26, 2024

From a quick look - Core/HLE/sceIo.cpp is hardcoded to return only 1gb free:

// TODO: Pretend we have a 2GB memory stick? Should we check MemoryStick_FreeSpace?

The TODO of calling "u64 freeSize = MemoryStick_FreeSpace();" instead seems a pretty fair idea (especially as the ReportSmallMemstick flag already exists if it causes problems)

^ Edit that's the line that causes this particular issue (changing to MemoryStick_FreeSpace() fixes it) - but would be worth doing further down at:

// TODO: Pretend we have a 2GB memory stick? Should we check MemoryStick_FreeSpace?
too

@hrydgard
Copy link
Owner

Hm, interesting - we correctly check the free space when games are using the savedata APIs to check for free space, but not in other conditions like this. Maybe we were worried about games not supporting 2GB+ sizes, as we've seen that problem for the savegame check...

I'll fix this right after the 1.18 release, to reduce the risk of breakage. In the meantime, it's probably not really necessary to install data because UMD access is way faster in the emulator than on hardware.

@hrydgard hrydgard added the TODO after release Things to do after the next release label Oct 27, 2024
@hrydgard
Copy link
Owner

Actually, I'll just bump it up to 1.5 GB now, shouldn't be any risk of overflowing game-internal variables that way. Then I'll fix the reporting properly in 1.19.

@hrydgard
Copy link
Owner

hrydgard commented Oct 28, 2024

Although, I still recommend against installing data when running the game in PPSSPP (unless it enabled some specific functionality?). It's really not gonna make anything faster.

@Panderner
Copy link
Contributor Author

The data install size for US version is 928.49 MB while the Europe version is 1003.99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLE/Kernel Kernel, memory manager, other HLE issues I/O Affected by I/O timing settings, or other kind of I/O issue. TODO after release Things to do after the next release
Projects
None yet
Development

No branches or pull requests

3 participants