fix: ui.json

This commit is contained in:
xkeyC 2024-05-05 17:08:46 +08:00
parent 3e5a258cf8
commit 1ecd03813d
2 changed files with 891 additions and 882 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,324 +1,325 @@
import 'package:starcitizen_doctor/generated/l10n.dart'; import 'package:starcitizen_doctor/generated/l10n.dart';
final performanceUIConfJsonData = [ List get performanceUIConfJsonData => [
{ {
"key": "r_ssdo", "key": "r_ssdo",
"name": S.current.performance_json_text_ssdo, "name": S.current.performance_json_text_ssdo,
"info": S.current.performance_json_text_ssdo_info, "info": S.current.performance_json_text_ssdo_info,
"type": "int", "type": "int",
"max": 2, "max": 2,
"min": 0, "min": 0,
"value": 1, "value": 1,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "r_AntialiasingMode", "key": "r_AntialiasingMode",
"name": S.current.performance_json_text_antialiasing, "name": S.current.performance_json_text_antialiasing,
"info": S.current.performance_json_text_antialiasing_info, "info": S.current.performance_json_text_antialiasing_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_gameeffects", "key": "sys_spec_gameeffects",
"name": S.current.performance_json_text_game_effects, "name": S.current.performance_json_text_game_effects,
"info": S.current.performance_json_text_game_effects_info, "info": S.current.performance_json_text_game_effects_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_texture", "key": "sys_spec_texture",
"name": S.current.performance_json_text_texture, "name": S.current.performance_json_text_texture,
"info": S.current.performance_json_text_texture_info, "info": S.current.performance_json_text_texture_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_volumetriceffects", "key": "sys_spec_volumetriceffects",
"name": S.current.performance_json_text_volumetric_effects, "name": S.current.performance_json_text_volumetric_effects,
"info": S.current.performance_json_text_volumetric_effects_info, "info": S.current.performance_json_text_volumetric_effects_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_water", "key": "sys_spec_water",
"name": S.current.performance_json_text_water, "name": S.current.performance_json_text_water,
"info": S.current.performance_json_text_water_info, "info": S.current.performance_json_text_water_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_objectdetail", "key": "sys_spec_objectdetail",
"name": S.current.performance_json_text_object_detail, "name": S.current.performance_json_text_object_detail,
"info": S.current.performance_json_text_object_detail_info, "info": S.current.performance_json_text_object_detail_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_particles", "key": "sys_spec_particles",
"name": S.current.performance_json_text_particles, "name": S.current.performance_json_text_particles,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_physics", "key": "sys_spec_physics",
"name": S.current.performance_json_text_physics, "name": S.current.performance_json_text_physics,
"info": S.current.performance_json_text_physics_info, "info": S.current.performance_json_text_physics_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_shading", "key": "sys_spec_shading",
"name": S.current.performance_json_text_shading, "name": S.current.performance_json_text_shading,
"info": S.current.performance_json_text_shading_info, "info": S.current.performance_json_text_shading_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_shadows", "key": "sys_spec_shadows",
"name": S.current.performance_json_text_shadows, "name": S.current.performance_json_text_shadows,
"info": S.current.performance_json_text_shadows_info, "info": S.current.performance_json_text_shadows_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "sys_spec_postprocessing", "key": "sys_spec_postprocessing",
"name": S.current.performance_json_text_postprocessing, "name": S.current.performance_json_text_postprocessing,
"info": S.current.performance_json_text_postprocessing_info, "info": S.current.performance_json_text_postprocessing_info,
"type": "int", "type": "int",
"max": 4, "max": 4,
"min": 1, "min": 1,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_Renderer", "key": "q_Renderer",
"name": S.current.performance_json_text_renderer, "name": S.current.performance_json_text_renderer,
"info": S.current.performance_json_text_renderer_info, "info": S.current.performance_json_text_renderer_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderDecal", "key": "q_ShaderDecal",
"name": S.current.performance_json_text_shader_decal, "name": S.current.performance_json_text_shader_decal,
"info": S.current.performance_json_text_shader_decal_info, "info": S.current.performance_json_text_shader_decal_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderPostProcess", "key": "q_ShaderPostProcess",
"name": S.current.performance_json_text_shader_post_process, "name": S.current.performance_json_text_shader_post_process,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 3, "value": 3,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderFX", "key": "q_ShaderFX",
"name": S.current.performance_json_text_shader_fx, "name": S.current.performance_json_text_shader_fx,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderGeneral", "key": "q_ShaderGeneral",
"name": S.current.performance_json_text_shader_general, "name": S.current.performance_json_text_shader_general,
"info": S.current.performance_json_text_shader_general_info, "info": S.current.performance_json_text_shader_general_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderGlass", "key": "q_ShaderGlass",
"name": S.current.performance_json_text_shader_glass, "name": S.current.performance_json_text_shader_glass,
"info": S.current.performance_json_text_shader_glass_info, "info": S.current.performance_json_text_shader_glass_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderHDR", "key": "q_ShaderHDR",
"name": S.current.performance_json_text_shader_hdr, "name": S.current.performance_json_text_shader_hdr,
"info": S.current.performance_json_text_shader_hdr_info, "info": S.current.performance_json_text_shader_hdr_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderParticle", "key": "q_ShaderParticle",
"name": S.current.performance_json_text_shader_particle, "name": S.current.performance_json_text_shader_particle,
"info": S.current.performance_json_text_shader_particle_info, "info": S.current.performance_json_text_shader_particle_info,
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderTerrain", "key": "q_ShaderTerrain",
"name": S.current.performance_json_text_shader_terrain, "name": S.current.performance_json_text_shader_terrain,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderShadow", "key": "q_ShaderShadow",
"name": S.current.performance_json_text_shader_shadow, "name": S.current.performance_json_text_shader_shadow,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "q_ShaderSky", "key": "q_ShaderSky",
"name": S.current.performance_json_text_shader_sky, "name": S.current.performance_json_text_shader_sky,
"info": "", "info": "",
"type": "int", "type": "int",
"max": 3, "max": 3,
"min": 0, "min": 0,
"value": 2, "value": 2,
"group": S.current.performance_json_text_title_graphics "group": S.current.performance_json_text_title_graphics
}, },
{ {
"key": "e_ParticlesObjectCollisions", "key": "e_ParticlesObjectCollisions",
"name": S.current.performance_json_text_particles_object_collisions, "name": S.current.performance_json_text_particles_object_collisions,
"info": S.current.performance_json_text_particles_object_collisions_info, "info":
"type": "int", S.current.performance_json_text_particles_object_collisions_info,
"max": 2, "type": "int",
"min": 1, "max": 2,
"value": 1, "min": 1,
"group": S.current.performance_json_text_title_graphics "value": 1,
}, "group": S.current.performance_json_text_title_graphics
{ },
"key": "r_displayinfo", {
"name": S.current.performance_json_text_displayinfo, "key": "r_displayinfo",
"info": S.current.performance_json_text_displayinfo_info, "name": S.current.performance_json_text_displayinfo,
"type": "int", "info": S.current.performance_json_text_displayinfo_info,
"max": 4, "type": "int",
"min": 0, "max": 4,
"value": 1, "min": 0,
"group": S.current.app_index_menu_settings "value": 1,
}, "group": S.current.app_index_menu_settings
{ },
"key": "sys_maxFps", {
"name": S.current.performance_json_text_max_fps, "key": "sys_maxFps",
"info": S.current.performance_json_text_max_fps_info, "name": S.current.performance_json_text_max_fps,
"type": "int", "info": S.current.performance_json_text_max_fps_info,
"max": 300, "type": "int",
"min": 0, "max": 300,
"value": 0, "min": 0,
"group": S.current.app_index_menu_settings "value": 0,
}, "group": S.current.app_index_menu_settings
{ },
"key": "r_DisplaySessionInfo", {
"name": S.current.performance_json_text_display_session, "key": "r_DisplaySessionInfo",
"info": S.current.performance_json_text_display_session_info, "name": S.current.performance_json_text_display_session,
"type": "bool", "info": S.current.performance_json_text_display_session_info,
"max": 1, "type": "bool",
"min": 0, "max": 1,
"value": 0, "min": 0,
"group": S.current.app_index_menu_settings "value": 0,
}, "group": S.current.app_index_menu_settings
{ },
"key": "r_VSync", {
"name": S.current.performance_json_text_vsync, "key": "r_VSync",
"info": S.current.performance_json_text_vsync_info, "name": S.current.performance_json_text_vsync,
"type": "bool", "info": S.current.performance_json_text_vsync_info,
"max": 1, "type": "bool",
"min": 0, "max": 1,
"value": 0, "min": 0,
"group": S.current.app_index_menu_settings "value": 0,
}, "group": S.current.app_index_menu_settings
{ },
"key": "r_MotionBlur", {
"name": S.current.performance_json_text_motion_blur, "key": "r_MotionBlur",
"info": S.current.performance_json_text_motion_blur_info, "name": S.current.performance_json_text_motion_blur,
"type": "bool", "info": S.current.performance_json_text_motion_blur_info,
"max": 1, "type": "bool",
"min": 0, "max": 1,
"value": 0, "min": 0,
"group": S.current.app_index_menu_settings "value": 0,
}, "group": S.current.app_index_menu_settings
{ },
"key": "cl_fov", {
"name": "FOV", "key": "cl_fov",
"info": S.current.performance_json_text_fov, "name": "FOV",
"type": "int", "info": S.current.performance_json_text_fov,
"max": 160, "type": "int",
"min": 25, "max": 160,
"value": 90, "min": 25,
"group": S.current.app_index_menu_settings "value": 90,
}, "group": S.current.app_index_menu_settings
{ },
"key": "ui_disableScreenFade", {
"name": S.current.performance_json_text_ui_animation, "key": "ui_disableScreenFade",
"info": "", "name": S.current.performance_json_text_ui_animation,
"type": "bool", "info": "",
"max": 1, "type": "bool",
"min": 0, "max": 1,
"value": 1, "min": 0,
"group": S.current.app_index_menu_settings "value": 1,
}, "group": S.current.app_index_menu_settings
{ },
"key": "customize", {
"name": S.current.performance_json_text_custom_parameters, "key": "customize",
"info": "", "name": S.current.performance_json_text_custom_parameters,
"type": "customize", "info": "",
"max": 1, "type": "customize",
"min": 0, "max": 1,
"value": 1, "min": 0,
"group": S.current.performance_json_text_title_custom "value": 1,
} "group": S.current.performance_json_text_title_custom
]; }
];