Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
import os
import sys
import math
import argparse
# I spent a bit of time banging my head against these without really
# getting to the nub of the final Recycled loop. This post helped:
Making 405.0 plastic and 405.0 rubber
720.0 fuel into the recycling loop
90.0 seed rubber
Iter 0
------
405.0 plastic means we need 202.5 rubber.
We're getting 90.0 from seed already
-> Recycled Plastic Fuel Consumption: 202.5
-> Recycled Rubber Fuel Consumption: 0
To Store (total: 66):
Row 0 (11):
Healing Items (4):
Beryl Nut
Paleberry
Bacon Agaric
Inhalers

These are just some notes that I'd compiled while investigating the various compile-to-EXE options available for Java apps. There's a lot of software out there that'll do it! I did clean this up a bit after the fact. Spoiler: I ended up going with Liberica NIK for the Windows EXE compilation. See README-developing.md for info on building w/ Liberica.

Stuff What Might Work

digraph quantum {
// Resources
{
node [shape=ellipse fillcolor=darkgoldenrod1 style=filled];
unknown [label=<UNKNOWN> fillcolor=darkorchid1];
ficsite_ingot [label=<Ficsite Ingot>];
trigon [label=<Ficsite Trigon>];
diamond [label=<Diamond>];
./Game/InventorySerialNumberDatabase.dat
./Game/Localization/Game/ru/Game.locres
./Game/Localization/Game/zh-Hans-CN/Game.locres
./Game/Localization/Game/it/Game.locres
./Game/Localization/Game/en/Game.locres
./Game/Localization/Game/ko/Game.locres
./Game/Localization/Game/fr/Game.locres
./Game/Localization/Game/de/Game.locres
./Game/Localization/Game/pt-BR/Game.locres
./Game/Localization/Game/zh-Hant-TW/Game.locres
Writing to: AnimalWell-r0205_t0201_l0.sav
- Previously-opened walls no longer open: 14
- Steps Taken: 16909570
- Fill Levels:
- 1. (7,11): 2 - 1%
- 2. (4,15): 5 - 3%
- 3. (2,17) (middle): 2 - 1%
- 4. (2,17) (right): 1 - 0%
- 5. (2,17) (left): 2 - 1%
- Chests Opened: 16
CLI Animal Well Savegame Editor
positional arguments:
filename Savefile to open
options:
-h, --help show this help message and exit
-i, --info Show known information about the save
--fix, --fix-checksum
Update the savegame checksum, even if no other edit
#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
import os
import sys
import struct
for filename in sorted(os.listdir('.')):
if '-save1-' in filename:
with open(filename, 'rb') as df:
#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
import struct
# My seemingly-known room row start
start = 0x628C
# Rows to fill in
rows = 24