Jives

WFF-Compatible Workarounds (Ver. 2.1)

Aug 4th, 2025 (edited)
25
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. WFF-Compatible Workarounds for Common Facer Formulas
  2.  
  3. === Time & Date (Zero-Padding Issues) ===
  4.  
  5. #DWE# → #DWFSS#
  6.  
  7. Example:
  8. (clamp((50 + (((#DWE# % 6) - 2) * 25)), 50, 70))
  9. (clamp((50 + ((((#DWFSS# + 4) % 12) - 4) * 12.5)), 50, 70))
  10. or
  11.  
  12. (400 - clamp( (90 + ((#DWE# % 6) * 95) ), 90, 263))
  13. (400 - clamp((90 + (((#DWFSS# + 4) % 12) * 47.5)), 90, 263))
  14.  
  15. #DsZ# → $#Ds#<10?0#Ds#:#Ds#$ , (pad(#Ds#,2))
  16. #DbZ# → $#Db#<10?0#Db#:#Db#$ , (pad(#Db#,2))
  17. #DdL# → $#Dd#<10?0#Dd#:#Dd#$ , (pad(#Dd#,2))
  18. #DhZ# → $#Dh#<10?0#Dh#:#Dh#$ , (pad(#Dh#,2))
  19. #DkZ# → $#Dk#<10?0#Dk#:#Dk#$ , (pad(#Dk#,2))
  20. #DmZ# → $#Dm#<10?0#Dm#:#Dm#$ , (pad(#Dm#,2))
  21.  
  22. === Astronomy ===
  23. #WRHZ# (Sunrise hour zero) → (pad(#WRH#,2))
  24. #WRMZ# (Sunrise minute zero) → (pad(#WRM#,2))
  25. #WSHZ# (Sunset hour zero) → (pad(#WSH#,2))
  26. #WSMZ# (Sunset minute zero) → (pad(#WSM#,2))
  27. #WM# (Moon phase) → Use static moon images (1–8 phases) with conditional opacity tied to #WM#
  28. #SunAngle# → Use #DWFHS# rotation to visually simulate sun position
  29.  
  30. === Battery ===
  31. #BLP# → #BLN#% (Works in conditions only; not as direct text)
  32. #BLN# → Use conditional opacity (10% steps workaround shown below)
  33.  
  34. Battery workaround using opacity:
  35. Battery: 10%, opacity: $#BLN#>=10 && #BLN#<20?100:0$
  36. Battery: 20%, opacity: $#BLN#>=20 && #BLN#<30?100:0$
  37. Battery: 30%, opacity: $#BLN#>=30 && #BLN#<40?100:0$
  38. Battery: 40%, opacity: $#BLN#>=40 && #BLN#<50?100:0$
  39. Battery: 50%, opacity: $#BLN#>=50 && #BLN#<60?100:0$
  40. Battery: 60%, opacity: $#BLN#>=60 && #BLN#<70?100:0$
  41. Battery: 70%, opacity: $#BLN#>=70 && #BLN#<80?100:0$
  42. Battery: 80%, opacity: $#BLN#>=80 && #BLN#<90?100:0$
  43. Battery: 90%, opacity: $#BLN#>=90 && #BLN#<100?100:0$
  44. Battery: 100%, opacity: $#BLN#=100?100:0$
  45.  
  46. Phone battery (#PBN#) → Same opacity method as watch battery
  47.  
  48. === Health & Fitness ===
  49. #ZSTANDVAL#, #ZMOVEVALUE#, #ZEXERCISEVALUE# → Use static placeholders (e.g., "Move", "Stand") or replace with #ZSC# (steps) or #ZHR# (heart rate)
  50. #ZCAL# (Calories) → Not supported; use placeholder text or progress bar as visual stand-in
  51. Steps (#ZSC#) → Fully supported in WFF
  52.  
  53. === Sensors & GPS ===
  54. #LAT#, #LNG# → WFF uses fallback values (static); visually simulate compass/altitude manually or remove
  55. #CMP# (Compass) → Replace with static icon or simulated rotation (manual animation loop)
  56. #ALT# (Altitude) → Placeholder text "Alt: --"
  57.  
  58. === Stopwatch & VAR ===
  59. Stopwatch tags (#SWEM#, #SWES# etc.) → Not interactive; simulate with:
  60. - Seconds: (floor((#DNOW#/1000)%60))
  61. - Minutes: (floor((#DNOW#/60000)%60))
  62.  
  63. VAR tags (e.g., #VAR_1#) → Not supported; predefine fixed values or simulate toggles by time-based conditions (#DNOW# mod)
  64.  
  65. === Methods ===
  66. pad() → Works but sometimes unreliable; fallback:
  67. $#TAG#<10?0#TAG#:#TAG#$
  68.  
  69. sin(), cos(), floor(), round(), abs(), rad() → Fully supported for animations in WFF.
  70.  
  71. === Weather ===
  72. #WCT#, #WCCI#, #WCCT# → Supported
  73. #WRHZ#, #WSHZ# (Sunrise/Sunset with zero) → Use (pad()) workaround
  74.  
  75. === Animation alternatives ===
  76. - Replace #DWFHS# (hour hand smooth) with (#DH# * 30)
  77. - Replace #DWFMS# (minute hand smooth) with (#Dm# * 6)
  78. - Replace #DWFSS# (second hand smooth) with (#Ds# * 6)
  79.  
  80. === Notes ===
  81. - Tags not working for text can often be used in conditions (e.g., opacity).
  82. - Interactive layers (VAR, Stopwatch) are disabled in WFF; replace with time-driven or conditional visuals.
  83. - Astronomy (sun/moon) tags often fallback; simulate via rotation (#DWFHS# for sun, moon images by phase).
Advertisement
Comments
Add Comment
Please, Sign In to add comment