Gawah / MangoPeel

A decky plugin for custom STEAMOS performance monitoring style.
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Add option logging, and button record logs #3

Open stek198 opened 1 year ago

stek198 commented 1 year ago

Add a switch to write logs and button start logs.

I changed profile 4 in mine.py by addinglog_duration=N, log_interval=N, output_folder=/path/dir, toggle_logging=Shift_L+F2. But logging only starts when Decku loader is open by pressing shift+f2.

Gawah commented 1 year ago

Thank you for your suggestion. However, I don't think this is a commonly used feature, as toggle_logging requires an external keyboard to trigger, which is not suitable for handheld devices. In the future, I will add a plugin management page where you can customize any parameters and corresponding values you want, which can also meet your needs. But I am very busy recently, and developing this feature will take some time. I can give you a method to use any parameters you want: 1. Open /usr/bin/gamescope-session. 2. Add a line of code below export MANGOHUD_CONFIGFILE=$(mktemp /tmp/mangohud.XXXXXXXX). For example, if I want to add cpu_color and gpu_color, I would add export MANGOHUD_CONFIG=read_cfg,cpu_color=ff6600,gpu_color=ffb90f. 3. Enter game mode, and your parameters will take effect.

stek198 commented 1 year ago

Thanks you!)