Page 1 of 2

[Tutorial]How to be a official PS VITA PS Mobile developer.

Posted: Thu Oct 09, 2014 5:14 pm
by sindromedo
In this tutorial I teach you how to create your own applications for PS VITA with PlayStation Mobile Studio (PSM Studio).
First, you have to download the PSM Studio from this page: https://psm.playstation.net/static/gene ... m_sdk.html **( you need to register,but don't worry, you only need a PSN account and an email address)**

Image

After download and install, enter in this page from your PS VITA: https://psm.playstation.net/static/gene ... stant.html and download the PSM Dev Assistant for PS VITA.

Image
Image
Image
Image
Image
Image

Well, it's time to do our first program: The Hello World.
First, open the PSM Studio and go to New-->Solution. After that select C#-->PlayStation Mobile-->PlayStation Mobile Application.

Image

Now in the top bar select Visual Design.

Image

Now we have a new bar in the left side. In this new bar do right click in References and select "Sce.PlayStation.HighLevel.UI" and click OK.

Image

The final step is select with double click "Appmain.cs"...

Image

and delete the code that's there and copy this new code:

Code: Select all

using System;
using System.Collections.Generic;

using Sce.PlayStation.Core;
using Sce.PlayStation.Core.Environment;
using Sce.PlayStation.Core.Graphics;
using Sce.PlayStation.Core.Input;
using Sce.PlayStation.HighLevel.UI; 

namespace UIToolkitApp 
{ 
    public class AppMain 
    { 
        private static GraphicsContext graphics; 


        public static void Main (string[] args) 
        { 
            Initialize (); 


            while (true) { 
                SystemEvents.CheckEvents (); 
                Update (); 
                Render (); 
            } 
        } 
 public static void Initialize () 
        { 
            // Set up the graphics system 
            graphics = new GraphicsContext (); 


            // Initialize UI Toolkit 
            UISystem.Initialize(graphics); 


            // Create scene 
            Scene scene = new Sce.PlayStation.HighLevel.UI.Scene(); 
            Label label = new Label(); 
            label.X = 10.0f; 
            label.Y = 50.0f; 
            label.Text = "Hello World!"; 
            scene.RootWidget.AddChildLast(label); 
            // Set scene 
            UISystem.SetScene(scene, null); 
        } 


        public static void Update () 
        { 
            // Query gamepad for current state 
            var gamePadData = GamePad.GetData (0); 


            // Query touch for current state 
            List<TouchData> touchDataList = Touch.GetData (0); 


            // Update UI Toolkit 
            UISystem.Update(touchDataList); 
        } 


        public static void Render () 
        { 
            // Clear the screen 
            graphics.SetClearColor (0.0f, 0.0f, 0.0f, 0.0f); 
            graphics.Clear (); 


            // Render UI Toolkit 
            UISystem.Render (); 


            // Present the screen 
            graphics.SwapBuffers (); 
        } 
    } 
} 
And congratulations, you do your first program for the PS VITA :mrgreen: . To test the code just press F5 or connect your PS VITA with CMA and select "PS VITA" in the top bar (you have to open the PSM Dev Assistant in your PS VITA. See how to pack your app below)

Image

You get something like this:

Image

GETTING A PSM LICENSE

If you want publish your app, you need a PSM license. This is the most easy step, but you have to pay for the liscense.
First, after log in in the PSM web, click the button that says "Apply for PSM license".

Image

Next fill in the required fields and wait for the data to be processed (approximately 4-5 days).
Once you get the confirmation email, go back to the page and look at the same area (marked in red in the photo) and click on "purchase publisher license" to complete the purchase and you're all finished.

Image

PACK YOUR APPS TO TEST/RELEASE

To test / release your app, you need make a license for your app.
For this, start Publishing Utility and PSM Studio. After, select the XML of the app with right click and select edit with Utility Publisher.

Image

Now connect your PS VITA to your computer.
You will start in the Metadata section. The data can be left unchanged if you want, but is needed data like the icon, the app ID, the rating, etc.
If you finish click on the "Save" button to save your entries to an XML file.

Image

Now, go to Key Management and create a new Key for your app.
The program will ask your PSN account to verify your publisher license

Image

Your PS VITA has a unique ID associated with it that will be used in making the key that is used to sign the code. The device should automatically be recognized (if you have your ps vita connected to your computer) . Click on the button with the key ring icon to add a new application and that's it !!! :mrgreen: :mrgreen: :mrgreen:

Image
Image
Image

NOTE: Sorry for my bad English :lol: .Add me in PSN. ID: Dark-TN

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Fri Oct 10, 2014 9:02 pm
by TheM4v3r1cX
Nice! I really want to try this but i have two questions:
1.- I have to update my console, right? I mean i know i have to download the PSM dev apps, but can't i transfer them via PS3 or something? :(
2.- Can i add that i'm an official Ps Vita developer on my resume? Hahaha
-------
(Las mismas preguntas pero en español, solo por si acaso jajaj)
[spoiler]1.- Tengo que actualizar la consola, cierto? O sea, ya se que tengo que descargar la app de PSM, pero no la puedo transferir via PS3 o algo? :(
2.- Puedo agregar que soy un desarrollador oficial de Ps Vita en mi curriculum? jajaja[/spoiler]

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Fri Oct 10, 2014 10:57 pm
by ryuzen
how about include tutorial how to obtain developer license too, it seems you miss crucial thing to be official vita developer :D

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Fri Oct 10, 2014 11:41 pm
by sindromedo
TheM4v3r1cX wrote:Nice! I really want to try this but i have two questions:
1.- I have to update my console, right? I mean i know i have to download the PSM dev apps, but can't i transfer them via PS3 or something? :(
2.- Can i add that i'm an official Ps Vita developer on my resume? Hahaha
-------
(Las mismas preguntas pero en español, solo por si acaso jajaj)
[spoiler]1.- Tengo que actualizar la consola, cierto? O sea, ya se que tengo que descargar la app de PSM, pero no la puedo transferir via PS3 o algo? :(
2.- Puedo agregar que soy un desarrollador oficial de Ps Vita en mi curriculum? jajaja[/spoiler]
1.-Yes, you have to update your console to download the PSM dev app :( . And only you can download this app in the PS Store of the VITA. You can´t download the PSM dev app from the PS3 because the web page for the download only open the PS Store app for the PS VITA (I tried this in this moment).If you try download the app from the PS3 you get a web page with chinese letters :lol: . And another problem is that the application is not in the PS Store (You can't find it in the PS Store :cry: . You can download the app only from the web page ).
2.-Yes, you can add that :lol: , but you have to publish an app in the PS Store (with the Publishing Utility).

------
(En español :mrgreen: )
[spoiler]1.-Si tienes que actualizar tu Vita para descargar la app de PSM, y sólo puedes descargarla desde la PS Store de la Vita :( . La página de dónde se descarga la app te redirecciona a la Store de la Vita nada más, entonces no puedes descargarla desde PS3 (lo acabo de intentar). Si intentas descargarla desde la PS3 te abrirá una página con letras chinas :lol: . Y otro problema es que la app no está disponible en la Store.(Sólo puedes descargarla desde la página web).
2.Si puedes ponerlo :lol: . Pero antes tienes que publicar una aplicación en la PS Store (con Publishig Utility).[/spoiler]

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Sat Oct 11, 2014 12:23 am
by TheM4v3r1cX
ryuzen wrote:how about include tutorial how to obtain developer license too, it seems you miss crucial thing to be official vita developer :D
Care to enlighten us then? I really want to know how to obtain the license

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Sat Oct 11, 2014 12:42 am
by sindromedo
TheM4v3r1cX wrote:
ryuzen wrote:how about include tutorial how to obtain developer license too, it seems you miss crucial thing to be official vita developer :D
Care to enlighten us then? I really want to know how to obtain the license
I'm sorry, you are right. I updated the tutorial and I added how to get the license to publish your apps. And later I add how to pack your apps with Publishing Utility.

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Sat Oct 11, 2014 12:53 am
by TheM4v3r1cX
sindromedo wrote:
TheM4v3r1cX wrote:
ryuzen wrote:how about include tutorial how to obtain developer license too, it seems you miss crucial thing to be official vita developer :D
Care to enlighten us then? I really want to know how to obtain the license
I'm sorry, you are right. I updated the tutorial and I added how to get the license to publish your apps. And later I add how to pack your apps with Publishing Utility.
Nice! Thank you, really. Do you know how much is the license anyway?
PS: Check your inbox!

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Sat Nov 22, 2014 9:51 pm
by ji11x38
Hi guys,

and first of all thanks you sindromedo for uploading this little tutorial!

I am interested in using the unity compatible version of the psm-dev to program a little game. Did you or anyone here give that one a try or even has some good infos/tutorials on how to get started?

But back to business:
Since you have been writing about applying for a PSM Publisher License and me doing some research, i started reading about this license and how apply on the following page:

https://en-support.psm.playstation.net/ ... /related/1

as it is sais on the lower left: "PSM Publisher license is now free!" there seems to be no more fee for it! Clicking on this info will lead you to:
https://en-support.psm.playstation.net/ ... l/a_id/183
since this post is back from 07/21/2014 07:39 PM i was wondering if --and if so what you had to pay?

Did I just get anything wrong or is it for free?
Since i just applied i didn't get a reply from sony yet i am a bit confused and it would be great if anyone could enlight me!

Cheers,

JI

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Sun Dec 28, 2014 3:11 pm
by shaheryar
I also does not get reply from sony I applied for licsence on 24dec and its 28 no reply need help

Re: [Tutorial]How to be a official PS VITA PS Mobile develop

Posted: Tue Dec 30, 2014 12:45 pm
by ji11x38
It can take up to two weeks.
Since it's christmas holidays in most countries, you might not get a reply before early january...
I am sorry for you but just be patient!

Cheers

Ji