Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 04 Jun 2026, 06:09

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 26 May 2013, 21:26 
Offline
User avatar

Joined: 27 Feb 2013, 16:25
Posts: 163
Location: Gloucester, UK
Today I finished the Ts in my initial 500+ Steam IDs this meant I had finished, so I thought I would revisit my code to try and get a few more matches...

I changed my "matching" a little and removed case and spaces. You may not care about the previous version but the initial version just removed punctuation.

So here is the new version


foreach (XElement wsgfGame in noMatch)
{
var name = wsgfGame.Element("Title").Value.ToLower();
name = new string(name.Where(c => !char.IsPunctuation(c)).ToArray());
name = name.Replace(" ", "");
if (steam.Descendants("name").Select(s => new string(s.Value.ToLower().Where(c => !char.IsPunctuation(c)).ToArray()).Replace(" ","")).Contains(name))
{
var theMatch = steam.Descendants("app").First(s => new string(s.Element("name").Value.ToLower().Where(c => !char.IsPunctuation(c)).ToArray()).Replace(" ","") == name);
reMatch.Add(wsgfGame, theMatch);
}
}


By the title of this blog guess what, I got 63 new matches.....Time to get these put in to WSGF!

_________________
i7 3770K (Ivy bridge) | Corsair Dominator 32GB | Asus P8Z77-V LE Plus Intel Z77 | Corsair H100i | 2 x Gigabyte ATi Radeon HD 7950 in crossfire | NXZT Phantom case | OCZ 1000W Powersupply | Samsung 840 PRO 256GB | 2x OCZ agility 3 60GB SSDs | 2x 1TB HDDs |


Top
 Profile  
Reply with quote  
PostPosted: 28 May 2013, 22:53 
Offline

Joined: 04 May 2013, 05:33
Posts: 7
Next you might think about added the PCGamingWiki link to all the pages that don't have it.

Would it be possible to make a list of every game on the WSGF?

_________________
I'm a moderator on the PCGamingWiki! View my profile or more easily contact me on my user page there. http://pcgamingwiki.com/wiki/User:Nicereddy


Top
 Profile  
Reply with quote  
PostPosted: 28 May 2013, 23:00 
Offline
User avatar

Joined: 27 Feb 2013, 16:25
Posts: 163
Location: Gloucester, UK
nicereddy wrote:
Next you might think about added the PCGamingWiki link to all the pages that don't have it.

Would it be possible to make a list of every game on the WSGF?


I've got to have a word with the WSGF dev guys at some point in the near future, they have an xml version of the Master Games List but it only displays those WSGF games with Steam IDs. I would like a version which displays all games rather than those with just Steam IDs, the internet is about information these days and would love to use the info WSGF has :)

_________________
i7 3770K (Ivy bridge) | Corsair Dominator 32GB | Asus P8Z77-V LE Plus Intel Z77 | Corsair H100i | 2 x Gigabyte ATi Radeon HD 7950 in crossfire | NXZT Phantom case | OCZ 1000W Powersupply | Samsung 840 PRO 256GB | 2x OCZ agility 3 60GB SSDs | 2x 1TB HDDs |


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron




Powered by phpBB® Forum Software © phpBB Group