How to: Basic guide to making simple PS Vita games
Note from Wololo: This tutorial on making simple PS Vita games was initially published by /Talk member Kingpin, as part of our monthly tutorial contest. Kingpin won the December/January tutorial contest for the PS Vita(a $20 PSN code) with this entry. You can find the original post here.
The first thing you have to do it’s prepare your development environment. So, you need to…
- Have PSM Studio.
- Have the MonoGame Source
- To deploy your Game, you also need a PSM Publisher License
You will need a PS Vita running on firmware 3.51 or below in order to run games you create with PSM Studio, through the rejuvenate hack.
Making simple PS Vita games Step 1 – Create a New Project.
There are no MonoGame templates in PsmStudio. So you have to create an empty project.
Open up PsmStudio, click “Start New Solution”, expand out the C# option, choose “PlayStation Mobile” and then “PlayStation Mobile Empty Project”
Now, add all CS files from your old XNA project by mouse.
Right mouse click on your empty project, select “add” and select “add files from a folder…” to add your CS files from your XNA Game folder.
- In MonoGame folder, go to ThirdParty/Lidgren.Network/ and import Lidgren.Network.PSMobile.csproj file.
- In MonoGame folder, go to MonoGame.Framework/ folder and import MonoGame.Framework.PSMobile.csproj file.
Now go to your empty solution. Right click on your game project’s references and choose “Edit References”. Check the Lidgren.Network.PSMobile and MonoGame.Framework.PSMobile projects.
Note: Check that MonoGame.Framework.PSMobile project has a reference to Lidgren.Network.PSMobile in his reference folder.
Making simple PS Vita games Step 2 – Support XNA library.
If you has done all, you will check that MonoGame framework works. PSM Studio supports all XNA libraries, but it doesn’t support native Microsoft libraries.
Well. Now all depends to your own ability to adjust your own code. Something like: remove Microsoft Libraries and code keep working, adapt your game to new resolution, change your main menu etc.
Making simple PS Vita games Step 3 – Main Class.
AppMain.cs is where your application begins executing . So, your AppMain.cs file should look like this, where GamePage will be the first class to run.
Making simple PS Vita games Step 4 – Add Assets
I’m sure that now you know how add files in a PSM Project, but add XNB files is a bit different then add CS files.
Right mouse click on your “Content” folder, select “add” and select “add files from a folder…” to add your xnb files from your XNA Game.
Note: If you don’t have a Content folder, create new one with this name to save it all xnb files.
Go to your “Content” folder, right mouse click on an xnb file, select “Build Actions” and select “Content”.
Finally, Compile Compile Compile
Want a chance to win a $10 PSN Code and be featured on the blog with your own guide? Join our monthly tutorial contest here!
noob (and probably stupid )question here … why is this method better than using directly unity or the psmStudio??
Another question, if using unity is a valid way, is there a way to run the games through homebrew ? Sorry I haven’t really caught up with what the scene has done with vita, I stick to my 3ds
I’ve ported some of my unity3d projects , compiled and tested successfully in my psvita with the psm unity asistant , I got the same question would be great run the *.psdp files directly in the ps vita
Hacker,I you love!!Hacker,please continue!
tenho psp jogo valhallaknights no vita
add psn gus20488
Kernel exploit for newer firmwares blurred :OOOO
Everybody update now no need to stick to old firmwares!!!!1!!!