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

[Bug] loading Font and some resources doesn't work until it's hardcoded #47

Open
Bunkai9448 opened this issue Apr 1, 2024 · 1 comment

Comments

@Bunkai9448
Copy link

Long story short, I'm trying to create a game prototype with multilanguage, and I added a CSV file for localization, like the Godot documentation says. It works as expected in the PC debugger. However, once I run it in the vita, the text for that part is not displayed at all.

Godot version: https://github.com/SonicMastr/godot-vita/actions/runs/8011699088
OS/device including version:
Target: PS Vita 3.65 Henkaku ENSO
Developed in: Windows7 Home Premium, Service Pack 1

Issue description: No text shown from CSV files. (In the PS Vita, the PC works as expected)

Steps to reproduce:

  • Grab the "SLAYERS.zip" attached, and change the extension to VPK. Install the homebrew in your vita.
    SLAYERS.zip
  • Boot up the game and press the START button, the pause menu will prompt. Below "PAUSE" this should display:
    This should display
    However, in the vita, this is what you see:
    CSV bug
@Bunkai9448
Copy link
Author

Bunkai9448 commented Apr 7, 2024

Edit: Doing a few trial and error I found out that the problem relies on how the vita version loads the project's fonts. For some reason, sometimes, it doesn't find the resource properly and you have to hardcode it. Image attached from godot's engine. The left side is how I did it before, and the right side is "hardcoded" to find it.

vita_font

photo_2024-04-07_04-18-27

@Bunkai9448 Bunkai9448 changed the title [Question / enhancement request] Are CSV files for localization text implemented? [Bug] loading Font and some resources doesn't work until it's hardcoded Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant