Pick a random winnable deal at start

This commit is contained in:
2024-02-09 19:21:47 -08:00
parent 05294eaa4b
commit ae1955b7c4
10 changed files with 10789 additions and 9960 deletions

1
seed_compressor/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
__pycache__

View File

@ -6,14 +6,14 @@ def main():
ff = load_seeds("input/fortunes_foundation.txt")
ffdata = delta_4b(ff)
offset_ffdata = 0
augment_map("../main.p8", "../seed_constants.lua", ffdata, {
"ffdata": 0
"ffdata_start": 0,
"ffdata_end": len(ffdata),
})
def augment_map(target, target2, constants_file, binary, offsets):
def augment_map(target, constants_file, binary, offsets):
assert isinstance(binary, bytes) and len(binary) < 8192 # length of mapdata
print(f"Length of basic extra map data: {len(binary)}")
mapdata = (binary + bytes([0] * 8192))[:8192]

File diff suppressed because it is too large Load Diff