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

PSVITA VPK Execution: psvita C2-12828-1 #11

Open
JoseOcasio opened this issue Sep 12, 2020 · 4 comments
Open

PSVITA VPK Execution: psvita C2-12828-1 #11

JoseOcasio opened this issue Sep 12, 2020 · 4 comments

Comments

@JoseOcasio
Copy link

Running into psvita C2-12828-1 error code when running the game.

@JoseOcasio
Copy link
Author

I suspect and error when drawing the loaded assets. Been debugging for a bit and it seems it in the drawing process or the images are not being properly loaded.

I noticed all paths to the images have a app0:resources/* . What does app0 mean?

@xfangfang
Copy link

app0:resources/* means ux0:app/APPID**/resources/*


I notice that the CMake doesn't copy the resource files when building vpk.

The cmake file should be added as follows:

vita_create_vpk(${SHORT_NAME}.vpk ${VITA_TITLEID} ${SHORT_NAME}.self
  VERSION ${VITA_VERSION}
  NAME ${VITA_APP_NAME}
  
 # resources
 src/resources/click.ogg resources/click.ogg
......

  # Livearea files
  FILE sce_sys/icon0.png sce_sys/icon0.png
  FILE sce_sys/pic0.png sce_sys/pic0.png
  FILE sce_sys/livearea/contents/bg0.png sce_sys/livearea/contents/bg0.png
  FILE sce_sys/livearea/contents/startup.png sce_sys/livearea/contents/startup.png
  FILE sce_sys/livearea/contents/template.xml sce_sys/livearea/contents/template.xml
)

@JoseOcasio
Copy link
Author

I submitted a merge request that fixes this. It was missing a key dependencies and the location of the resources to be capture in the make file. Require no change on the code, just on the CMAKE

@JoseOcasio
Copy link
Author

Fully tested and working as intended with the new changes. Please review.

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

2 participants