Widescreen Gaming Forum
http://www.wsgf.org/phpBB3/

Steam to WSGF game compare
http://www.wsgf.org/phpBB3/viewtopic.php?f=63&t=25704
Page 1 of 4

Author:  LuckyNoS7evin [ 05 May 2013, 19:19 ]
Post subject:  Steam to WSGF game compare

Quote:
So i moved my initial post here instead of the WSGF Medals for Steam [Chrome/Firefox Extension] thread for the reason being I'm going to be posting more over the next couple of days so here is the oiginal post which is now deleted from the other thread.


Good evening gents,

Delphium pointed me in this direction as I've been working on a system for matching my steam library against WSGF. This app (will be an app later it's currently a bit of hacked together code) will then be able to display "you have these games in your library here is the WSGF ratings" and "you have these games but they don't match WSGF you may be able to contribute"

I started a thread here http://www.wsgf.org/forums/viewtopic.php?f=59&t=25668 which has started well however this is the current issues I'm working on and probably need help or info from CJM and Brett (Delphium told me you two)

Issue 1: When I access http://www.wsgf.org/mgl/xml it seems to only have 82 nodes, it was mentioned that it only displays games with Steam IDs so completely understand

Issue 2: some of those 82 nodes still don't show Steam ID, it seems to be blank

Then this is the next phase, questions

Question 1: Is there any chance on an xml format version like the existing one that isn't restricted by steam id?

Question 2: if not could I get sent a version as to code the system I'm planning on doing however handing it over at the end for WSGF to "install" and look at

Finally something I've done for you (possibly if you haven't yet)

I took the MGL and literally copy/pasted all titles into a CSV, yes all 1279, from there I did a title match on the Steam Master Games List. This was a simple title match but was able to match 503 games with their steam ID, the resulting file is here however probably not in a useful format.

I'm happy to code the rest of my project based on these 500 matches as it will give me a good start point to match my library against WSGF.

I just hope you can help with the Questions and Issues above and answer this final question:-

Do you want me to write the matching system as described at the start or should I stop now :)

Author:  LuckyNoS7evin [ 05 May 2013, 19:54 ]
Post subject:  Re: Steam to WSGF game compare

So tonight during a bit of dev time I thought I would convert my original Title: SteamID text filr and ALL WSGF csv into a joined up xml file.

This XML file contains all copy pasted titles from the MGL and their steam ids based on title match only, if you want this file its here http://s7evin.azurewebsites.net/AllWSGFMatched.xml

So after that I took the matched by steam ID, matched by title and no matches from my own steam ID and created a little mock application......

So here it is....

http://s7evin.azurewebsites.net/

so you need your steam ID..... if you don't type one then it uses mine (for now) so you can test it if you just click get games

skipclarke = 76561197987549704

delphiuum = 76561197995599711

CJM = 76561197960503379

Please this is a work in progress, I know a lot of steam IDs are missing, but this is what I have so far, if I was able to get the rating in my copypasted xml I would have shown that for matched games.

Those that are matched by title didn't match the first time round for some reason but show you haw it would work if you didn't have steam ID but it matched on Title (you could put a note saying we matched this game on title, the steam ID is {xxxxx} contribute to WSGF :))

Author:  LuckyNoS7evin [ 05 May 2013, 23:18 ]
Post subject:  Re: Steam to WSGF game compare

Added the Grades from WSGF, again this was taken from Saturday 4th May and is a copy so will not update at the moment, if the WSGF admins want to include this in the site it would be awesome, this was mainly just for me to see where WSGF had gaps.

Unfortunately with the current MGL xml being those with Steam IDs and currently at 82 nodes I had to do a bit of hack and slash to get where I am now.

If you want to know it's in C# using Linq-2-Xml at the moment, I thought I would get the concept done before trying to do this in php and you guys would probably want to hook straight to DB rather than using xml then messing with that in php (steam provides xml or json for the matching)

Author:  Wijkert [ 06 May 2013, 07:23 ]
Post subject:  Re: Steam to WSGF game compare

Very useful site. Great work! :onethumb:

Author:  Delphium [ 06 May 2013, 11:20 ]
Post subject:  Re: Steam to WSGF game compare

All I get... when the website is online, is "Oh noes! Error happened!" upon entering in a game. :(

Author:  LuckyNoS7evin [ 06 May 2013, 11:56 ]
Post subject:  Re: Steam to WSGF game compare

Delphium wrote:
All I get... when the website is online, is "Oh noes! Error happened!" upon entering in a game. :(


oh that's odd

you don't get this?

Attachment:
orThis.PNG
orThis.PNG [ 15.78 KiB | Viewed 8969 times ]


or

Attachment:
this.PNG
this.PNG [ 458.19 KiB | Viewed 8972 times ]


Wonder what's up with that? will have a look after getting in this afternoon

Author:  Haldi [ 06 May 2013, 14:07 ]
Post subject:  Re: Steam to WSGF game compare

Same Problem als Delphium, when i enter skyrim and press get Game i get a Oh noes.

Author:  LuckyNoS7evin [ 06 May 2013, 14:31 ]
Post subject:  Re: Steam to WSGF game compare

Haldi wrote:
Same Problem als Delphium, when i enter skyrim and press get Game i get a Oh noes.



Ah okay, the idea is not to put individual games in, the idea is to put your steam ID in.

For example my steam ID is 76561198040969636

To get your steam ID use http://steamidconverter.com/

To use the converter type in your profile URL for example mine is http://steamcommunity.com/id/LuckyNoS7evin/ and then take the value of steamID64, type this into the text box on my site and there you go your steam library..

I'm not sure if your steam profile has to be public for it to pick up all your games, I haven't tested this.

Author:  Delphium [ 06 May 2013, 15:28 ]
Post subject:  Re: Steam to WSGF game compare

LuckyNoS7evin wrote:
the idea is to put your steam ID in.

Ahh, that worked.
Cool :)

Author:  LuckyNoS7evin [ 06 May 2013, 15:33 ]
Post subject:  Re: Steam to WSGF game compare

Delphium wrote:
LuckyNoS7evin wrote:
the idea is to put your steam ID in.

Ahh, that worked.
Cool :)


Ah but now you have it working you have to tell me what you think :)

Page 1 of 4 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/