Skip to content

Allow options override via CLI #93

Closed

Description

@x87

Can make command in CLI where used concrete case converting text strings? By default compiler use the setting SB. For example:

-string_case upper // or lower, as is

It will help avoid the need to edit settings. Useful when need to use formatting text:

0AD0: show_formatted_text_lowpriority "Text: %d" time 2000 1 // uppercase: INCORRECT FORMAT
0AD0: show_formatted_text_lowpriority "Text: %d" time 2000 1 // lowercase: good format. But other text is always small
0AD0: show_formatted_text_lowpriority "Text: %d" time 2000 1 // as is: GOOD

Or is this feature already there?

Originally posted by @wmysterio in #14 (comment)

Activity

  1. changed the title [-]Can make command in CLI where used concrete case converting text strings? By default compiler use the setting SB. For example:[/-] [+]Allow options override via CLI[/+] on Nov 16, 2020
  2. added
    type:feature
    type:nice-to-have
    priority:p3
    on Nov 16, 2020
  3. x87 commented on Nov 16, 2020

    @x87
    CollaboratorAuthor

    CLI should allow overriding Sanny's settings. Example:

    sanny.exe -o Decompiler::AlwaysWriteOpcodes=0
    

    sets the Write opcodes to off.

    • Should support hot updating (when Sanny is running)
    • Need to cleanup and standardize settings names
  4. wmysterio commented on Nov 16, 2020

    @wmysterio

    when Sanny is running

    I had a problem with Sunny before using the CLI. If the SB process is running, the IDE opens the input file without compiling (opens as a new tab).

    And after compilation, the SB process continue to work. It is necessary to forcibly abort the process in the program before a new call (Maybe this program does not allow the process to terminate on its own; need to test in detail).

  5. x87 commented on Jun 6, 2021

    @x87
    CollaboratorAuthor
  6. added this to the v3.8.0 milestone on Jun 6, 2021
  7. x87 commented on Jun 19, 2021

    @x87
    CollaboratorAuthor

    Renamed some options in v3.8.0-alpha.4

    Smart --> Editor::SemanticConstHighlighting
    Engine::ShowProgress --> Editor::ShowProgress
    Engine::ShowReport --> Editor::ShowReport
    QuickGameLoading --> Editor::QuickGameLoading
    Editor::LookingDepth --> Editor::ScanDistance
    Lang --> Editor::Lang
    Formats::HexadimalOffsets --> Decompiler::HexadimalOffsets
    Formats::LabelsFormat --> Decompiler::LabelsFormat
    CustomNames::CustomNamesFormat --> CustomNames::Format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:IDEtype:featuretype:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions