Greasy Fork is available in English.

Vimm's Vault ROM Restore

Restores the "Download" button (and "Play Online" button when applicable) to certain Vimm's Vault games

المؤلف
KirbyKidJ
التثبيت اليومي
1
إجمالي التثبيت
206
التقييمات
0 0 1
الإصدار
1.0.1
تم إنشاؤه
22-05-2024
تم تحديثه
24-05-2024
الترخيص
GPL-3.0-only
ينطبق على

This is a simple script that restores the "Download" button (and the "Play Online" button when applicable) to any of the games on Vimm's Vault that have been marked with the DMCA takedown from Nintendo. Hopefully this is a troll and the buttons will be restored on their own in the future.

Surprisingly, a majority of the vault functions besides the one/two missing buttons are still intact meaning all I had to do was just re-add the buttons in with the right ID and links and it works like a charm.

How it works is that before anything, it first grabs the system name from the link on the same page that ends with "/A" such as from "https://vimm.net/vault/NES/A" by cutting out the string before and after "NES". Then, it creates the button code I copied from https://vimm.net/vault/1 but with the system name and media checks inserted. Finally, it replaces parts of the innerHTML code with what I've grabbed previously. This currently includes:

  • The "Download" button for all games
  • The "Play Online" button for non-Wii games
  • The registered hash for the game
  • The file size of the game

I also would like to re-add the screenshots and box art if applicable, but it feels like some of those have been taken down and not just the ones marked with a DMCA request so I don't really know what to do about that. This script may be very primitive since this is my first one ever, so if there's any suggestions to optimize it I would appreciate it.

You may change and redistribute this code, but I'd prefer it to NOT be closed source for more transparency and to make sure no one injects any malicious code into it.