Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#56769 12/05/09 02:52 AM
Joined: Dec 2009
Posts: 5
J
Member
OP Offline
Member
J
Joined: Dec 2009
Posts: 5
So I have been thinking about an overly complex solution to a simple problem for a while now, and after finding my self with some free time, I decided to try an act on this desire to give my self too much to do and I build a simple web service.

I call it VGPedia.net and it is a web service for (initially) Game Genie codes. The idea is, allow anyone to post codes, and expose them as a simple REST style Web Service so that possibly the service can be built in to emulators for a one click "download codes" (you know you have worked in enterprise software too long when you think HTTP GETs and XML parsing are simple). Nestopia seemed like a good place to start because it already supports a cheat file XML format and the hard work of Cowering (and the GoodNES tool) means maintaining an ordered reference point might be possible. So far I've built everything on top of Google App Engine (this project is an excuse for me to learn a new web framework, normally I work on a search engine I invited called XRAE [xrae.com]). It's all hosted at

http://vgpediaweb.appspot.com/

You don't need to sign in to browse, search or download, just to add new codes (an area that needs a lot of work). Right now I'm using the standard Google Authentication API so you need a Google account (like GMail, iGoogle or Google Reader). There is very little data in there right now. Anyways, I just thought I'd let you all know what I'm working on, in case any of ti is of interest to you.

Joined: Mar 2001
Posts: 16,613
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,613
That's pretty cool actually. It'd be neat if NST could directly connect to it and pull down codes for whatever game is loaded smile

Joined: Dec 2009
Posts: 5
J
Member
OP Offline
Member
J
Joined: Dec 2009
Posts: 5
I'm working on setting up my DNS entries to allow the use of a cleaner url (http://www.vgpedia.net/). That might be a better target to program against. I'm also working on a way to mass import ROM names from Cowering's datafiles.

If you load up a good dump of Wizards & Warriors and click on "Options->Cheats" then on "Add" (preferably Temporary) and then on the "Current" button it will spit the CRC value of the running ROM. Going from this to a URL, and then to a xml.load() call would be easy. Then the parsing of the XML that VGPedia.net spits out would use the same routines that are currently in place (I've tried this). You could even make it a configurable option like "Cheat Server" so anyone could host a database.

Anyone have a set up environment to compile the latest Nestopia?

Joined: Dec 2009
Posts: 5
J
Member
OP Offline
Member
J
Joined: Dec 2009
Posts: 5
Ok I got the source code to compile (Using Visual Studio 2008 C++ Express Edition, the Platform SDK and the DirectX 9 SDK (Summer 2004)) and I have started trying to understand the source code (I have a break point on Cheats::MainDialog::Section::OnCmdImport). While fooling around with it though, I decided to try a simple hack and found something rather cool

Try this

Load Wizards & Warriors in Nestopia, then click on "Options"->"Cheats" and "Import"

Now look up "Wizards & Warriors" on VGPedia(http://vgpedia.net/ is now a shortcut to the full site, though not an alternate domain)

Right click on "Download as XML" and select "Copy Link Location" (in Firefox, "Copy Shortcut" is IE).

Now in the open file dialog paste the copied URL into the filename box and click "open". The Windows File Open dialog will retrieve the XML document as though it were on a Network Drive, and Nestopia will process it cleanly because it's in the correct format.

The only thing left to do would be to write some resolver code to search for a game by it's CRC value. But without that you have a web accessible database of Game Genie codes that anyone can start editing right now.

Last edited by Jason Sperske; 12/05/09 07:22 AM.
Joined: Dec 2009
Posts: 5
J
Member
OP Offline
Member
J
Joined: Dec 2009
Posts: 5
Quick update, the DNS changes went though,

http://www.vgpedia.net/ will now serve as the home of VGPedia. I also added a bunch of codes

*Guardian Legend, The
*Legend of Zelda, The
*Double Dragon
*Super Mario Bros. 2
*Karnov
*Zelda II

Joined: May 2008
Posts: 17
R
Member
Offline
Member
R
Joined: May 2008
Posts: 17
I hate to rain on your parade, but this is already possible with my web site, that was mentioned on this forum a while back.
http://exportcheats.com

with a query such as this:

http://exportcheats.com/importFromEmu.php?sys=nes&emu=nestopia&crc=171251E3

any emulator supported by my site can get a file formatted for it. Not to mention all of the usability the site already has for submitting, converting, and editing codes as well as a confirmation system to weed out the ones that don't work.

Maybe we can collaborate?

Joined: May 2008
Posts: 61
M
Member
Offline
Member
M
Joined: May 2008
Posts: 61
I hate to rain on your parade rimsky82, but I would say over 50% of your codes are either bad or the descriptions are majorly jacked up. That's because all you did was copy/paste codes from other sites, you did no testing at all.

Joined: May 2008
Posts: 17
R
Member
Offline
Member
R
Joined: May 2008
Posts: 17
Originally Posted By Mighty Mo
I hate to rain on your parade rimsky82, but I would say over 50% of your codes are either bad or the descriptions are majorly jacked up. That's because all you did was copy/paste codes from other sites, you did no testing at all.


First of all, I got most of the codes from your poorly protected excel sheet that I wasted $5 on. Then I scraped from other sites, just like everybody suggested, including yourself. Since your sheets are poorly formatted for data, and the sites I scraped are a stupid mess, not everything stored well.

I don't have time to test hundreds of codes for hundreds of games, or edit names and comments, which is why I made the site publicly managable, and gave you some admin control over it, like again, you suggested.

And, for someone that did everything by hand, and didn't understand crc, or any programming other than simple html, you seem to all of a sudden have no problem attacking me after I helped you.

I have no problem with this project being continued, which it appears was given up on months ago, but I just wanted to say that it's already possible with my site as well.

And I have tested a lot of the codes on my site, on real hardware, and your "50%" is a poor, poor guess.


Executive Admin @ http://gamehacking.org
Joined: May 2009
Posts: 1,879
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,879
Ladies, ladies, calm down, there's enough J D for everyone!

Joined: May 2008
Posts: 17
R
Member
Offline
Member
R
Joined: May 2008
Posts: 17
smile

Don't mean to cause a fuss.


Executive Admin @ http://gamehacking.org
Page 1 of 2 1 2

Moderated by  Marty, R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (r09), 35 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,836
Posts116,222
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5