maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Request] PS3 trophies/game list on N900? (https://talk.maemo.org/showthread.php?t=59732)

mr_xzibit 2010-08-30 14:22

Re: [Request] PS3 trophies/game list on N900?
 
i tried to erase the data. the folder in /MyDocs even the tar.

when i redownload and try to run it it just hangs on logging in...

when i first loaded it up i chose to save user and pass.
now i cant get it to run. where is the login data stored?
and can i suggest, when you choose to save user and pass it still gives you the option to login with a different user id.

marble 2010-08-30 15:23

Re: [Request] PS3 trophies/game list on N900?
 
It's stored in ~/.trophease_account (this is a text file, with the email address and password on one line each. There should be an 'e' before the email address and a 'p' before the password, but you can check that they're right with cat ~/.trophease_account, or just rm ~/.trophease_account and let it prompt you again.)

I'll add the option for other accounts etc later.

Incidentally, are you in the EU PSN zone? Are you able to login to https://secure.eu.playstation.com/psn/mypsn/ successfully in a browser?

Ohhh... PSN maintenance today. I can't log in at the moment either. Doh!

thp 2010-08-30 15:31

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by marble (Post 802338)
It's stored in ~/.trophease_account (this is a text file, with the email address and password on one line each. There should be an 'e' before the email address and a 'p' before the password, but you can check that they're right with cat ~/.trophease_account, or just rm ~/.trophease_account and let it prompt you again.)

You could use QSettings or ConfigParser to read and write these files as .ini-style files. Easier to understand for normal users and easier to read/write in code.

mr_xzibit 2010-08-30 15:50

Re: [Request] PS3 trophies/game list on N900?
 
yeah i am EU user. yeah bloody maintainence wont be able to login till till 9pm BST. bumma

El Amir 2010-09-18 05:34

Re: [Request] PS3 trophies/game list on N900?
 
Am I the only having problems with this recently?
It loads up and search for the user correctly but wont display any of the logos or trophies images properly BUT i do get the values (percentages) of each game.

thp 2010-09-18 20:20

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by El Amir (Post 819507)
Am I the only having problems with this recently?
It loads up and search for the user correctly but wont display any of the logos or trophies images properly BUT i do get the values (percentages) of each game.

Yes, there was a problem with the changed link of the avatar image. Fixed in version 2 which has just been uploaded to Extras-Devel now.

thp 2010-09-18 20:44

Re: [Request] PS3 trophies/game list on N900?
 
By the way: Does anybody want to design an icon (64x64 and 48x48) for my trophy app? It should look clean, most likely represent a trophy and be provided as transparent PNG or even SVG. It should be original work, not a screenshot/edit from official Sony trophy images.

thp 2010-09-20 11:47

Re: [Request] PS3 trophies/game list on N900?
 
Trophae v3 has been released, fixing mostly packaging bugs that prevented it from being promoted to Extras.

I've also done a new icon:

http://thpinfo.com/2010/maemo/trophae.png

(if you want to improve that one, and add some fancy shading/detail to it, please grab the SVG from the source tarball or just get in touch)

Please test it and vote for it once it gets into Extras-Testing. Thanks!

mr_xzibit 2010-09-20 13:12

Re: [Request] PS3 trophies/game list on N900?
 
heres my effort thp
http://i583.photobucket.com/albums/s...trophae1-1.png

love your app works great
1 question. how hard would it be to create a trophy card widget? id love that
nice work

Cobra 2010-09-20 13:50

Re: [Request] PS3 trophies/game list on N900?
 
I like mr_xziit icon it looks professional. also a widget would be cool. :)

thp 2010-09-20 14:08

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 821437)

Awesome! I'd like to use it as the app icon, but can you do it in 48x48 as well and make sure that both sizes have a nice, 1-pixel outline and that is isn't cropped at the edges? (I think the bronze trophy in that image has its leftmost pixel row cut off) Also, what about making the platinum trophy opaque, but ~ 5 pixels smaller?

Quote:

Originally Posted by mr_xzibit (Post 821437)
1 question. how hard would it be to create a trophy card widget?

Do you simply want to display your trophy card (the one that's generated by the sony website) on your Desktop? Is there a trophy card that works for all PSN users? I know that for example this URL works for me, but I don't know if it works for all users:

Code:

http://mypsn.eu.playstation.com/psn/profile/<username>.png
If we can find a trophy card that works for all users, maybe I'll include a widget that displays the trophy card and (when clicked) starts up Trophae.

mr_xzibit 2010-09-20 15:13

Re: [Request] PS3 trophies/game list on N900?
 
awsome ill get on it when i finish work.

mr_xzibit 2010-09-20 17:06

Re: [Request] PS3 trophies/game list on N900?
 
64x64
http://i583.photobucket.com/albums/s...hyico64x64.png

48x48
http://i583.photobucket.com/albums/s...hyico48x48.png

i fixed the lame mistake with the bronze made the plat opaque and a wee bit smaller
hope you like them :) as for you trophy card link. Yeah thats what im talking about

