Pick a random winnable deal at start
This commit is contained in:
1
seed_compressor/.gitignore
vendored
Normal file
1
seed_compressor/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
__pycache__
|
@ -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
Reference in New Issue
Block a user