Using MonkeyPro60

Monkey Forums/Monkey Programming/Using MonkeyPro60

richicon(Posted 2012) [#1]
Hi, I am trying to develop a monkey app to run with the PSM emulator. i have PSM installed and can run the PSm emulator via PSM Studio.. Works fine.

but In monkey i can not see any references to a PSS build option?

Any quick responce would be great


therevills(Posted 2012) [#2]
Have you set the PSS_PATH to point to the SDK, in the config.winnt.txt file?

'Play Station Suite SDK path.
'
'PSS_PATH must be set for PSS target support.
'
PSS_PATH="C:\SCE\Pss"



richicon(Posted 2012) [#3]
Hi, Yes

PSS_PATH="C:\Program Files (x86)\SCE\Pss"

And its still not showing PSS in my drop down target list


richicon(Posted 2012) [#4]
I get this at compile time

Unrecognized config var: PSS_PATH


therevills(Posted 2012) [#5]
Which IDE are you using?


richicon(Posted 2012) [#6]
MonekyDemo45c Am I missing something then?


richicon(Posted 2012) [#7]
Can you point me in the right place please?


BigAnd(Posted 2012) [#8]
Are you using the demo of Monkey or the Pro version?

I am just confused as You say "Using MonkeyPro60" in the title but you say "MonekyDemo45c" just above and I am sure you cant use anything but HTML5 in the demo.


richicon(Posted 2012) [#9]
Hi, Yeah just reading through all the indo that seems to be true, th demo version is not open to ther platforms.

Does that mean I have to buy monkeyPro in order to do this simple app?

I have MonkeyPro on my PC but no source in ther is ther an easy way to get a screen up or something using monkeyPro?


richicon(Posted 2012) [#10]
OK..

thanks for talking BTW..

I have now tried this in MonkeyPRO

Import mojo

Class Game Extends App

Method OnCreate()
Print "hello"
End

End

Function Main()
New Game()
End


Works fine in HTML5

In my target ist i get the following

HTML5
GLFW
XNA
METRO


But NO PSS

Any ideas on that And I do have PSS_path set


therevills(Posted 2012) [#11]
Can you post where the config.winnt.txt is?
Eg:
C:\MonkeyPro\bin\

And double check that the PSS_path is set...

Also what IDE are you using? Monk, Jungle or Ted?


richicon(Posted 2012) [#12]
I think I migh be missing the IDE Can you post a link to a good one for me please..

Sorry have been on IOS and android for the past 3 years

And your help is very good


richicon(Posted 2012) [#13]
Ok Nearly there

in jungle now compiling a simple print hello program Using target pss :)

i get this

The system cannot find the path specified.
TRANS FAILED: TRANS Failed to execute '"C:/SCE/PSM/tools/PssStudio/bin/mdtool" pss windows run-project MonkeyGame.sln', return code=1
Abnormal program termination. Exit code: -1

Have you see this before?


Paul - Taiphoz(Posted 2012) [#14]
I think the first thing to do would be make sure that the file it says is missing is actually where its looking.

Copy the path inside the "" (select it hit CTRL+C) then past it into your START>RUN box (CTRL+V) and whack enter.

your sdk install path might be close but just a little different to what its looking for, you possibly made a typo in your config file.


richicon(Posted 2012) [#15]
Yes

In My Instalation of the sdk its SCE/PSM


Not SCE/PSS

Is there a difference or do i just rename things to be PSS from PSM?


richicon(Posted 2012) [#16]
C:\MonkeyPro60\bin\trans_winnt.exe -run -config=debug -target=pss "C:\Users\Crane\Documents\Mark.monkey"
TRANS monkey compiler V1.36
Parsing...
Semanting...
Translating...
Building...
ERROR: Add-in description could not be loaded. (Could not read add-in description)
Mono.Addins.Setup.InstallException: Application not found: pss
at MonoDevelop.Core.ApplicationService.StartApplication(String appId, String[] parameters)
at MonoDevelopProcessHost.Main(String[] args)
TRANS FAILED: TRANS Failed to execute '"C:/SCE/PSM/tools/PssStudio/bin/mdtool" pss windows run-project MonkeyGame.sln', return code=-1
Abnormal program termination. Exit code: -1


Any clues?


therevills(Posted 2012) [#17]
Can you check your Window's environmental PATH?

I had an issue and found out that you need to have Gtk to be the first one in the list to get the PSS target to work.


DruggedBunny(Posted 2012) [#18]
That last error seems to suggest MonoDevelop can't find something, and previously you've been using JungleIDE. What happens if you open the MonkeyPro folder and run your examples from monk.exe?


vbnz(Posted 2012) [#19]
It is error in trans because Sony changed PSS to PSM.

I tried it with latest sdk,and it doesn't work.

I posted bug report and solution in it.
http://www.monkeycoder.co.nz/Community/posts.php?topic=3311


richicon(Posted 2012) [#20]
Thanks vbnz - looks like you are life saver :)