http://i583.photobucket.com/albums/s...hycardeg-1.png
a mock up of what it might look like?
btw. your link to the trophy card worked for me but it didnt work on my friends id. so i would say it will only work if you have created one on there site. so maybe making that a requirement before the widget will show?

mr_xzibit 2010-09-20 19:53

Re: [Request] PS3 trophies/game list on N900?
 
http://www.yourgamercards.net/generators/trophy
enter your id and your gamer card appers

http://www.yourgamercards.net/trophy/a/mr_xzibit.png

its also an automated gamercard that changes theme depending on what your doing.

thp 2010-09-21 09:48

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 821624)
i fixed the lame mistake with the bronze made the plat opaque and a wee bit smaller
hope you like them :)

Great - thanks! I've uploaded version 4 and it uses your icons. Maybe you can also send me the SVG (or some other kind of "source" file for that image), so I can include it in the source package as well for future reference?

Quote:

Originally Posted by mr_xzibit (Post 821624)
btw. your link to the trophy card worked for me but it didnt work on my friends id. so i would say it will only work if you have created one on there site. so maybe making that a requirement before the widget will show?

Can you check if your friend can "activate" his card if he logs onto the EU Playstation website and configures the card? If so, I'd like to make this a requirement, but use the "official" Playstation website (even if it has a violet/purple background :p) instead of an unofficial site like YourGamerCards.

mr_xzibit 2010-09-21 10:31

Re: [Request] PS3 trophies/game list on N900?
 
yeah i agree the official one is smoother. and yeah to make it a requirement will be the best way.

afaq 2010-09-21 12:24

Re: [Request] PS3 trophies/game list on N900?
 
This is a great app. works beautifully. I started a new thread
http://talk.maemo.org/showthread.php?t=62630
asking if it was possible to view the online status of friends on the PSN. Any implementations of this currently available?

mr_xzibit 2010-09-21 14:00

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by afaq (Post 822287)
This is a great app. works beautifully. I started a new thread
http://talk.maemo.org/showthread.php?t=62630
asking if it was possible to view the online status of friends on the PSN. Any implementations of this currently available?


yeah i think that would be a good idea. hey. Thp!!
is that atall possible. or would it work better as a standalone app.

afaq 2010-09-21 14:28

Re: [Request] PS3 trophies/game list on N900?
 
Either works fine. An integrated app (tab's to switch between trophies and friends status) could be interesting.

mr_xzibit 2010-09-21 17:11

Re: [Request] PS3 trophies/game list on N900?
 
i would say it wouldnt be to difficault to add friend status to trophae
but i have no clue as thp is the man to speak to :D i do hope so lol

benexus 2010-09-21 18:42

Re: [Request] PS3 trophies/game list on N900?
 
Hi, my name is Nicolas, I'm from Argentina

I developed an API to access PSN information

I'm not here to sell you anything, I can contribute with anything you need.

Here is some of my work

(some URL might not work properly as PSN is under maintenance today Sept 21st)

My API Project
Code:

http://www.psnapi.com.ar
Online API (1 call every 30 seconds)
Code:

http://www.psnapi.com.ar/ps3/api/psn.asmx
Trophy Site
Code:

http://www.nextgengamers.com.ar/ps3/trophies
Trophy Card
Code:

http://www.nextgengamers.com.ar/ps3/widget/widget.aspx?id=camelser&op=5&key=web&idt=24&l=0
Trophy Signature
Code:

http://www.indiesoftware.com.ar/PS3/signatures/signature.aspx?pais=1&f=PS3O&psnid=benexus

I also have a couple of applications and widgets on ANDROID

PS3 Trophies PRO for Android
Code:

http://www.youtube.com/watch?v=hJCGOcwY29w
And a widget with PSN Friend Status
Code:

http://indiesoftware.wordpress.com/
You can contact me if you need anything

Nicolas

gixx 2010-09-21 18:51

Re: [Request] PS3 trophies/game list on N900?
 
today i got update a new version, !!! Thanks for Everybody !!!

thp 2010-09-21 21:34

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by benexus (Post 822627)
I developed an API to access PSN information

I'm not here to sell you anything, I can contribute with anything you need.

Nice work there. Are you going to open source the code that's accessing the PSN service (at least partially), or are you offering access to your web service only? Your source code page says "coming soon".

It's probably not that bad using your web service for "public" information (where one just has to enter the PSN ID without password), but you have to understand that I don't want to use my PSN password on the web service, and I don't think it's a good idea for users of the app as well.

Things that require a password (I assume that's the friends list) should access the Sony servers directly from the client without sending login credentials to a third party webservice. AFAIK there could be credit card data stored in a PSN account in the list of recent purchases, so it's really a security/trust issue.

benexus 2010-09-21 22:34

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by thp (Post 822793)
Nice work there. Are you going to open source the code that's accessing the PSN service (at least partially), or are you offering access to your web service only? Your source code page says "coming soon".

It's probably not that bad using your web service for "public" information (where one just has to enter the PSN ID without password), but you have to understand that I don't want to use my PSN password on the web service, and I don't think it's a good idea for users of the app as well.

Things that require a password (I assume that's the friends list) should access the Sony servers directly from the client without sending login credentials to a third party webservice. AFAIK there could be credit card data stored in a PSN account in the list of recent purchases, so it's really a security/trust issue.

Hi

For accessing Friend List i dont require email or password.
There is a mechanism to log in at Sony Site and redirect the page to the service, sending only a sessionId. That value is then used to access the pages.


I dont know about the source code yet. It took me months to get a stable version so I think I will try to make som money before realising it. But I have no problem helping in other similar projects.

Nicolas

mr_xzibit 2010-09-22 17:30

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

I dont know about the source code yet. It took me months to get a stable version so I think I will try to make som money before realising it. But I have no problem helping in other similar projects.

dam i was just getting used to open source!

benexus 2010-09-22 17:56

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 823599)
dam i was just getting used to open source!

Yeah, I know, but i spent almost 100 dollars each month the last 6 month hosting my projects, so, I need some moeny before I release it.

But, as I said, I have no problem helping, but only C# or JAVA :)

infected69 2010-09-22 22:06

Re: [Request] PS3 trophies/game list on N900?
 
the program is working fine and thx for that so far... but i cant click on the games to see what trophies im missing... so to me the program dont have any thing for me at the time... so.... but good work looking forward to some updates! :)

mr_xzibit 2010-09-23 08:19

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by infected69 (Post 823882)
the program is working fine and thx for that so far... but i cant click on the games to see what trophies im missing... so to me the program dont have any thing for me at the time... so.... but good work looking forward to some updates! :)

