PDA

View Full Version : [Request] PS3 trophies/game list on N900?


hycraig
2010-08-04, 09:46
I would like to see an app for the N900 that allows viewing of PS3 trophies and online status, maybe even have a list of games you own with a thumbnail image of the boxart :)
something like itrophies would be awesome to have
so any kind devs out there willing to create something to do this in there spare time i would love to help in any way i can to test and make this happen.
craig

http://i34.tinypic.com/2gv7i34.jpghttp://i35.tinypic.com/ojm8me.png

fahadj2003
2010-08-04, 12:19
+1 from me

cferrism
2010-08-04, 12:29
Forget PS3. Xbox Live Friends app is where its at ;)

Ive been looking into a way of getting one for xbox up and running to take my mind of stopping smoking as this should be fairly straight forward but I'm still feeling my way around n900 app coding, and even then when it comes to c/c++ Im a newbie so if I do get there it will probably involve a bit of Plagiarism from other platforms.

A stop smoking app is on my priority list also :D something to count how many ciggies I've not had, monitory benefits etc.

These may never come to fruition but throwing my tuppence in :D xbox wooo! ps3 boo!...that is all.

crail
2010-08-04, 12:44
no need to be a fanboy, theyre both great consoles. why not have an app each?

+1 for trophy app though

ossipena
2010-08-04, 12:58
first things first: are there any apis available?

hycraig
2010-08-04, 13:23
first things first: are there any apis available?

only thing i can find atm is this if it has anything useful or not i don't know
http://api.geekweb.org/psn/community/

hycraig
2010-08-04, 20:02
i emailed the author of itrophies and asked for api or any usefull and this is what he said.

Hello,

There's no API mate, everything comes from inspecting the websites, sniffing the requests and some screen scraping.

Have fun!
Viru

maybe someone knows how to do this ?

killerjay
2010-08-04, 20:16
+1 for me as well

hycraig
2010-08-05, 08:48
i've been on http://uk.playstation.com/ and logged in using my psn account and everything we need is available here, as you can see in the red highlighted areas in the screenshot.
so we just basically need a stripped down version of the site if anyone is able to do this?

i can provide login details for an account i don't use if you don't have a ps3 psn id :)
http://i34.tinypic.com/svkni9.png

ToJa92
2010-08-05, 09:10
There is some PSN API's here it seems, not sure if they're any good(not checked the site thoroughly): http://api.geekweb.org/psn/community/

infected69
2010-08-05, 09:16
me like big time.... this will be great +1

http://sparwath.net/upload/upload_dir/left.pnghttp://pfcdn.net/site/trophy_widget/psn/infected69.pnghttp://sparwath.net/upload/upload_dir/right.png

hycraig
2010-08-05, 10:50
i've found that if you go here you can view trophies without logging in just by adding your psn id the the end of the address allows you to view tropies in great detail but to compare them you need to log in but its better than the previous link imo
http://us.playstation.com/publictrophy/index.htm?onlinename=your psn id

just noticed its even got a my list section that lets you add games you own and view them all :)
http://i37.tinypic.com/vy8h1w.png

infected69
2010-08-06, 09:13
good find but if i select a game it will not show the trophies under the game... i get this message

Note: The above information is dependent on the proper functioning of the PlayStationŽNetwork. Information is not updated in real time.

marble
2010-08-06, 10:28
If noone beats me to it, a PS3 trophy app is number 3 on my list of apps to write (I'm close to releasing number 1 (a todo-list with all the features I want, partly written to learn maemo programming), and number 2 is quite simple, but more important to me atm (spending tracker thing)).

hycraig
2010-08-06, 10:48
If noone beats me to it, a PS3 trophy app is number 3 on my list of apps to write

Great to hear I'll be looking forward to that.
also when you get round to it I'd be happy to test it for you :)
thanks

marble
2010-08-09, 12:22
So... after a productive weekend hacking on my other apps, perhaps we could start discussing exactly what's wanted here. (Sorry, I don't do iStuff, so don't know what the originally referred to app does.)

I'm thinking it should show your profile (psnid+icon+number of each type of trophy), along with a list of all the games you have. Clicking on a game should list the trophies for that game, and which ones you have, and how many of your friends have that trophy. You should also be able to tag trophies, and view by tag (eg. to let you list ones you're going to attempt to get next, etc).

