diff --git a/html/src/app.js b/html/src/app.js index d97680f2..fece9bec 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -10912,10 +10912,11 @@ speechSynthesis.getVoices(); $app.data.VRChatConfigFile = {}; $app.data.VRChatConfigList = { - cache_size: 'Max Cache Size in Gigabytes (minimum 20)', - cache_expiry_delay: 'Expire Cache in Days (minimum 30)', - dynamic_bone_max_affected_transform_count: 'Dynamic Bones Limit Max Transforms (0 disables all components)', - dynamic_bone_max_collider_check_count: 'Dynamic Bones Limit Max Collider Collisions (0 disables all components)' + cache_size: { name: 'Max Cache Size in Gigabytes (minimum 20)', default: '20' }, + cache_expiry_delay: { name: 'Expire Cache in Days (minimum 30)', default: '30' }, + cache_directory: { name: 'Custom Cache Directory Location', default: '%AppData%\\..\\LocalLow\\VRChat\\vrchat' }, + dynamic_bone_max_affected_transform_count: { name: 'Dynamic Bones Limit Max Transforms (0 disables all components)', default: '32' }, + dynamic_bone_max_collider_check_count: { name: 'Dynamic Bones Limit Max Collider Collisions (0 disables all components)', default: '8' } }; $app.methods.ReadVRChatConfigFile = async function () { @@ -10938,7 +10939,7 @@ speechSynthesis.getVoices(); screenshotRes: false }; - API.$on('LOGOUT', function () { + API.$on('LOGIN', function () { $app.VRChatConfigDialog.visible = false; }); diff --git a/html/src/index.pug b/html/src/index.pug index 140218a0..28847554 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -1469,14 +1469,14 @@ html //- dialog: VRChat Config JSON el-dialog.x-dialog(ref="VRChatConfigDialog" :visible.sync="VRChatConfigDialog.visible" title="VRChat Config JSON" width="420px") - div(style='font-size:12px;') + div(style='font-size:12px;word-break:keep-all') | These options are for advanced users only. #[br] - | Leave field empty to set as default. + | Leave field empty to set as default, game restart required to apply settings. br - div(style="display:inline-block" v-for="(name, value) in VRChatConfigList" :key="value") - span(v-text="name" style="word-break:keep-all") + div(style="display:inline-block" v-for="(item, value) in VRChatConfigList" :key="value") + span(v-text="item.name" style="word-break:keep-all") |: - el-input(v-model="VRChatConfigFile[value]" size="mini" style="margin-top:10px") + el-input(v-model="VRChatConfigFile[value]" :placeholder="item.default" size="mini" style="margin-top:10px") el-checkbox(v-model="VRChatConfigFile.disableRichPresence" style="margin-top:5px;display:block") Disable Discord Rich Presence el-checkbox(v-model="VRChatConfigDialog.cameraRes" style="margin-top:5px") 4K Camera el-checkbox(v-model="VRChatConfigDialog.screenshotRes" style="margin-top:5px") 4K Screenshots