https://github.com/mentalblank/raromonhashesuserscript
TamperMonkey script to add rom download links to "Supported Game Files" pages on RetroAchievements.org
https://github.com/mentalblank/raromonhashesuserscript
emulation retroachievements rom tampermonkey
Last synced: about 1 year ago
JSON representation
TamperMonkey script to add rom download links to "Supported Game Files" pages on RetroAchievements.org
- Host: GitHub
- URL: https://github.com/mentalblank/raromonhashesuserscript
- Owner: MentalBlank
- Created: 2025-02-19T16:54:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T15:21:28.000Z (over 1 year ago)
- Last Synced: 2025-03-17T22:08:59.062Z (over 1 year ago)
- Topics: emulation, retroachievements, rom, tampermonkey
- Language: JavaScript
- Homepage:
- Size: 966 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RetroAchievements.org Download Supported Game Files TamperMonkey Script
This script adds download links for supported game files on RetroAchievements.org's "Supported Game Files" pages. It utilizes hash information to inject direct download links for supported ROM files. Please ensure you respect RetroAchievements' policies and the legal framework in your region when using this tool.

## Linked Hash Status (as of Mar. 17, 2025)
- **Linked Hashes:** 13,223
- **Missing Hashes:** 2,061
## Disclaimer
- **Respect RA.org's Policies:** Please refrain from posting links to ROMs on RetroAchievements' website or Discord.
- **ROM Legality:** Ensure you have the legal rights to any files accessed through this script. Downloading ROMs without owning the original physical copy may violate copyright laws in your region.
- **Game Preservation:** The script supports video game preservation efforts by enabling easier access to classic games. However, always respect the rights of game developers and publishers when using such tools.
- By using this script, you agree to comply with all applicable laws in your jurisdiction. Be cautious and mindful of legal boundaries when sharing or downloading digital content.
## Script Versions
There are three versions of the script available. Choose only one version to use at a time:
- **Updated Script** – The most current version with a GitHub-hosted hashlist that can be edited through pull requests.
- **Fixed Old Script** – The original script by Wholee, hosted on Archive.org, with modifications for compatibility with RetroAchievements’ new layout.
- **Original Wholee Script** – The initial, unmodified version of the script, hosted on Archive.org, which may not be functional.
## Important Notes
- The updated and fixed scripts may have a small delay in generating download links. If no download link appears after a few moments, try refreshing the page or sourcing it manually, as the file might not exist in `hashlinks.json` or on Archive.org.
- RetroAchievements occasionally "recycles" game IDs, which can lead to incorrect links. These game IDs may no longer match the linked ROMs. If this happens, please report it via bug report or modify the hashlist via a pull request.
## Installation
Follow these steps to install the script using TamperMonkey (or ViolentMonkey):
### 1. Install TamperMonkey
- **FAQ:** [TamperMonkey FAQ](https://www.tampermonkey.net/faq.php#Q102)
- **For Chrome:** [TamperMonkey Chrome Extension](https://tampermonkey.net/?ext=dhdg&browser=chrome)
- **For Firefox:** [Tampermonkey Firefox Add-on](https://tampermonkey.net/?ext=dhdg&browser=firefox)
- **For Safari:** [Tampermonkey Safari Extension](https://tampermonkey.net/?ext=dhdg&browser=safari)
### 2. Add the Script to TamperMonkey
- Open the **TamperMonkey dashboard** by clicking the TamperMonkey icon and selecting **Dashboard**.
- Click on the **"Add a new script"** button (or the "+" icon).
- In the editor, delete any default code and paste in one of the following scripts:
- **[Updated Script](https://github.com/MentalBlank/RARomOnHashesUserScript/raw/refs/heads/main/TamperMonkeyRetroachievements.js)**
- **[Fixed Old Script](https://github.com/MentalBlank/RARomOnHashesUserScript/raw/refs/heads/main/OriginalTamperMonkeyRetroachievementsFixed.js)**
- **[Original Wholee Script](https://archive.org/details/retroachievements_collection_v5)**
### 3. Save and Activate
- Save the script by selecting **File > Save** or pressing **Ctrl + S** (Windows) / **Cmd + S** (Mac).
- Refresh the RetroAchievements.org "Supported Game Files" page to activate the script.
## Pull Requests
When submitting pull requests to update the `hashlinks.json` file, please ensure the following:
- List the games you're adding in the commit description, along with their system (e.g., "Sega Genesis: Beyond Oasis").
- Ensure that the format of your additions is correct for the hashlist.