initial commit

This commit is contained in:
Shelvacu
2024-09-24 15:32:33 -07:00
commit aeb2d33ee6
4 changed files with 33 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/result*

7
flake.lock generated Normal file
View File

@@ -0,0 +1,7 @@
{
"nodes": {
"root": {}
},
"root": "root",
"version": 7
}

9
flake.nix Normal file
View File

@@ -0,0 +1,9 @@
{
outputs = { ... }: {
overlays.default = (
final: _prev: {
sm64baserom = final.callPackage ./sm64baserom.nix { };
}
);
};
}

16
sm64baserom.nix Normal file
View File

@@ -0,0 +1,16 @@
{
fetchurl,
region ? "us",
}:
# TODO: find sources for EU and JP versions
assert region == "us";
fetchurl {
hash = "sha256-F84Hc0PGEz+Mny1tbZpKtiyM0qpXxArqH0kLTIuyHZE=";
urls = [
"https://github.com/ToxicBanana1/baserom.us.z64/raw/refs/heads/main/baserom.us.z64"
"https://github.com/jb1361/Super-Mario-64-AI/raw/refs/heads/development/Super%20Mario%2064%20(USA).z64"
"https://archive.org/download/super-mario-64-usa_202401/Super%20Mario%2064%20%28USA%29.z64"
"https://github.com/MarioUser64/sm64ex/raw/refs/heads/master/baserom.us.z64"
"https://github.com/Xelpm1S/rom/raw/refs/heads/master/baserom.us.z64"
];
}