| RU Games Discussions for just Retro Uprising games. |
|
04-08-2012, 06:09 PM
|
#1
|
|
|
Every Single NES/FDS Game
I started working on a list a for a while now, which is stored in a database, and generated out with PHP. It's still not finished, but i thought to upload it, to see what you guys think.
Every game has the following info: title, aka, description, 2 screenshots (title screen, in-game), year (release), type (genre) and 2 buttons, one to mark as mastered and the other one to mark if it's on ru or not.
The list also features a powerful search, where you need to input the 'where' part from a mysql query.
At the moment there are 1302 games, from which 937 are on the site.
I hope, that the list can help in organizing the nes games and add more in a clean way, without adding duplicates or cheap sprite hacks.
The list is also useful for finding new games to play, or searching for games without knowing it's title.
server2go.zip
---------- Post added at 06:09 PM ---------- Previous post was at 04:40 PM ----------
html version, which is only 17,5mb
|
My Signature |
|

04-08-2012, 06:50 PM
|
#2
|
|
|
Re: Every Single NES/FDS Game
Cool good work. You realise you got a bunch of games that are recent listed?
|
My Signature |
|
kong on Bronies:
"Of the 75% that are straight I would bet at least 10% would rather have a cheeseburger than a girlfriend."
04-08-2012, 07:27 PM
|
#3
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by stevencassidy13
Cool good work. You realise you got a bunch of games that are recent listed?
|
what do you mean, by that?
|
My Signature |
|
04-08-2012, 07:52 PM
|
#4
|
|
|
Re: Every Single NES/FDS Game
There are some games that are homebrew that are as new as 2012 listed.
|
My Signature |
|
kong on Bronies:
"Of the 75% that are straight I would bet at least 10% would rather have a cheeseburger than a girlfriend."
04-08-2012, 08:43 PM
|
#5
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by stevencassidy13
There are some games that are homebrew that are as new as 2012 listed.
|
yes, i know, that's the point, to add all of them...
Try using commas, the sentences will make more sense to anyone who reads it 
|
My Signature |
|
04-08-2012, 08:52 PM
|
#6
|
|
|
Re: Every Single NES/FDS Game
Oh ok, I'm just not sure if they qaulify for R.U. or not.
|
My Signature |
|
kong on Bronies:
"Of the 75% that are straight I would bet at least 10% would rather have a cheeseburger than a girlfriend."
04-08-2012, 11:34 PM
|
#7
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by Incubator
Try using commas, the sentences will make more sense to anyone who reads it 
|
How would that help in that sentence at all? lol
|
My Signature |
|
"My mind is my weapon. My brother has his sword, King Robert has his warhammer and I have my mind... and a mind needs books as a sword needs a whetstone if it is to keep its edge. That’s why I read so much, Jon Snow."
07-13-2012, 02:31 PM
|
#8
|
|
|
Re: Every Single NES/FDS Game
After all that time, the list is pretty much complete.
There's a total of 1869 games, from what 1039 are on the site, excluding duplicates and very similar hacks.
The goal of the list was to discover rare gems, and put them in a list with previews to easily recognize/view them. It's true that there are lots of games that are unworthy of tryout, but in the same time i discovered many great games.
The list is pretty unique, there shouldn't be too many duplicate inside the list, let me know if you fnd any game that or listed twice under different releases...
Download (27 MB)
I recommend using chrome, because it opens it 10x faster.
|
My Signature |
|
07-13-2012, 07:21 PM
|
#9
|
|
|
Re: Every Single NES/FDS Game
Probably a better idea to release the .sql file. Chances are if you know how to launch that stuff you have your own server/servers anyway.
export the db
Code:
mysqldump -u"username" -p"password" databaseName > dbcopy.sql
then import
Code:
mysql -u"username" -p"password" databaseName < dbcopy.sql
Also, use XAMPP instead ; )
Last edited by fungusman; 07-13-2012 at 07:26 PM..
|
My Signature |
|
07-14-2012, 12:26 AM
|
#10
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by fungusman
Probably a better idea to release the .sql file. Chances are if you know how to launch that stuff you have your own server/servers anyway.
export the db
Code:
mysqldump -u"username" -p"password" databaseName > dbcopy.sql
then import
Code:
mysql -u"username" -p"password" databaseName < dbcopy.sql
|
Alright, here are the php files and the sql database:
Download Source
Quote:
|
Also, use XAMPP instead ; )
|
What do you mean? I am using XAMPP :P
Also, let me know if some one knows a good site where are lots of details about most of these games, so i can make a script to grab all the data and inject it into the list.
Last edited by Incubator; 07-14-2012 at 12:29 AM..
|
My Signature |
|
07-14-2012, 04:26 PM
|
#11
|
|
|
Re: Every Single NES/FDS Game
nice.
Do you want me to throw this on some webspace for you ?
|
My Signature |
|
07-14-2012, 06:13 PM
|
#12
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by fungusman
nice.
Do you want me to throw this on some webspace for you ?
|
You can put it up if you want, but it wasn't meant for that, as there's a textfield on the index page where everyone's able to inject mysql code, therefore anyone can do what they want with the database.
And it might also be slow...
|
My Signature |
|
07-14-2012, 06:40 PM
|
#13
|
|
|
Re: Every Single NES/FDS Game
lol
Code:
mysql_real_eascape_string($text);
Theres also these things called passwords, pretty cool at keeping people out of places you don't want them in
Also, no website is hack proof believe me. That's a badge you must earn.
Last edited by fungusman; 07-14-2012 at 06:45 PM..
|
My Signature |
|
07-15-2012, 02:26 AM
|
#14
|
|
|
Re: Every Single NES/FDS Game
Quote:
Originally Posted by fungusman
lol
Code:
mysql_real_eascape_string($text);
Theres also these things called passwords, pretty cool at keeping people out of places you don't want them in
Also, no website is hack proof believe me. That's a badge you must earn.
|
:P mysql_real_escape_string() is not the solution, as it was planned to be able to add mysql code inside it, for advanced searching, i didn't want to spend time on making it safe for publishing, i wanted to make it fast and advanced, so i just made it possible to insert mysql code in it. Also, passwords wouldn't be the real solution, because people can do things by mistake as well.
The best solution would be to secure the search and create registration.login, where everyone would have a copy of the list, and could add remove, edit what they want without messing up the original, but for that i don't have the time now.
But you can also upload only the html version.
Last edited by Incubator; 07-15-2012 at 02:38 AM..
|
My Signature |
|

