Skip to content

Instantly share code, notes, and snippets.

@VideogameScrapbook
VideogameScrapbook / mmlc_extract.py
Last active August 3, 2024 03:05 — forked from anpage/mmlc_extract.py
Mega Man Legacy Collection ROM Extractor
#!/usr/bin/env python
# Program for extracting the NES roms of each game in the Mega Man Legacy
# Collection for PC
# To use it, launch it in the same folder as Proteus.exe.
# NOTE: CybertKitsune figured out the password for data.pie which contains collection sounds and graphics.
# Extract it with 7-Zip and the password as follows:
# P091uWEdwe4lI6StDNMNlkodPGvJ38bL3HW6t3BCMYdFi83FXKu7k0NsHP8caDKS
@anpage
anpage / mmlc_extract.py
Last active December 23, 2023 13:31
Mega Man Legacy Collection ROM Extractor
#!/usr/bin/env python
# Program for extracting the NES roms of each game in the Mega Man Legacy
# Collection for PC
# iNES Headers for Mega Man 1-6
HEADERS = [b'\x4E\x45\x53\x1A\x08\x00\x21\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x10\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x10\x10\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x20\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00',