A separate tab should show your list of friends with their overall ranks, online status, and how far ahead/behind you they are (probably as a number of bronze equivalents).

Possibly a button in the games view should open a browser googling for a trophy guide for that game.

Did I miss anything?

hycraig
2010-08-10, 08:31
So... after a productive weekend hacking on my other apps, perhaps we could start discussing exactly what's wanted here. (Sorry, I don't do iStuff, so don't know what the originally referred to app does.)

I'm thinking it should show your profile (psnid+icon+number of each type of trophy), along with a list of all the games you have. Clicking on a game should list the trophies for that game, and which ones you have, and how many of your friends have that trophy. You should also be able to tag trophies, and view by tag (eg. to let you list ones you're going to attempt to get next, etc).

A separate tab should show your list of friends with their overall ranks, online status, and how far ahead/behind you they are (probably as a number of bronze equivalents).

Possibly a button in the games view should open a browser googling for a trophy guide for that game.

Did I miss anything?

Yeah it seems you got everything covered there looking forward to seeing it.
i'll try and help out if i can like in help finding info testing the app and stuff unfortunately i can't code but any helps better than none ehh
thanks

marble
2010-08-11, 16:26
I'm working out how to scrape the data now, but in the meantime you can vote for this idea if you haven't already... maybe Sony'll make it easier...
http://http://share.blog.us.playstation.com/ideas/2010/03/17/trophy-presence-and-profile-apis/

thp
2010-08-11, 16:45
Ping me if you need some help with the code :) Maybe you can create a garage project and push the code into a Git repository there, so we can send patches and build packages?

marble
2010-08-12, 13:24
Thanks thp. I will do that once I've got something worth pulling ;) I know which pages need to be fetched, and I've got some python code to parse those and retrieve the info we want in a more useful manner, I just need to wrap those into an app that does the login, fetches the pages, then does something with the result. I don't think that will be very hard, so I'll get it on garage and let you know when it's up.

marble
2010-08-23, 12:15
Current status: I'm having a bit of trouble persuading Sony's servers to give me the info to parse. I'm working on it still, but it's quite slow progress. I've made a temporary page to put some code up, so if anyone has some time to play around with it, they can: http://www.pebble.org.uk/projects/trophyapp - but if you're not a python hacker, this is likely to just show you 'Network error 203', so don't get too excited ;)

thp
2010-08-24, 11:41
Current status: I'm having a bit of trouble persuading Sony's servers to give me the info to parse. I'm working on it still, but it's quite slow progress. I've made a temporary page to put some code up, so if anyone has some time to play around with it, they can: http://www.pebble.org.uk/projects/trophyapp - but if you're not a python hacker, this is likely to just show you 'Network error 203', so don't get too excited ;)

