araten10 / EdgewarePlusPlus

Expansion to PetitTournesol's fetishware "Edgeware", adding more features and config options.
MIT License
59 stars 20 forks source link

Pack tool not creating Mood / Corruption file #107

Closed EdgeAnon closed 1 month ago

EdgeAnon commented 1 month ago

Hey, I am trying to make a pack using Pack Tool rather than overwriting existing pack files manually (as I usually do).

I set up everything and no matter what I try Moods, Captions and Corruption fail to generate - output from the tool and the 'pack' file attached bellow.

i did try checking the code, removing and adding symbols, lines, ect I did try to check Pack tool code for any clues but I cannot figure it out.

I am on the latest python version provided with EW13 and Pack tool was re-downloaded 1-2 days ago just to check if there was some issue with it being outdated. I have similar error when using default Pack.yml too

I am clueless as to what might be the cause.

Screenshot 2024-10-21 172352 pack - txt.txt

LewdDevelopment commented 1 month ago

You left the lines in the prefixes, moods, and levels commented. E.g., rather than

  moods:
  # - name: "Subtle"
  #   weight: 100
  #   prompts:
  #     - "I am just curious"
  #     - "What could it mean?"

it should be:

  moods:
    - name: "Subtle"
      weight: 100
      prompts:
        - "I am just curious"
        - "What could it mean?"

As an exception, in the corruption level list though, the "Level N" lines are intended as just comments, so that should be:

  levels:
    # Level 1
    - add-moods:
        - "Subtle"
      remove-moods:
      wallpaper: "WppSubtle.jpg"

This has been a point of confusion before, so I updated the examples in default_pack.yml to reflect what they should look like in an actual pack. Hope this helps!

EdgeAnon commented 1 month ago

Thank you very much for explaining this, I have very basic code understanding derived from old HTML so I was not aware that £ constitutes a comment. I only started to learn bits and pieces about python recently thanks to edgeware.