Recovering Files from Browser Cache: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
(Various edits for clarity)
mNo edit summary
Line 36: Line 36:
== Flashpoint Cache Dumper ==
== Flashpoint Cache Dumper ==


This section will show you how to use a small tool called 'Flashpoint Cache Dumper' to list and copy the files in web browser caches.
This section will show you how to use a small tool called "Flashpoint Cache Dumper" to list and copy the files in web browser caches.


This script works with Internet Explorer, Mozilla Firefox, Google Chrome, and Opera (below version 15). It can also list files from Safari's cache, though it cannot copy them. It should run on Windows 2000, XP, Vista, 7, 8, 8.1 or 10 without needing an Administrator account or elevated privileges.
This script works with Internet Explorer, Mozilla Firefox, Google Chrome, and Opera (below version 15). It can also list files from Safari's cache, though it cannot copy them. It should run on Windows 2000, XP, Vista, 7, 8, 8.1 or 10 without needing an Administrator account or elevated privileges.

Revision as of 22:19, 2 December 2019

Web browsers often save files from websites you visit in a location called the "cache". This speeds up page loads on subsequent visits because cached files do not need to be redownloaded. We can use this to our advantage when looking for web games whose files are now unavailable.

This method for finding assets belonging to lost games is imprecise for a few reasons:

  • It requires access to an old computer where you played the game.
  • Files in your browser cache might have been deleted automatically or manually.
  • A game could have a lot of files, some of which are only requested at certain times. For example, the files for each level might only be downloaded when you beat the previous level. This would require you to have completed the whole game.

Because of this, you're more likely to find a game by using one of the following methods:

  • Checking if the files are still in the original site. They might still exist even if the game is unlisted.
  • Checking the Wayback Machine.
  • Looking for a fan or fanmade project who saved the game while it was still available.
  • Asking a developer who worked on the game if they still have any files they'd be willing to send.

This guide will list some lost games where these methods have all been tried and which are only likely to be found by searching the web cache. It will also show you how to recover these cached files by using a small script which can be easily run on a computer running Windows 2000, XP, Vista, 7, 8, 8.1 or 10.

List of currently lost games

This section lists some missing games where searching for their files in browser caches seems like the most promising way to find them. If you still have access to an old computer where you played any of these, be sure to contact a staff member in the #hunter-lounge channel of our Discord server! You could very well help us make them playable again.

  • Big Fat Awesome House Party (2006-2009): a Shockwave game released on May 15th 2006, which was playable on awesomehouseparty.com. It was developed by Powerful Robot Games and published by Cartoon Network. The game was discontinued on July 13th 2009, not long after the show it was based on ended. The game had a Flash movie which was used to handle registrations/logins (this shouldn't be confused for the real game). These Flash files were hosted on i.awesomehouseparty.com. The files for the actual Shockwave game are all missing and may have been hosted here as well. The names of these files are also unknown.

Gallery

List of games found by searching the web cache

This section lists some previously lost games which were recovered by searching for their files in browser caches.

  • Slipstream: a Shockwave game from Candystand.com.

Flashpoint Cache Dumper

This section will show you how to use a small tool called "Flashpoint Cache Dumper" to list and copy the files in web browser caches.

This script works with Internet Explorer, Mozilla Firefox, Google Chrome, and Opera (below version 15). It can also list files from Safari's cache, though it cannot copy them. It should run on Windows 2000, XP, Vista, 7, 8, 8.1 or 10 without needing an Administrator account or elevated privileges.

Download the latest version here.

You can use a USB flash drive to get this tool into your old computer, and the resulting files out of it. You should also move this file to the Desktop before running it.

Read the readme.txt file if you have any other questions.

How to run it

  1. Run the file you downloaded above. You'll be asked to choose a location where you want the tool to be extracted. Choose one and then press "Extract".
    Cache dumper tutorial 1.png Cache dumper tutorial 2.png

  2. Navigate to the new folder where the tool was extracted to and run the batch file FlashpointCacheDumper.bat. A new window will pop up. Be sure to read what it says before pressing Enter to start running the script.
    Cache dumper tutorial 3.png Cache dumper tutorial 4.png

  3. Let the script run through its 11 steps. After it finishes, press Enter again to close the window. You'll now have two new folders (DumpedCacheInfo and DumpedCache) and two new files (DumpedCacheInfo.7z and DumpedCache.7z).
    Cache dumper tutorial 5.png Cache dumper tutorial 6.png

  4. The DumpedCacheInfo.7z file contains the list of all your cached files while DumpedCache.7z contains some (but not all) of these files. If you don't know what to do with these files, you can send DumpedCacheInfo.7z first to a staff member in the #hunter-lounge channel of our Discord server. Then, you may be asked to send the DumpedCache.7z file over. Since this file is larger than the previous one, you can upload it here and post the link in the same channel. Be aware that whoever you send the resulting files to will be able to see what websites were visited and the username of the computer where the script ran.

Using the complete variant

This section will talk about a variant of the script above which will copy all cached files along with some extra content. If this is your first running this tool, you can skip this section for now.

The script we ran above only copies cached files if they're in a format that was used by web plugins (like Flash or Shockwave) or if their URLs begin in a certain way (like www.cartoonnetwork.com or www.nabiscoworld.com). Since a web game can use files in any arbitrary format, some game assets may not be copied over. If you want to be thorough, run CompleteFlashpointCacheDumper.bat located in the App folder. This will copy all cached files and place them in a single archive (DumpedCache.7z) which will be much larger than the two we saw above.

Note that both of these scripts always generate a list of all cached files, so you can use these to check if any important game assets weren't copied.

Here are the key features of the two batch files included in this tool:

- FlashpointCacheDumper.bat:

  • Copies some cached files from Internet Explorer, Firefox, Chrome and Opera (below version 15). It only copies files if their Content-Type is listed in App\ContentTypesToSave.txt or if their URL begins with one listed in App\URLsToSave.txt. It will naturally exclude many files, some of which might be game assets.
  • Generates CSV files which list all cached files along with other information (Content-Type, URL, Last Access Date, etc). This applies to Internet Explorer, Firefox, Chrome, Opera (below version 15) and Safari.
  • Generates a CSV file which lists the Flash cookies (local shared objects) that are stored in this computer.
  • Generates a text file with some system information (OS name, version, system type, original install date, Internet Explorer's version and cache location).
  • Generates two archives: DumpedCacheInfo.7z (with the CSVs and system information) and DumpedCache.7z (with the copied cached files).

- CompleteFlashpointCacheDumper.bat:

  • Copies all cached files from Internet Explorer, Firefox, Chrome and Opera (below version 15).
  • Generates CSV files which list all cached files along with other information (Content-Type, URL, Last Access Date, etc). This applies to Internet Explorer, Firefox, Chrome, Opera (below version 15) and Safari.
  • Generates a CSV file which lists the Flash cookies (local shared objects) that are stored in this computer.
  • Generates a text file with some system information (OS name, version, system type, original install date, Internet Explorer's version and cache location).
  • Copies the Java Plugin cache from three possible default locations.
  • Copies Internet Explorer's cache directly if it detects version 6. This is because of a bug in this version where some files might still exist on the cache, but the browser doesn't index them properly.
  • Generates one archive: DumpedCache.7z (with the copied cached files, CSVs and system information).

Analyzing the results

After running either of the batch files, you'll have CSV files which list every cached file and a copy of some or all of these. You can now search for missing game assets any way you want.

For example, you can import each CSV file to a spreadsheet program and see all the items that were cached by a specific browser. You'll probably want to sort them by Filename, Content-Type or URL, depending on what you're looking for. You can use the App\ContentTypesToSave.txt file for reference since it lists some of the MIME types and file extensions that are relevant to Flashpoint.

Part of the InternetExplorerCache.csv file after it was imported into Google Sheets. The four columns shown represent the Filename, Content-Type, URL and Last Accessed Date. Here we can see some Flash and 3DVIA games, and even a VRML world.

Other useful tools and resources

This section will link to other tools and resources that may be useful when looking for lost game files in browser cache.