From de44b1134fdef9a30aa9368157ddb8aafece0e56 Mon Sep 17 00:00:00 2001 From: nn <53490794+nn357@users.noreply.github.com> Date: Tue, 14 Jul 2026 03:19:05 +0900 Subject: [PATCH 1/8] Add High Contrast door setting and tweak existing Alternate door colors to include pause map (and rename to Vibrant) --- patches/ips/alternate_door_colors.ips | Bin 145 -> 183 bytes patches/ips/map_area.ips | Bin 4576 -> 4672 bytes patches/rom_map/Bank DF.txt | 5 +- patches/src/alternate_door_colors.asm | 59 +++++++++++------ patches/src/constants.asm | 2 + patches/src/map_area.asm | 60 +++++++++++++++--- rust/maprando-web/src/seed.rs | 3 +- .../templates/seed/customize_seed.html | 8 ++- .../templates/seed/help/door_colors.html | 8 ++- rust/maprando/src/customize.rs | 28 ++++++-- rust/maprando/src/patch/map_tiles.rs | 17 +++-- 11 files changed, 145 insertions(+), 45 deletions(-) diff --git a/patches/ips/alternate_door_colors.ips b/patches/ips/alternate_door_colors.ips index 5b53351abc4396d42c1d0019cb1ff5a4a1d41e0a..e79b320cd6ad2e24a1078486ceacc30846e85913 100644 GIT binary patch delta 158 zcmbQpxSer=VtuKC@UPVx*+6n-%CiI@<-<9l`%7Kj>ecHR9^LO{I?&5>Xgw2<#d4sR z<p6fdl>@yhht_ieS!xG*)ef!a0kWJ9^g10{&j)0= z9O!j9v|a$nay!uLc4&2i{v!qkiFu47jN)AkADp|iS_I{5#3Fc2<}rS7malR3cLM;? CFG-L9 delta 119 zcmdnaIFWIJVnL3A@UPVx*+6n-%CiI@<-<9l`%7Kj>eVafG4?VY=w&*zQiQRWy=(`1*$%Dz;M}WppjQbfqSdQ%pjYM4$`-+1wFA9shgQnh^g12rbvm?CETY%t XK(EW8mAodsZU=hZ4y{gb^>+gRQKvP8 diff --git a/patches/ips/map_area.ips b/patches/ips/map_area.ips index bbffbc2a3383e5db75430381a231830011872be7..749dfd87dcf2982d914b163b77e25bd85bb9bc67 100644 GIT binary patch delta 399 zcmaE$d_ZMG8zYnIip?F2R~Q*hCdV?X+OREeef5elWf23j!uRitX?6^(O13LnUoobq z07d?MXG}lIz^-uQ`zs(|EazwVrL<>BYl4#TVj%Hj@;+u4#!Zu%SyCBQCug!4G1gC> z!?K)v+45|rMH5&bDJU$T?8llXx^3x74uG0$xpsUU%$$v0X_&&La{S@Q2$+jFT8O(nj3&#QCPNl r0cQv!lfv@N-?)}BGUjfc%VW>12Xna!F)mM-e23qXasFm8fm4hC2 delta 302 zcmX@0@<4e*8za-_<(oSguP`z)O^#(&wYjpa_0=oJltm283g5porr9yDDsiu9eZ`ob z0u=f4oiY6+1G~bJ@2`M>v7Ddbmr~b~)&wPk#X#cN2E;#7m)r1r2hcvKa=OO&0`FiY{TxTF1OTY#u5cakSR(% ztquD*Zq{l3XXx!@S2{eo324XJB>4|U3P&d|VL!##GC7}PB_qpZNzND`S;iU2t+GtX sqPYR+FolxMmpDThncgkitiipEk DoorTheme::Vanilla, - "alternate" => DoorTheme::Alternate, + "vibrant" => DoorTheme::Vibrant, + "contrast" => DoorTheme::Contrast, _ => panic!( "Unexpected door_theme option: {}", req.door_theme.0.as_str() diff --git a/rust/maprando-web/templates/seed/customize_seed.html b/rust/maprando-web/templates/seed/customize_seed.html index 9a913a76b7..115b008523 100644 --- a/rust/maprando-web/templates/seed/customize_seed.html +++ b/rust/maprando-web/templates/seed/customize_seed.html @@ -88,11 +88,13 @@
-
+
- - + + + +
diff --git a/rust/maprando-web/templates/seed/help/door_colors.html b/rust/maprando-web/templates/seed/help/door_colors.html index 29bd691fbc..089ad4826c 100644 --- a/rust/maprando-web/templates/seed/help/door_colors.html +++ b/rust/maprando-web/templates/seed/help/door_colors.html @@ -17,11 +17,15 @@

Door colors

Vanilla: Doors have the colors that they do in the vanilla game.

  • -

    Alternate: Different door colors are used, which may be easier to distinguish for +

    Vibrant: Different door colors are used, which may be easier to distinguish for color-blind players. This is based on a color scheme by Vibrant Colors.

  • +
  • +

    Constrast: Different door colors are used, which may be easier to distinguish for + color-blind players. Simlar to the Vibrant door colors but the constrast between door colors is more pronounced.

    +
  • -

    Note that the Alternate setting has side effects on colors in other places, such as in the HUD, some types of +

    Note that the Vibrant and Constrat settings have side effects on colors in other places, such as in the HUD, some types of beam doors, and acid.