Skip to content

Instantly share code, notes, and snippets.

Windows tutorial:

  1. Download rdiff[^1].
  2. Extract the zip
  3. Open cmd in the extracted folder by typing cmd in the File Explorer address bar and pressing enter
  4. Type rdiff.exe delta SIGNATURE.sig YOUR_ROM_FILE DIFFERENCE.delta (replace filenames as appropriate) and press enter
  5. Upload the DIFFERENCE.delta file that is created in the folder

Linux/Mac:
rdiff should be available via package manager

// ==UserScript==
// @name Redump Disc Page
// @description Shows dat names, unhides dumpers/comments/contents sections
// @namespace Starshadow, Edness
// @include http://redump.org/disc/*
// @version 2.1
// @grant GM.xmlHttpRequest
// ==/UserScript==
style = document.createElement("style");
@mariomadproductions
mariomadproductions / mergeluma.py
Last active July 1, 2021 17:17 — forked from cmartello/mergentr.py
Takes a directory of screenshots taken by Luma 3DS (v9.0+) and stitches them together.
"""Luma3DS (v9.0+) screenshots are dumped into two seperate files (_top and _bot) and stored
in .bmp format. This script lets you merge those files into one (as a .png) fairly quickly.
A caveat:
- This script is not clever and will not protect you from yourself. It pretty much expects
these files to be exactly 400x240 and 320x240 BMPs in RGB format. Anything else will
probably crash it.
Some good news though, this process takes a little over a minute for 140 odd screenshots, so
you won't be waiting long for your output. Also my one test run took my storage from 70 megs
to a little over 20, so that's a nice benefit.
"""
from sys import argv, exit
from os import path
input_rom_file_path = argv[1]
input_keyarea_file_path = argv[2]
output_rom_file_path = argv[3]
input_keyarea_size = path.getsize(input_keyarea_file_path)
target_size = 0x1000
padding = bytearray.fromhex('00')
#!/usr/bin/python3
#Decode Nintendo 3DS Game Card mastering codes
#To use interactive mode, pass '-i' as the argument instead of a mastering code.
from sys import argv
import string
from datetime import datetime
def print_decoded_mstr(input_var):
input_striped = input_var.strip()
#!/usr/bin/python3
#Decode Nintendo GameCube/Wii/Wii U disc mastering codes
#To use interactive mode, pass '-i' as the argument instead of a mastering code.
from sys import argv
import string
from datetime import datetime
def print_decoded_mstr(input_var):
input_striped = input_var.strip()
@mariomadproductions
mariomadproductions / wii u titleid+ver pairs only on disc.csv
Last active April 8, 2019 18:01
wii u titleid+ver pairs only on disc
titleID region name version titleID_is_disc_only
0005000010101C00 JPN New スーパーマリオブラザーズ U 0 no
0005000010101F00 JPN Nintendo Land 1 no
000500001010B800 JAP Wii カラオケ U トライアルディスク 1 yes
000500001010CF00 USA Call of Duty: Black Ops II 0 yes
000500001010D700 USA SKYLANDERS GIANTS™ 0 yes
000500001010DC00 USA Mass Effect 3 Special Edition 0 yes
000500001010E600 USA 007™ Legends 0 yes
000500001010E700 USA Cabela's® Dangerous Hunts 2013 0 yes
000500001010F500 EUR Mass Effect 3 Special Edition 0 yes
@mariomadproductions
mariomadproductions / List of official or affiliated Nintendo online presences.txt
Last active March 4, 2019 17:04
List of official or affiliated Nintendo online presences
todo: https://www54.atwiki.jp/3ds_notifications/pages/234.html
todo: check if any accounts have mario maker levels
todo: put in creation order
==Websites==
portalnintendo.com.pt
25aniversariodezelda.com.pt
nintendo-europe.com
nintendonyc.com
zelda.com
@mariomadproductions
mariomadproductions / CaptainToadTreasureTrackerWiiUDigitalJapan-AllModelNameInstancesInStageData.csv
Last active July 18, 2018 11:01
Captain Toad Treasure Tracker (Wii U, Digital, Japan) - All ModelName Instances In StageData
We can't make this file beautiful and searchable because it's too large.
Stage,Model,Notes
BazookaTouchLiftStage,AreaCubeBase
BazookaTouchLiftStage,AreaCubeBase
BazookaTouchLiftStage,00000000
BazookaTouchLiftStage,AreaCubeBase
BazookaTouchLiftStage,AreaCubeBase
BazookaTouchLiftStage,GoalItem
BazookaTouchLiftStage,00000000
BazookaTouchLiftStage,00000000
BazookaTouchLiftStage,RouteDokanCornerAir
@mariomadproductions
mariomadproductions / CaptainToadTreasureTrackerWiiUDigitalJapan-AllUnitConfigNameInstancesInStageData.csv
Last active July 18, 2018 10:56
Captain Toad Treasure Tracker (Wii U, Digital, Japan) - All UnitConfigName Instances In StageData
We can't make this file beautiful and searchable because it's too large.
Stage,Object
BazookaTouchLiftStage,CameraArea
BazookaTouchLiftStage,DeathArea
BazookaTouchLiftStage,StageSwitch
BazookaTouchLiftStage,SwitchKeepOnArea
BazookaTouchLiftStage,PlayerAnimArea
BazookaTouchLiftStage,GoalItem
BazookaTouchLiftStage,KinopioBrigadeChecker
BazookaTouchLiftStage,CollectItem
BazookaTouchLiftStage,RouteDokanParts