Quote:
Originally Posted by Trender22
yep, works fine like this:
Code:
mmkv-cli get eac_app_com.dragonnest.drawnote --id onyx_config
(executed in the directory where you put both onyx_config and onyx_config.crc)
the "--id" option is important.
Code:
--id [string]
MMKV instance id. If not specified, default is used.
|
so I tried your example and it worked:
Code:
❯ mmkv-cli get eac_app_com.dragonnest.drawnote --id onyx_config
{"activityConfigMap":{},"autoFreezeConfig":{"autoFreeze":false,"enable":true,"supportAutoFreeze":true},"autoStartConfig":{"autoStart":false,"enable":true,"supportAdjust":true},"colorConfigMap":{},"cssConfigMap":{},"dpiConfig":{"dpi":450,"enable":true},"enable":true,"extraConfig":{"allowSplashScreen":false,"enable":true,"forceFullScreen":false,"fullPMAccess":false,"useDialogBorder":false,"usePageKeyAsVolumeKey":true},"forceScrollRefreshClsList":[],"globalActivityConfig":{"clsName":"","disableScrollAnim":false,"displayConfig":{"bwMode":0,"cfaColorBrightness":0,"cfaColorSaturation":0,"cfaColorSaturationMin":0,"contrast":30,"ditherThreshold":255,"enable":true,"enhance":true,"monoLevel":10},"enable":true,"noteConfig":{"compatibleVersionCode":0,"enable":false,"globalStrokeStyle":{"enable":false,"strokeColor":-16777216,"strokeExtraArgs":[],"strokeParams":[],"strokeStyle":0,"strokeWidth":3},"repaintLatency":500,"styleMap":{},"supportNoteConfig":false},"paintConfig":{"antiAlisingType":0,"ditherBitmap":false,"enable":true,"fillBrightness":0,"fillContrast":0,"fillEAC":false,"iconBrightness":0,"iconContrast":0,"iconEAC":false,"iconThreshold":0,"imgEAC":true,"imgGamma":60,"quantBits":3,"textBold":false,"textEACType":0},"refreshConfig":{"animationDuration":50,"antiFlicker":10,"enable":true,"gcInterval":20,"supportRegal":false,"turbo":0,"updateMode":2,"useGCForNewSurface":false}},"globalCSSConfig":{"clsName":"","customCSS":"","enable":true,"fontBold":false,"fontColor":0,"fontSize":100},"keyboardConfig":{"enable":true,"pageKeyMode":1},"networkConfig":{"enable":true,"overrideRules":0},"pkgName":"com.dragonnest.drawnote","rotationConfig":{"enable":false,"overrideRotation":-1},"scrollArgs":{"duration":600,"endXPercent":0.5,"endYPercent":0.8,"sampleTime":16,"startXPercent":0.5,"startYPercent":0.2},"supportEAC":true}
and I can get it to pretty-print it by piping it through
jq, which is nice.
what I'm not clear on is how to use "set" in mmkv-cli to change these settings. do you have any examples of this?