Skip to content

Instantly share code, notes, and snippets.

View fenhl's full-sized avatar

Fenhl fenhl

View GitHub Profile
@fenhl
fenhl / install-ootr.md
Last active May 20, 2024 08:23
Installing the Ocarina of Time Randomizer for easy updating

How to install the Ocarina of Time randomizer in a way that can be easily updated.

Windows

Installing

  1. Download Git from here (click the “Click here to download” link) and run the installer. It will ask you about a bunch of different things, you can use the defaults for all of them.
  2. Open File Explorer and navigate to a folder where you want to place the randomizer folder. For example, if you want the randomizer to be at Desktop › Randomizers › dev-fenhl, go to Desktop › Randomizers.
  3. Right-click on some empty space in the File Explorer window while holding ⇧ Shift. In the menu that appears, click on “Open in Terminal”, “Open PowerShell window here”, or “Open command window here” (the name depends on your Windows version).
  4. In the window that opens, run git clone https://github.com/fenhl/OoT-Randomizer.git folder-name (replace folder-name with the name you want the folder to have). Once it's done and you see another > prompt, you can close
@fenhl
fenhl / inlogic-challengeseed.md
Last active August 14, 2023 01:59
In Logic Challenge Seed

Logic exists to make sure the game is beatable (while allowing as many item placements as possible). It's often good to know how the logic works, but it's not something you should stick to closely in a race. But what if you had to?

The In Logic Challenge Seed tests your knowledge of the randomizer's logic by making your score not only dependent on your finish time but also on how well you can stay in logic.

Settings

The seed is a Triforce Blitz Season 2 seed rolled on version 7.1.3 blitz-42 of the randomizer. Note that Triforce Blitz tournament rules don't apply, i.e. there's no 2 hour time limit.

Rules

@fenhl
fenhl / ootr-gui-rework.md
Last active March 12, 2022 19:52
OoTR GUI redesign concept

I propose a new design for the GUI of the OoT randomizer intended to reduce apparent complexity for new players and more directly guide them to recommended settings, while allowing room for more detailed settings to be added.

Overview

Based on the principle of progressive disclosure, there are 4 views layered from less to more detailed:

  1. The main view. This is the starting point every time the randomizer is opened and the only view that displays the “Generate” button. It shows the controls for setting input rom and (in the desktop version) output modes, as well as a simple dropdown of settings presets. The “Load”, “Save”, and “Remove” buttons don't exist here; the randomizer will always generate the selected preset. A “Customize” button is added next to the settings dropdown that opens view 2. An equivalent dropdown and “Customize” button exists for cosmetics.
  2. The list of settings presets. Allows copying, editing, renaming, and deleting presets
@fenhl
fenhl / Cargo.toml
Created February 27, 2021 05:28
build error with async_proto and tokio
[package]
name = "async-proto-min-test"
version = "0.1.0"
authors = ["Fenhl <[email protected]>"]
edition = "2018"
[dependencies]
serde_json = "=1.0.63"
[dependencies.async-proto]
@fenhl
fenhl / rsl-changelog.md
Last active February 12, 2021 12:21
Ocarina of Time Randomizer: Random Settings League changelog

2.0.0

Changes compared to the season 2 tournament. Up to date as of Dev-R commit e226a04 and plando-random-settings commit 3a4ca5f.

  • The inventory display on the file select screen has been reworked. Notable changes:
    • The Master Sword icon now indicates whether it's currently in your inventory (i.e. start as adult) rather than open Door of Time.
    • Ruto's Letter/Open Fountain is no longer shown.
    • Triforce Piece count is only displayed once the first piece has been collected. The in-game pause menu still shows the total even without any collected pieces.
  • Changes to hints:
  • Ganondorf's Light Arrows hint no longer logically requires the Stone of Agony or Mask of Truth. (#1183)
@fenhl
fenhl / mhlw-errata.md
Created April 25, 2020 22:32
Errata applied to the Hollows of Lordran Multiplayer expansion