I've looked at your code and then decided to play around with the PSN websites. Here's what I've come up with: A parser for the public trophy list, so you can get a list of games (name, icon, progress in percent, and total and separate trophy counts). Here's the script, you need BeautifulSoup (http://www.crummy.com/software/BeautifulSoup/) for it: http://thpinfo.com/2010/archive/trophies.py

You can use it like this:

python trophies.py marblepebble

The parser already returns a generator with separate "Game" objects that contain the metadata, pre-parsed and easy to use.

What this approach can't do is list separate trophies, as this is only allowed when the user is logged in. I'm using a tricky request at the beginning to get hold of a JSESSIONID cookie, which seems to be the key to let the server give me the data (otherwise it won't work) - maybe this is something that you need to do as well to get your code working?

thp
2010-08-24, 12:15
Oh, and I just found some open source code in Java that might come in handy: http://code.google.com/p/psnfriends/

mr_xzibit
2010-08-24, 12:25
keep up the hard work guys. something i would be happy to test great stuff


http://www.yourgamercards.net/trophy/a/mr_xzibit.png (http://www.yourgamercards.net/profile/mr_xzibit)

marble
2010-08-24, 12:58
What this approach can't do is list separate trophies, as this is only allowed when the user is logged in. I'm using a tricky request at the beginning to get hold of a JSESSIONID cookie, which seems to be the key to let the server give me the data (otherwise it won't work) - maybe this is something that you need to do as well to get your code working?

Yeah. I got a JSESSIONID cookie (from the login form), and a bunch of others too. It's just that when I compare a capture of my code's requests with HttpFox's capture of me doing the same thing in firefox, the other cookies are all different. I think somewhere in all their huge amounts of javascript they must be manipulating them somehow. Either that, or the cookies change on images, which I was filtering out...

thp
2010-08-24, 13:24
Yeah. I got a JSESSIONID cookie (from the login form), and a bunch of others too. It's just that when I compare a capture of my code's requests with HttpFox's capture of me doing the same thing in firefox, the other cookies are all different. I think somewhere in all their huge amounts of javascript they must be manipulating them somehow. Either that, or the cookies change on images, which I was filtering out...

Use Wireshark (http://www.wireshark.org/) to capture the HTTP traffic and then filter on "http.request" and "Follow TCP Stream" to see the "real" conversation between clients and the server - it's easier to compare that way IMHO :) (although it won't work for HTTPS for obvious reasons)

marble
2010-08-25, 08:17
I have stuff working now for grabbing the games list from the eu server, and I have code to parse the per-game trophy lists from there too. I'll get the code up online this evening (I hope, tomorrow evening if not).

mr_xzibit
2010-08-26, 11:19
any progress on this one guys? im oober excited about this one!!

marble
2010-08-26, 14:20
Just uploaded a new version that does a bit more than the old one did. It's still not very exciting for a non-developer, but it's closer... Assuming you don't have weird characters in your email address/password, it should dump a list of games you've got trophies in on the console. It also has the capability to fetch the individual lists for each game, but that's not hooked up yet - that shouldn't be hard though.

mr_xzibit
2010-08-26, 14:26
how something along the lines of a trophy card(to show recent trophies/gamer level etc. as a widget kinda like the face book app

thp
2010-08-26, 19:39
I've uploaded a package called trophae (http://maemo.org/packages/view/trophae/) to Extras-Devel. It's very ugly (both UI-wise and code-wise), even embarrassing, but I'll post it here as a temporary solution until marble comes up with the better app, which should not take too long :) This one will probably stay in Extras-Devel forever or until I find some excuse to improve it and polish it up for Extras.

http://khan.thpinfo.com/~thp/images/20100826-trophae.png

mr_xzibit
2010-08-26, 21:40
very nice. took a while to load up my trophy list. but i do have over 2000! so even my ps3 takes its sweet tim if i compare. so. otherwise works great! many thanks. just what i need. all i need now is to see the bootlog when me phone starts up and im set! thanks again.

apps works great no problems look forward to a cleaned up version but this is ace for now

El Amir
2010-08-29, 12:47
I've uploaded a package called trophae (http://maemo.org/packages/view/trophae/) to Extras-Devel. It's very ugly (both UI-wise and code-wise), even embarrassing, but I'll post it here as a temporary solution until marble comes up with the better app, which should not take too long :) This one will probably stay in Extras-Devel forever or until I find some excuse to improve it and polish it up for Extras.

http://khan.thpinfo.com/~thp/images/20100826-trophae.png

I just tried the application, and here a few observations:

1. The app itself has an icon, would be great if you could include it in the Application manager too.

2. Every time the app launches, it asks for a username to look for. Would be great to have the option of saving a name and loading it automatically.

3. I cant really talk about performance as I only have 37 trophies. But it loads pretty fast, in under 5 seconds, so no complaints from me.

4.The app itself is intuitive and easy to use. Maybe we could get the option of displaying names instead of logos as some of the latter are sometimes hard to recognise.

5. Finally, I would absolutely love to have a portrait mode on this app. I know you wrote the "portrait.py" utility that most people who code in python use so it shouldnt be too dificult.

6. This is more of a feature request, maybe we could have the option of entering 2 usernames and having them compared side by side on the games they have in common?


In general, the app works great, and I really do hope you have the time to polish it a little bit more.

Thanks! :)

marble
2010-08-29, 18:05
I've got my app working (but it's very, very, very, very UGLY - I'll work on that later...). It can now retrieve all your trophies, lists your games and if you select one shows you the trophies for that game. Please note that if you tell it to save your email/password then it does so in plain text. (But you can tell it to save just your email, and prompt for your password every time, or save neither.)

On a refresh, it doesn't have to download all the games again, unless the number of acquired trophies for that game have changed, but I intend to change the format of the cached data before I release it properly, so you will have to redownload it all again. (It doesn't take that long for me, but I don't have as many as Mr Xzbit ;) ).

mr_xzibit
2010-08-29, 18:43
wheres the new version?

marble
2010-08-29, 20:07
I replaced the one on here (http://pebble.org.uk/projects/trophyapp). Install is by copying the tar onto your phone and 'tar xf trophease.tar', then 'cd trophease' and 'python main.py', all from an xterm window. Obviously that'd all change when I release it.

mr_xzibit
2010-08-29, 20:20
i got an error lol

~ $ cd /home/user/MyDocs
~/MyDocs $ tar xf trophease.tar
~/MyDocs $ cd trophease
~/MyDocs/trophease $ python main.py
Traceback (most recent call last):
File "main.py", line 8, in <module>
from gameview import GameView
File "/home/user/MyDocs/trophease/gameview.py", line 4, in <module>
from datastore import TrophyListModel
File "/home/user/MyDocs/trophease/datastore.py", line 6, in <module>
from netfetcher import NetFetcher
File "/home/user/MyDocs/trophease/netfetcher.py", line 3, in <module>
from PyQt4 import QtCore, QtNetwork
ImportError: cannot import name QtNetwork
~/MyDocs/trophease $

marble
2010-08-29, 21:06
Oh, right, you'll need to install pyqt. The full pyqt install should do it (when I make a .deb, it will include the dependencies necessary so the appmanager will install the right bits for you).

mr_xzibit
2010-08-29, 21:16
nice one. got it running entered user and pass but it just hangs with a note at the top (todo /b/s/g/p) but nothing happens

marble
2010-08-29, 21:22
Is the 'update' button enabled? If it's greyed out, that means an update is in progress (though it should have a status message saying what it's fetching or parsing). If not, try clicking it (or deleting ~/.trophease_account and ~/.trophease_data and running it again). It should have picked up your psn username from the profile data, and that should be there before the (todo b/s/g/p).

mr_xzibit
2010-08-30, 14:22
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
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
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 (http://doc.qt.nokia.com/4.6/qsettings.html) or ConfigParser (http://docs.python.org/library/configparser.html) 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
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
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
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
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
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
heres my effort thp
http://i583.photobucket.com/albums/ss279/mr_xzibit/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
I like mr_xziit icon it looks professional. also a widget would be cool. :)

thp
2010-09-20, 14:08
http://i583.photobucket.com/albums/ss279/mr_xzibit/trophae1-1.png

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?

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:

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
awsome ill get on it when i finish work.

mr_xzibit
2010-09-20, 17:06
64x64
http://i583.photobucket.com/albums/ss279/mr_xzibit/n900/trophyico64x64.png

48x48
http://i583.photobucket.com/albums/ss279/mr_xzibit/n900/trophyico48x48.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/ss279/mr_xzibit/n900/trophycardeg-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
http://www.yourgamercards.net/generators/trophy
enter your id and your gamer card appers

http://www.yourgamercards.net/trophy/a/mr_xzibit.png (http://www.yourgamercards.net/profile/mr_xzibit)

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

thp
2010-09-21, 09:48
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?

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

http://www.psnapi.com.ar


Online API (1 call every 30 seconds)

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


Trophy Site

http://www.nextgengamers.com.ar/ps3/trophies


Trophy Card

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


Trophy Signature

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

http://www.youtube.com/watch?v=hJCGOcwY29w


And a widget with PSN Friend Status

http://indiesoftware.wordpress.com/


You can contact me if you need anything

Nicolas

gixx
2010-09-21, 18:51
today i got update a new version, !!! Thanks for Everybody !!!

thp
2010-09-21, 21:34
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
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
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
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
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
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/widget/widget.aspx?id=mr_xzibit&op=5&key=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/widget/widget.aspx?op=5&id=mr_xzibit&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
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/widget/widget.aspx?id=mr_xzibit&op=5&key=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/widget/widget.aspx?op=5&id=mr_xzibit&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/widget/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/widget/highrescustomtemplate.aspx
and some instructions here
http://indiesoftware.wordpress.com/custom-templates-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
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
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
http://i583.photobucket.com/albums/ss279/mr_xzibit/list.jpg

list of widgets to date

infected69
2010-09-24, 19:25
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
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
its not only sports champians thats missing. as i dont even have that yet?

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

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

http://i583.photobucket.com/albums/ss279/mr_xzibit/screenshot05.png

benexus
2010-09-24, 21:35
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
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
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
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
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

thp
2010-09-28, 14:39
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

A C# library won't be useful here (yes, Mono runs on Maemo 4, but maybe you are using .NET-specific libraries that are not yet available on Mono, and it would be too much of a hassle). The source code would also only be useful as a reference for a new implementation in Python or C++. What would be helpful is a generic description of which web pages provide which info (e.g. go to URL1, login, then go to URL2, trophies are listed there, ... - with all the information about HTTP headers and cookies that needs to be sent in order for the Sony website to "accept" the client app as if it was a normal web browser). Based on that, we could write a new implementation from scratch.

El Amir
2010-10-09, 22:12
Heya everybody,

Just thought I'd let you know I wrote a blog post on this app for MaemoFanatics. You can find it HERE (http://www.maemofanatics.com/new-app-review-ps3-trophy-viewer/trackback/)

Have a look and let me know what you guys think :)

thp
2010-10-26, 14:58
Marble: How are you progressing? Maybe we can join forces and create a more feature-right Trophy app with some of the API calls (website scraping) that you use?

marble
2010-10-28, 14:00
I've had some issues lately (my development server machine died, trying to get that sorted out still). My scraping code is still up on my site (link earlier in this thread). I had the idea that I could create a dummy PSN account, and make a webservice on my own site that logged in as that account and made the info available in an easy to use way (and therefore wouldn't need a username/password on the phone), but I haven't got round to that yet.

I've also been learning about packaging stuff up properly for my other project, so I hope (when I get my server back) to be able to do a more userfriendly release of my version at some point...

thp
2010-11-25, 11:10
Trophae now has a website + a published Git repository:

http://thp.io/2010/trophae/

thp
2011-01-03, 18:07
I've been thinking about maybe adding support for game-specific parts of PSN games, e.g. ModNation Racers (http://community.modnation.com/en-us/players/thp44), Little Big Planet (http://lbp.me/u/thp44) or SingStar (http://www.singstar.com/en_US/my-singstar.html?user=thp44). Users will have to set their profile to public for others to view their data. That would obviously require the client to download a list of PSN friends or the user just adds the PSN friends manually via their PSN ID. Any other PS3 games that have such a community page with user profiles?

marble
2011-01-04, 14:21
Hi, that's a good idea. Uncharted2 has something like that, at http://www.naughtydog.com/stats/marblepebble (for example)

thp
2011-08-10, 15:10
Someone suggested to me that this should be used as the API endpoint:

https://psxload.central-sq.com/api/

I won't be working on this for now, however. If anybody wants to pick up from here, feel free to do so.

Muzimak
2012-01-22, 19:13
Anyway this could be ported to N9? I'd be delighted! :)

Muzimak
2012-02-14, 06:42
BUMP? Anyone? I'd pay for this one!

thp
2012-02-15, 08:23
BUMP? Anyone?

The code is open - the Git repository is linked in this thread. You basically just have to exchange the Gtk UI for a QML UI. Should be easy with PySide. If you have any questions about the code, feel free to ask. Be aware that this only shows the trophy count and not detailed listings of each trophy (it's not a "Trophy Guide").

Muzimak
2012-02-17, 16:04
The code is open - the Git repository is linked in this thread. You basically just have to exchange the Gtk UI for a QML UI. Should be easy with PySide. If you have any questions about the code, feel free to ask. Be aware that this only shows the trophy count and not detailed listings of each trophy (it's not a "Trophy Guide").

Thanx for the responce, unfortunately I'm no progremmer so I don't understand anything U just said :(