07-15-2012, 04:15 AM
|
#15
|
|
|
Re: Every Single NES/FDS Game
mysql_escape_string escapes sql injection.
|
My Signature |
|
07-15-2012, 07:51 AM
|
#16
|
|
|
Re: Every Single NES/FDS Game
mysql_escape_string will secure the code but it will also break it.
Example, to search for Mario you wouldn't type mario, you would type
SELECT * FROM games WHERE title LIKE "%Mario%"
If you escaped that then it wouldn't search for anything.
|
My Signature |
|
07-15-2012, 01:30 PM
|
#17
|
|
|
Re: Every Single NES/FDS Game
Code:
$text = mysql_real_escape_string($_POST["mario"]);
$sql = "SELECT * FROM games WHERE title LIKE '%".$text."%'";
|
My Signature |
|
07-15-2012, 01:55 PM
|
#18
|
|
|
Re: Every Single NES/FDS Game
He designed it for personal use and it to take any sql.
Example the search could also be
UPDATE gamelist SET beat = 1
or
SELECT * FROM gamelist WHERE beat = 1
It is fixable, just you can't slap mysql_real_escape_string on it and be done is the only point.
|
My Signature |
|
07-15-2012, 02:11 PM
|
#19
|
|
|
Re: Every Single NES/FDS Game
Ah ok, so he has a field somewhere that takes raw sql queries gotcha.
|
My Signature |
|
07-15-2012, 04:04 PM
|
#20
|
|
|
Re: Every Single NES/FDS Game
Right. Because he wanted to do more than just search and was planning on being the only user.
|
My Signature |
|
07-16-2012, 07:55 AM
|
#21
|
|
|
Re: Every Single NES/FDS Game
^ that's all true
but you can find the table data in the sql file and use the search bar by putting in for ex.
title LIKE '%Mario%'
(which would find all games with mario)
released > 1990
(which would find all games released from 1991)
on_ru = 0
(games that aren't on ru)
this is what you have to insert to make basic searches, only the part after the WHERE, as it is written before the textfield
I designed this way, because i wanted to create a very powerful search function as fast as possible while ignoring security, so this seemed a good solution.
I know this isn't a normal solution for public usage, but if requests come up, i will take my time to make it safe for public usage
Last edited by Incubator; 07-16-2012 at 08:00 AM..
|
My Signature |
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|