that is a feature that will hopefully be added also a trophae widget.
to display your trophy card.

Trophae.suggestions.
Is it possible to be able to compare trophaes? Also. Is it possible to cache your trophy collection for faster load up? And a refresh option? Rather than a refresh every start.? Just an idea.

Trophae widget (wip)

link to online trophy card.
http://www.nextgengamers.com.ar/ps3/...web&idt=01&l=0

editing the underlined value corrisponds to which skin will be displayed. Upto a value of 25. It also seems 22 and 23 are the same skin with different font colour?.and 10 and 11 are the same? Bare that in mind.

As to selecting which skin to activate could be done from the settings area which launches a selection menu.Which could also be where the user id is entered. And the option to resize the widget accordingly. maybe a small med. and large option?
Once entered the user id will be saved. And a simple touch of the widget will send a command to refresh the trophy card.

Icons for skin choice im unable to locate a source image of each card so ill make some icons i guess? or can be by name?
Want landscape widgets?

http://www.nextgengamers.com.ar/ps3/...bit&l=1&idt=01

again editing the underlined value corrisponds to which skin will be displayed. Upto a value of 25

only this time they will display a landscape widget.

i will upload all 50 images when i get the chance.

benexus 2010-09-23 12:57

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 824134)
that is a feature that will hopefully be added also a trophae widget.
to display your trophy card.

Trophae.suggestions.
Is it possible to be able to compare trophaes? Also. Is it possible to cache your trophy collection for faster load up? And a refresh option? Rather than a refresh every start.? Just an idea.

Trophae widget (wip)

link to online trophy card.
http://www.nextgengamers.com.ar/ps3/...web&idt=01&l=0

editing the underlined value corrisponds to which skin will be displayed. Upto a value of 25. It also seems 22 and 23 are the same skin with different font colour?.and 10 and 11 are the same? Bare that in mind.

As to selecting which skin to activate could be done from the settings area which launches a selection menu.Which could also be where the user id is entered. And the option to resize the widget accordingly. maybe a small med. and large option?
Once entered the user id will be saved. And a simple touch of the widget will send a command to refresh the trophy card.

Icons for skin choice im unable to locate a source image of each card so ill make some icons i guess? or can be by name?
Want landscape widgets?

http://www.nextgengamers.com.ar/ps3/...bit&l=1&idt=01

again editing the underlined value corrisponds to which skin will be displayed. Upto a value of 25

only this time they will display a landscape widget.

i will upload all 50 images when i get the chance.


Hi, did you like my trophy card? :P

10 & 11 are same on portrait but different characters on landscape
22 & 23 are for dark or bright backgrounds

you can get a list of available Templates here

