mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-04 13:56:07 +02:00
config.json editor 2
This commit is contained in:
@@ -62,7 +62,7 @@ namespace VRCX
|
|||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
var json = System.IO.File.ReadAllText(configFile);
|
var json = File.ReadAllText(configFile);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ namespace VRCX
|
|||||||
{
|
{
|
||||||
var logPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"Low\VRChat\VRChat\";
|
var logPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"Low\VRChat\VRChat\";
|
||||||
var configFile = Path.Combine(logPath, @"config.json");
|
var configFile = Path.Combine(logPath, @"config.json");
|
||||||
System.IO.File.WriteAllText(configFile, json);
|
File.WriteAllText(configFile, json);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ShowDevTools()
|
public void ShowDevTools()
|
||||||
|
|||||||
+2
-2
@@ -10915,8 +10915,8 @@ speechSynthesis.getVoices();
|
|||||||
cache_size: { name: 'Max Cache Size [GB] (minimum 20)', default: '20' },
|
cache_size: { name: 'Max Cache Size [GB] (minimum 20)', default: '20' },
|
||||||
cache_expiry_delay: { name: 'Cache Expiry [Days] (minimum 30)', default: '30' },
|
cache_expiry_delay: { name: 'Cache Expiry [Days] (minimum 30)', default: '30' },
|
||||||
cache_directory: { name: 'Custom Cache Folder Location', default: '%AppData%\\..\\LocalLow\\VRChat\\vrchat' },
|
cache_directory: { name: 'Custom Cache Folder 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_affected_transform_count: { name: 'Dynamic Bones Limit Max Transforms (0 always disable transforms)', default: '32' },
|
||||||
dynamic_bone_max_collider_check_count: { name: 'Dynamic Bones Limit Max Collider Collisions (0 disables all components)', default: '8' }
|
dynamic_bone_max_collider_check_count: { name: 'Dynamic Bones Limit Max Collider Collisions (0 always disable colliders)', default: '8' }
|
||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.readVRChatConfigFile = async function () {
|
$app.methods.readVRChatConfigFile = async function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user