
![]() |
![]() |
![]() |
|
|||||||
![]() |
![]() |
|
Welcome to Talk Arcades, the premier forum for arcade webmasters. You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#3 (permalink) | |
|
Contributing Member
Join Date: Aug 2008
Posts: 42
iTrader: (0)
|
Quote:
HUGE Game Pack - 7000+ Records - $29.95 - Support for GSS, phpAS, GS.net, FGS, AV |
|
|
|
|
![]() |
![]() |
|
|
#4 (permalink) |
|
Senior Member
Join Date: Apr 2007
Posts: 340
iTrader: (0)
|
That's not exactly straight forward.
While it is easy to md5sum a file your explanation is lacking a bit. The OP still needs a way to automate this to check all his files in a scripted fashion which would also need to include a way to list the files that needed to be deleted. Unless you give him some example code to do that.....it is not a straight forward affair for most people to whip up that kind of script. Edit: To the OP: Don't know how proficient you are on the command line but maybe this link will get you started down the track Flashtrackz is pointing you down. http://www.brunolinux.com/02-The_Ter...nd_Md5sum.html
__________________
~ |
|
|
|
![]() |
![]() |
|
|
#5 (permalink) | |
|
Contributing Member
Join Date: Aug 2008
Posts: 42
iTrader: (0)
|
Quote:
The script to backfill hashes is really not that bad though. You hash the file, connect to the database, and insert the hash value for your game into the game's new md5 column. I actually use sha1 (same diff) and besides the sha1 routine which you'll find pre-canned out there, all it took was literally what I said above - 2 SQL calls and very few lines of code to do it all. Your mileage may vary! Depending on what your tables look like, the first sql might be something like: select gameid,gamefile from games where gamemd5 IS NULL; iterate through the responses, generating a hash per file, and insert the data into the corresponding gameid's gamemd5 column. |
|
|
|
|
![]() |
![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Arcade Script Reviews | arcadillo | Scripts & Software | 6 | 08-08-2008 02:35 AM |
| PR5 Arcade Site 5,000 UV | Doug | Link Exchanges | 9 | 04-10-2008 02:51 PM |
| ArcadeScript.com - where Social Networking meets High Score Flash Games | Varchar | Scripts & Software | 9 | 12-01-2007 05:45 AM |
| Places to submit games | webbom | Marketing | 1 | 07-25-2007 06:16 AM |
| Have an Arcade? Need Games? 2229 Games Inside!!! | admin | Game Packs | 3 | 09-15-2006 10:30 AM |