#Mira

81 messages · Page 1 of 1 (latest)

deep adder
#

Mira Config

Easy to write, no code, mod configs with enhanced functionality through the use of a dedicated config (for now...) app.

Features

  • Options and choices can have image(s) for previewing (single or gallery).
  • Options can have categories that are sub-categories.
  • Options can include a requirement on other options, automatically disabling if the requirement fails.
  • The input method of an option can be customized to better fit the option.
  • Options and choices can have Markdown descriptions, in case of complicated options.
  • Support links and external images (image URLs).
  • Possibly support YouTube embedding and audio previews.
  • Possibly localization support.
#

Example

version: 1
options:
    - id: none-opt
      type: none # options: none, number, text, toggle, choice
      
    - id: number-opt
      type: number
      category: [Main] # Single category.
      default: 42
      input:
        min: 0
        max: 100
        steps: 2
        display: slider
      
    - id: text-opt
      type: text
      category: [Main, Text] # Option category is Text, a sub-category of Main
      input:
        accept_returns: true
        accept_tabs: true
        min_lines: 3
        watermark: PLACEHOLDER
      
    - id: toggle-opt
      type: toggle
      input:
        # options: switch, checkbox
        display: switch
        switch_on_text: On
        switch_off_text: Off
        #checkbox_text:
      
    - id: choice-opt
      type: choice
      input:
        # options: radiobutton, dropdown (in case of many options to reduce clutter), image (like femc config)
        display: radiobutton
        choices: [Choice 1, Choice 2]
        
    - id: multichoice-opt
      type: choice
      input:
        # options: listbox, image (like femc config)
        display: image
        choices: [Choice 1, Choice 2]
        multi_choice: true
      requires: toggle-opt == true
      requires_hint: Toggle Opt must be enabled.
    
actions:
    - do: AddFiles
      from: SimpleFS
      using:
        arg1: blah
        arg2: bleh
      if: toggle-opt
#

usually i wait until i have something to use to post about projects, but i wanted to get any suggestions for possible features before things start solidifying Naonod

outer sorrel
#

Bless ryo

deep adder
#

should i limit the amount of images you can have for preview RyoThink on the one hand, i'd prefer giving that control to mod makers buuuuuuuuuuut i don't want to encourage people adding all the images and bloating mod size for no reason...

#

i will probably limit the resolution to 1080p for local images though, if you need 4k details either zoom in or host it yourself somewhere naostare

dry moth
glad geyser
#

keep in mind they will likely be capped by the GB upload limit anyways

deep adder
glad geyser
#

it's like 1.4 or 1.6 or something

#

I get the logic but I also think that one is kinda up to the mod maker to use properly at a certain point

dry moth
#

It's 1 GB

deep adder
#

you can't trust users though pain_snap

glad geyser
dry moth
#

I see

deep adder
#

hmm, i think i'll limit images to 720p with no limit on the total, for local at least MakotoNotes

deep adder
#

got per choice previews done, and also supports previewing a choice on hover (second screenshot is hovering Choice 1) naocheer
was worried it'd be a pain, and it mostly wasn't, just a lot of code to wire everything properly 😅

#

@glad geyser RyoPeek

glad geyser
#

oooooo heat

deep adder
#

categories now map onto tabs and sections sataniaLUL probably 2-3 days away from something usable MacaFast stuff left: TOC, other previews types (video, audio), and option requirements MakotoNotes

#

don't really expect saving/loading configs to be an issue since i can just reuse remix toolkit code naostare

deep adder
#

overhauled the layout so it actually looked nice and is dynamic sataniaLUL

deep adder
#

it was time for optimizations cryniraCry even at 720p, loading a bunch of images was ofc slow and ate ram

#

made it auto generate resized versions wherever an image is used, and now im down from 400-800 mbs to <200 naocheer

glad geyser
#

forced to optimize ram usage bc ram is 300 million dollars now </3

deep adder
#

game devs in shambles, they've long forgotten the arcane arts

jagged shadow
#

Woah

deep adder
#

i've now made it async off the ui thread cryniraCry should keep it from stuttering too much BocchiThumbsUp

deep adder
#

sidenav opened up a lot of room, think i'll add markdown support too naomacfast

deep adder
deep adder
#

naocheer will probably use their embed though lol

lone sundial
#

holy poggers

deep adder
#

there we go naotoclap

deep adder
#

search, save/loading, and option requirements are done naocool i'd say it's like 90% done, since the stuff left is just extra (localization, color picker, lists) and the reloaded stuff I can just copy from toolkit MakotoNotes

deep adder
#

welp, that's all the easy stuff... now to somehow wire this up with config supplied translations naosmiley

lone sundial
#

imagem*

lone sundial
#

... just realized that this is identical in both portuguese and spanish

#

so if its spanish then its actually imagen lol

crisp stone
#

me when the phrase "wolfey con perish" is the same in both italian and spanish

lone sundial
#

true...

crisp stone
#

(its "supposed" to be italian because marco silva is italian but i am españolbrained)
oops my pokémon autism is showing :v

deep adder
#

translation library im using has built in support for loading translated text from external files, super cool naomacfast

deep adder
#

localization is mostly done, and everything can be translated: names, descriptions, embeds, even preview images hee_melt

#

choices are still left though naodead

#

ugh, i really should write down everything it can do and how, im starting to forget features pensbe

lone sundial
#

relatable

deep adder
deep adder
#

and with that, presets are done and the app essentially finished for the initial goals (and then some lmao)

#

decided against a separate ui just for presets, instead they show up in the settings but floated to the top and closed MakotoNotes

lone sundial
#

Congrats

deep adder
#

finished wiring up all the reloaded stuff so now it's in a mostly usable state

#

now the hardest part, setting up the github workflow for releases BocchiDead

lone sundial
#

You can do it. I 🐝lieve in you

deep adder
#

finally................. catcry

#

if it wasn't build issues, unknowingly self inflicted msbuild weirdness, it was sewer code defaults pain_snap

glad geyser
#

oooo

deep adder
#

the only thing keeping this from releasing is writing just a bit more docs lmao

#

god i hate writing pain_snap

glad geyser
#

mood

deep adder
#

will totally, 100%, def wont forget and ignore another week, post this today FaunaNod

deep adder
#

is released hee_melt

deep adder
crisp stone
#

can i still do constants if im too lazy to type the full namespace.class.functionName every time :V

deep adder
#

oh, the example is missing the string quotes '{Ryo}', can't use {} without them since they're a YAML symbol Naonod

crisp stone
#

mhm

deep adder
# crisp stone lol

lmao, did it start out like that? i only got that when i moved the config between my displays sataniaLUL

crisp stone
#

it looked like the right size for like 2 seconds

glad geyser
#

I will try out my mod with this when I get the chance