Advertising (This ad goes away for registered users. You can Login or Register)

[Tutorial]Basic guide to making simple Vita games

Post here your guides, tips, how-to, etc...
Post Reply
Kingpin
Banned
Posts: 6
Joined: Fri Dec 25, 2015 11:03 am

[Tutorial]Basic guide to making simple Vita games

Post by Kingpin » Fri Dec 25, 2015 11:38 am

The first thing you have to do it’s prepare your development environment. So, you need to…
Have PSM Studio.(Can no longer get it officially but I think there was a workaround by wololo)
Have the MonoGame Source from https://github.com/mono/MonoGame
To deploy your Game, you also need a PSM Publisher License

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”
Image
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.
Image

[*] 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.
Image

Note: Check that MonoGame.Framework.PSMobile project has a reference to Lidgren.Network.PSMobile in his reference folder.

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.

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.
Image

Step 4 – Add Asserts
I’m sure that now you know how add files in a PSM Project, but add XNB files is a bit different than 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”.
Image
Finally,Compile Compile Compile
Advertising

t2d2420
Posts: 28
Joined: Mon Jan 27, 2014 10:20 pm

Re: [Tutorial]Basic guide to making simple Vita games

Post by t2d2420 » Sun Dec 27, 2015 1:51 am

I'm no dev so call me me stupid but just a random thought could u dump a vita game transfer to PC use this to ge backups to run by creating new license to get game to run or that just crazy ness???
Advertising

Kingpin
Banned
Posts: 6
Joined: Fri Dec 25, 2015 11:03 am

Re: [Tutorial]Basic guide to making simple Vita games

Post by Kingpin » Sun Dec 27, 2015 11:49 am

t2d2420 wrote:I'm no dev so call me me stupid but just a random thought could u dump a vita game transfer to PC use this to ge backups to run by creating new license to get game to run or that just crazy ness???
Far as I know.You can dump a vita game using the cardridge.I'm not really sure I get what you mean.http://wololo.net/2014/01/23/dumping-ga ... of-piracy/
This might help.

em4nu3l0
Posts: 12
Joined: Mon Dec 02, 2013 2:15 am

Re: [Tutorial]Basic guide to making simple Vita games

Post by em4nu3l0 » Mon Dec 28, 2015 4:54 am

psm unity app is not capable to open .elf/.velf itself, but an application made with the this tools opens with psm unity just like ball_maze demo.

Make a file explorer and loader of .elf/.velf files with all the backend needed to run rejuvenate homebrews would be great!

But, is this possible?

Kingpin
Banned
Posts: 6
Joined: Fri Dec 25, 2015 11:03 am

Re: [Tutorial]Basic guide to making simple Vita games

Post by Kingpin » Mon Dec 28, 2015 11:15 am

em4nu3l0 wrote:psm unity app is not capable to open .elf/.velf itself, but an application made with the this tools opens with psm unity just like ball_maze demo.

Make a file explorer and loader of .elf/.velf files with all the backend needed to run rejuvenate homebrews would be great!

But, is this possible?
I won't answer that with a yes or a no since Im not 100% certain myself but I think it might be possible.Don't take my word for it though.

Post Reply

Return to “Tutorials”