on 19-04-2012 03:06 PM
Before, "Maps\\Map01.tbin" would look in the "Maps" folder in the working directory. In 0.98, it's looking in "C:\Maps\" and throwing an exception because there's nothing there. I can't find where the documentation and samples are installed now, so how do I specify a file path within the working directory?
Solved! Go to Solution.
on 19-04-2012 03:20 PM
I'm just getting started but the 0.98 release notes mentions that all files should be in the Applications folder, eg Applications/Textures/Pic.png. There also seems to be a Documents and Temp folder.
on 19-04-2012 03:49 PM
I've gotten my apps running again and have noticed the following:
on 20-04-2012 10:50 AM
As YstadYakuza has pointed out, referencing files has now changed in SDK 0.98.
Before SDK 0.98, you may have previosuly declared a texture as follows :
TectureInfo texture = new TextureInfo( new Texture2D("assets/sprite.png", false) );
With SDK 0.98 you should now declare them as follows (change in bold):
texture = new TextureInfo( new Texture2D("/Application/assets/sprite.png", false) );
You will not need to make any changes to the location of your files, its just the addittion of "/Application/" to the file path string that you need to take note of.
on 20-04-2012 03:01 PM
on 25-04-2012 09:53 AM
Sorry about the lack of documentation on this.
This stores all of the files that your application requires to run (.cs files, assets, shaders, etc). You have read access, however we are aware that you currently have write access too and we are working to correct this at the moment (for the next SDK release).
This should store all of the user generated content, such as save data. This data is persistent and so will remain between sessions of your application. You have read-write access to this directory.
This is for temporary storage. Data stored in this directory will be deleted after your application finishes. You have read-write access to this directory.
We are planning on updating the documentation to include this for the next SDK release.
on 25-04-2012 06:20 PM
That is helpful but I think you're still missing several points.
The /Application folder doesn't exist in my solution folder but at runtime the files from the root of my solution are copied here. I'm pretty sure that I understand this process but you guys should actually explain how this works in the docs. What would happen if my solution was made up of 2 projects that had conflicting files that were to be copied to the /App folder?
Is /Docs persistant even between version upgrades and/or other changes? Is it cloud synced, or might it be in the future? How large is this area? Could the user back this area up?
on 26-04-2012 06:33 PM
on 26-04-2012 07:34 PM
Thanks for the response. I appreciate that these things are still in development, and user access to the file system isn't taken lightly on the Vita. However, can I assume that some point, eventually, (hopefully by the time the store opens), users will be able to get their own files into a PS Suite app? For example, for a ebook reader app, there should be some way of letting the users load their own .epub or .pdf files onto the system, right?
Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]