General

Reply
PSM Dev Team
mshkla04
Posts: 729
Registered: ‎28-05-2012
Message 1 of 16 (4,660 Views)

Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

[ Edited ]

 

We understand that many people will be using the new SDK during the weekend and aim to prevent any problems that they may have during this period.  These steps aim to provide a rough preventive measure for people moving to 0.98 to 0.99 and a brief introduction to guide our new users in the right direction. Over the course of the next week we aim to refine this guide further as we receive more feedback on PlayStation(R) Mobile SDK version 0.99.

 

 

For New Users-Introduction to SDK 0.99

PlayStation(R) Mobile SDK 0.99 is the latest release as of 13th July 2012. If this is the first time that you are using the PlayStation Mobile SDK, please follow the installation instructions after downloading the executable “PSM_SDK_099.exe” from the relevant download location here

http://www.playstation.com/psm/developer/openbeta/index_e.html

Once this installation is complete, the SDK documentation will automatically open up in your default browser.

Please have a good read through the documentation. It contains detailed guides on how to deploy your projects on the simulator, Android devices and the PS Vita.

In addition to this it also contains a getting started tutorial which guides you towards creating your first PlayStation Mobile Application.


For New and Existing Users or those upgrading from version 0.98

 

PlayStation Mobile Development Assistant:

As you know, the PSM development assistant is required to deploy your applications on your preferred device. On Android devices, this is done automatically when an application is deployed from PSM Studio IDE. In the case of the PS Vita it has to be installed from the following link mentioned in the documentation under the section “Setup for Executing with PlayStation(R) Vita”.

PLEASE NOTE: If your PS Vita already has this downloaded, you can upgrade the application from the application start screen on the PS Vita as seen here. Please make sure you have the latest version of the development assistant installed. If it is the latest version, you will not see the update icon.

 

                 Untitled.png

 

 

For users migrating from Version 0.98 to Version 0.99

Users deploying previous apps from the older 0.98 version may come across some problems when trying to deploy them in version 0.99. We will be updating this guide regularly with all solutions.

Currently there are some considerations that need to be taken before deploying a 0.98 application in the newer version.

  1. Namespace Sce.Pss has been changed to Sce.PlayStation.  Please make sure this is corrected in all relevant files.
  2. MSBuild error relating to “Sce.PlayStation.CSharp.targets”. Please change PlayStation to Psm. This file is generally located under C:\Program Files (x86)\MSBuild\Sce . Please make sure the name in the project matches the file in the directory if you come across this error.
  3. A new feature called PSM Publishing Utility has been added in SDK 0.99. This utility allows you to edit your application metadata and save it in an XML file to be added to the root directory of your PSM Project. This will replace the previous app.cfg file which is now obsolete. Please note, if you create a new project in SDK 0.99 and app.xml file will be generated automatically for you. You can then open this file using the PSM Publishing Utility to edit your metadata and save it in the same location. For further information please refer to Mastering>Usage of Publishing Utility in the documentation. It is recommended to add an app.xml file to your project matching the information from any previous app.cfg files you may have had.

Please feel free to add to this post with any suggestions or problems that you may come across and we can add those solutions to this thread.

 

PlayStation®Mobile Dev Team
I am like you, I have no name.
Please use plain text.

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

[ Edited ]

Also dont forget as soon as you update navigate to:

 

C:\Program Files (x86)\SCE\PSM\tools

 

Drag your solution folders onto the bat file: project_conv_098to099.bat

 

This will convert your older projects. I had no problems after doing this.

Please use plain text.

System.UnauthorizedAccessException: Access to path "......" is denied

Getting this crash from this line: BinaryReader br = new BinaryReader( File.Open( "/Application/" + sBank, FileMode.Open) );

Please use plain text.

Re: System.UnauthorizedAccessException: Access to path "......" is denied

Have problem with the ListPanel-when change the section this for some reason doesn't automatically creates(if necessary) and updates the listitempanels as it did before. The creating is obviously caused by sth else (it's not updatelistitems ither). So which function triggers the updater and the creator in order to fix the problems that this causes 

Please use plain text.

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

Hi:

 

I post it in ohter plce too, sorry, but I found that all folders inside debug or release change to read only could be this the problem about file readying exception. How to fix? i'm try to find it.

 

Cheers,

Please use plain text.

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

=( it's not the problem.. I'm clue less.

Please use plain text.

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

Hi:

 

I fix my problem of access denied changing from :

FileStream stream = new FileStream(froot+file, FileMode.Open);

                BinaryReader reader = new BinaryReader(stream);

 

to this:

 

//FileStream stream = new FileStream(froot+file, FileMode.Open);

                BinaryReader reader = new BinaryReader(File.OpenRead(froot+file));//stream);

 

Hope this helps.

 

Cheers,

Please use plain text.

Level 3

Level 3
niwrA
Posts: 152
Registered: ‎31-07-2008
Message 8 of 16 (4,533 Views)

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

Took me just 10-20 minutes or so to update my UI Library project, thankfully. 

 

Changes I made that could be a useful reference to others:

 

- As suggested by the SDK, the Core.Imaging.Font is now in HighLevel.UI.Font. However, stuff like FontAlias, FontStyle, etc. isn't, so be careful with search & replace, and know where to look. 

- I used Metrics.Height to determine label height and such. This one is gone from UIFont. I used .Size instead, and that seems to map 1:1.

 

I think that may actually be it.

 

I tested a few touch related issues, and they seem solved, which is so very nice. :smileywink: Now my sliders just work. The date control is a bit strange, in that if you drag on it you drag the entire window, but if you want to change a date value, you need to hold the screen with one finger and then use another finger to drag the date. I think it's ok, but perhaps not ideal (as it is different from other platforms as far as I know).

 

Now I'm going to check for some new functions that I've been hoping for.

Please use plain text.

Level 3

Level 3
niwrA
Posts: 152
Registered: ‎31-07-2008
Message 9 of 16 (4,507 Views)

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

I'm getting the impression there may be some input related issues, possibly threading releated. I've seen a few UI update hangups related to UI input, even in the Game UI example, where the graphics regularly just stop updating. I've also followed my own guide with adding the wizard for some menu options to the .99 version of the BasicModelSample, and that all goes fine, but as soon as I give input like touch the screen it freezes.

 

The BasicModelSample won't even run properly out of the box on the SImulator, and with my example UI integrated, it hangs on just getting GamePad and Touch input straight at the start of the program.

 

Anyone else having issues?

Please use plain text.

Re: Guide – SDK Introduction and Moving from SDK 0.98 to SDK 0.99

Hi:

 

mmm so far I didn't run with input problems, and I tested mine impl...if I come with some I wil let you know.

 

Cheers

Please use plain text.
This widget could not be displayed.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。






Recent News