http://www.nextgengamers.com.ar/ps3/.../templates.txt


Im adding new templates on regular basis

there is a hidden parameter z that change the zoom of the image
add
&z=80 at the end of the url to force a zoom 80%

There is a page for creating custom templates
http://www.nextgengamers.com.ar/ps3/...mtemplate.aspx
and some instructions here
http://indiesoftware.wordpress.com/c...-instructions/

Also, you can submit your own template (send me a PM with your user name) so i can add it to the regular templates

Benexus

mr_xzibit 2010-09-23 16:18

Re: [Request] PS3 trophies/game list on N900?
 
good stuff. i take it the password required is not my psn pass?
just a pass for the site tied to the user id?


thanks a bunch!

benexus 2010-09-23 16:33

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 824499)
good stuff. i take it the password required is not my psn pass?
just a pass for the site tied to the user id?


thanks a bunch!

You are welcome!! :D

That pass is whatever you want, is so nobody can change your custom template

mr_xzibit 2010-09-24 17:12

Re: [Request] PS3 trophies/game list on N900?
 
http://i583.photobucket.com/albums/s...zibit/list.jpg

list of widgets to date

infected69 2010-09-24 19:25

Re: [Request] PS3 trophies/game list on N900?
 
i found another thing....

the program cant display my trophies from sports champions.... and my sports champions trophies is not i my total trophy amount..

so i guess the trophy source isnt all that good causs its nearly 2 weeks since the game was released :(

EDIT:

see here what i mean!

http://mypsn.eu.playstation.com/psn/profile/Spaden.png

http://i52.tinypic.com/s68652.png

benexus 2010-09-24 19:48

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by infected69 (Post 825539)
i found another thing....

the program cant display my trophies from sports champions.... and my sports champions trophies is not i my total trophy amount..

so i guess the trophy source isnt all that good causs its nearly 2 weeks since the game was released :(

EDIT:

see here what i mean!

http://mypsn.eu.playstation.com/psn/profile/Spaden.png

http://i52.tinypic.com/s68652.png



The only way to get trophy information about any user is to use US site (it allows you to see trophies for any user using your own account) On the other side EU only lets you see your friends trophies.


US site doesn't have all the games listed (it also doesn't have all the trophies for a speceifica game. ex: Zen Pinball)


So, some games & trophies will not appear on public profiles.

mr_xzibit 2010-09-24 21:21

Re: [Request] PS3 trophies/game list on N900?
 
its not only sports champians thats missing. as i dont even have that yet?

http://mypsn.eu.playstation.com/psn/.../mr_xzibit.png

you only have 17 missing!!!!!! lol

http://i583.photobucket.com/albums/s...reenshot05.png

benexus 2010-09-24 21:35

Re: [Request] PS3 trophies/game list on N900?
 
mr_xzibit, how are you getting the number of trophies?

If you get it from your profile it should be 2308

Are you calculating this number based on the games?

mr_xzibit 2010-09-24 21:41

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by benexus (Post 825674)
mr_xzibit, how are you getting the number of trophies?

If you get it from your profile it should be 2308

Are you calculating this number based on the games?


im not to sure where or how the total is being added up.
thp is the coder for trophae. im not involved in that area.
im just keen to help him in any way to create a sweet trophy app.
so i cant really help sorry :S

thp 2010-09-26 12:58

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 825677)
im not to sure where or how the total is being added up.
thp is the coder for trophae. im not involved in that area.
im just keen to help him in any way to create a sweet trophy app.
so i cant really help sorry :S

For versions < 6 of Trophae, I simply ignored the trophy number on the webpage and summed up the games' total trophy count. For version 6, I'm now taking the number directly from the webpage. Still, it seems like the EU Playstation site lags a bit behind (it even says so on the bottom of the page). Any suggestion for a better (official) page greatly appreciated.

mr_xzibit 2010-09-26 18:20

Re: [Request] PS3 trophies/game list on N900?
 
officially! well you only really have 2 choices. playstation E U or U S.
maybe ill sling benexus a couple of bucks he might let us use his api.
or maybe not.

benexus 2010-09-27 12:23

Re: [Request] PS3 trophies/game list on N900?
 
Quote:

Originally Posted by mr_xzibit (Post 826783)
officially! well you only really have 2 choices. playstation E U or U S.
maybe ill sling benexus a couple of bucks he might let us use his api.
or maybe not.

EU doesn't have public profiles, US does.

My public API is based on US site, no password required.

The site is free to use, but with the restriction of 30 seconds between calls from same IP or same User.

I want to sell the compiled library (less than $100 for sure) , but you need a windows machine to host it (its developed in c#)

Im hoping to sell enough to release the source code.

But, as I said before, if you need help, just ask :D


All times are GMT. The time now is 22:37.

vBulletin® Version 3.8.8