Changes for MHLW between v.03 and e.03

Ornstein, Tester of Mortals

Field Old New
rule text Haste, vigilance
Whenever one or more creatures with power 2 or less block, Ornstein, Tester of Mortals deals 4 damage to each player.
Partner (You can have two commanders if both have partner.)
Vigilance, haste
Whenever one or more creatures with power 2 or less block, Ornstein, Tester of Mortals deals 4 damage to each player.
Partner (You can have two commanders if both have partner.)

Smough, Grisly Executioner

@fenhl
fenhl / mse-feature-ideas.md
Last active May 4, 2020 14:05
MSE feature ideas

Here's my ideas on what could be added to the Magic Set Editor now that we have a way to build it. Obviously these don't necessarily have to happen in this exact order, so for example a bugfix could also land in 2.0.3, 2.1.1, 3.0.1, etc.

MSE 2.0.2 (bugfixes)

  • fix off-by-one error when working with card in the Console tab (instead of using the card selected in the Cards tab, it uses the one below it)
    • there's a possibly related error where you can't get planeswalker cards as card, that should be fixed as well
  • fix length not working with maps
  • better RTL language support (see MightyD33r#5246's issues with making a Hebrew template)
  • fix substring("foo", begin: 3) returning true instead of ""
  • fix Cards tab card render not updating when styling data is changed
@fenhl
fenhl / src-errata.md
Last active December 15, 2019 07:16
Errata applied to Secrets of the River Cities

Errata applied to Secrets of the River Cities version 44

Multiple cards

  • added set title
  • Enabled Ancestral generic mana on all cards. This updates the generic mana symbols to those introduced with 8th Edition. (MSE unfortunately defaults to the old mana symbols.)
  • fixed flavor bar offsets on Adamant Will (19 → 0), All-Out Assault (19 → u), Burden of Guilt (18 → 20), Cartel Muscle (0 → 2), Cover Up (18 → u), Duress (23 → 2), Eldritch Spirit (18 → u), Embiggen (0 → 2), Fourth Street Enforcer (0 → 2), Guide Dog (0 → 2), Impenetrable Vault (-15 → 2), Master Thief (19 → u2), Outlands Farmer (19 → u), Psionic Burst (17 → u), Reckless Corporal (0 → 2), Red Herring (4 → 0), Seductive Gorgon (18 → u), Share the Concoction (0 → 3), Shepherd of the Lost (0 → 2), Sleuthhound (0 → 2), Trench Sweeper (-3 → -1), Vehement Rage (18 → u), Vile Blessing (0 → u), and Vine Street Stoolie (20 → u)
  • updated Following the Matchbook, Hidden in the Outlands, Infernal Haunting, Lorre Dealbroker, and Warped Landscape to mod
@fenhl
fenhl / day04.rs
Created December 4, 2019 19:27
Advent of Code 2019 day 4 in Rust
use {
std::{
error::Error,
fmt,
num::ParseIntError,
ops::RangeInclusive
},
derive_more::From,
itertools::Itertools as _
};
@fenhl
fenhl / missing-token-art.md
Last active December 26, 2019 19:07
Missing art for tokens in ECH

The following tokens are currently in ECH but don't have “official” artwork (i.e. selected by the set designer).

  • Checked boxes have artwork selected by players.
  • Unchecked boxes don't have artwork yet. Any suggestions would be appreciated.

Aenyr DOM:

  • colorless artifact token named Decree with “As this artifact enters the battlefield, choose a card name” and “Sacrifice this artifact: Counter target spell with the chosen name” for The Senate of Censures
  • colorless artifact token named Gold with “Sacrifice this artifact: Add one mana of any color” for Highborn Muse
  • 3/3 colorless Golem artifact creature token for Master Stoneshaper
  • 1/1 white Spirit creature token with flying for Alone in the World, Ghastly Mural, Ghostlight, [Mysti