Skip to content

Commit

Permalink
Merge branch 'MinamiChiwa:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
benx1n authored Aug 31, 2022
2 parents 354f12a + 42d6509 commit 70389db
Show file tree
Hide file tree
Showing 17 changed files with 1,865 additions and 58 deletions.
1 change: 1 addition & 0 deletions donate_readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
| ---- | ---------------------------- | ------- | ---- | ---- | ---- |
| 2022.05 | 65.80 元 | 2022.06.01 | 30.00 元 | 服务器费用 | 35.80 元 |
| 2022.06 | 97.29 元 | 2022.07.04 | 69.00 元 | 服务器费用 | 64.09 元 |
| 2022.07 | 82.62 元 | 2022.08.06 | 24.02 元 | 服务器费用 | 122.69 元 |
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"autoChangeLineBreakMode": true, /*根据横竖屏模式自动切换"忽略换行符"模式*/
"resolution_start": [-1,-1], /*设置启动时的分辨率, 格式: `array[w, h]`([-1,-1]为默认)*/
"aspect_ratio": [16.0,9.0], /*设置UI比例, 格式: `array[w, h]`(没有需求可以不填)*/
"httpServerPort": 4321, /*HTTP服务器端口, 用于外部插件交互*/
"externalPlugin": { /*外部插件配置。若没有插件, 可直接删除此配置项*/
"hotkey": "u", /*启动热键, 按下ctrl+设定值启动*/
"path": "main.exe", /*插件路径*/
Expand Down
1 change: 1 addition & 0 deletions readme_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ A plugin for translating Umamusume Pretty Derby (DMM Client) to Chinese.
"autoChangeLineBreakMode": true, /*Automatically toggle "Ignore line break" mode based on whether the game is 16:9 or 9:16*/
"resolution_start": [-1, -1], /*set the game windows size when booting the game (Use [-1, -1] if you don't need it)*/
"aspect_ratio": [16.0, 9.0], /*set UI scale*/
"httpServerPort": 4321, /*HTTP Server Port*/
"externalPlugin": { /*Set external plugin. If no plug-ins are configured, delete this configuration item*/
"hotkey": "u", /*Hotkey, press ctrl + `the key you set` to open it*/
"path": "main.exe", /*plugin path*/
Expand Down
28 changes: 27 additions & 1 deletion resources/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"enableLogger": false,
"dumpStaticEntries": false,
"maxFps": 60,
"unlockSize": true,
"highQuality": true,
"enableVSync": false,
"unlockSize": false,
"unlockSizeOffset": {
"landspace": -0.07144,
"vertical": 0
},
"uiScale": 1.0,
"readRequestPack": false,
"extraAssetBundlePath": "localized_data/umamusumelocalify",
Expand All @@ -15,6 +21,25 @@
"replaceAssets": true,
"assetLoadLog": false,
"autoFullscreen": false,
"live": {
"free_camera": false,
"force_changeVisibility_false": false,
"moveStep": 0.1,
"close_all_blur": false
},
"race_camera": {
"free_camera": true,
"moveStep": 5,
"defaultFOV": 40,
"freecam_lookat_target": false,
"freecam_follow_target": false,
"follow_offset": {
"distance": 4,
"x": 0,
"y": 1,
"z": 0
}
},
"externalPlugin": {
"hotkey": "u",
"path": "legend_g_plugin.exe",
Expand All @@ -29,6 +54,7 @@
16.0,
9.0
],
"httpServerPort": 43215,
"dicts": [
"localized_data/event.json",
"localized_data/LIVE.json",
Expand Down
103 changes: 101 additions & 2 deletions resources/config.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Umamusume Localify Config",
"title": "Trainers-Legend-G Config",
"description": "赛马娘本地化插件配置",
"type": "object",
"properties": {
Expand All @@ -16,14 +16,37 @@
"type": "boolean"
},
"maxFps": {
"description": "帧率限制 (-1 = 游戏原版/0 = 无限/>0 = 锁定到特定帧数)——注: 垂直同步已开启",
"description": "帧率限制 (-1 = 游戏原版/0 = 无限/>0 = 锁定到特定帧数)",
"type": "integer",
"minimum": -1
},
"highQuality": {
"description": "高画质模式 (抗锯齿 MSAA x8, 锁定图形质量等级到最高)",
"type": "boolean"
},
"enableVSync": {
"description": "开启垂直同步 (开启后 maxFps 设置将会失效)",
"type": "boolean"
},
"unlockSize": {
"description": "允许游戏使用`1080p`以上的分辨率",
"type": "boolean"
},
"unlockSizeOffset": {
"description": "unlockSize 偏移率设置. 当出现点击偏移时可以设置",
"type": "object",
"properties": {
"landspace": {
"description": "横屏状态偏移率",
"type": "number"
},
"vertical": {
"description": "竖屏状态偏移率",
"type": "number"
}
},
"additionalProperties": false
},
"uiScale": {
"description": "自定义UI缩放",
"type": "number"
Expand Down Expand Up @@ -76,6 +99,78 @@
"description": "在屏幕比例对应时自动设置为全屏 (true/false)\n- 如屏幕是16:9 并且横屏,将会在横屏播放剧情/live时全屏\n- 如屏幕是9:16,将会在绝大多数情况下全屏",
"type": "boolean"
},
"live": {
"description": "Live配置",
"type": "object",
"properties": {
"free_camera": {
"description": "启用自由视角",
"type": "boolean"
},
"force_changeVisibility_false": {
"description": "禁用改变角色可见性",
"type": "boolean"
},
"moveStep": {
"description": "相机移动步幅",
"type": "number"
},
"close_all_blur": {
"description": "关闭所有模糊镜头",
"type": "boolean"
}
},
"additionalProperties": false
},
"race_camera": {
"description": "比赛相机设置",
"type": "object",
"properties": {
"free_camera": {
"description": "启用自由视角",
"type": "boolean"
},
"moveStep": {
"description": "相机移动步幅",
"type": "number"
},
"defaultFOV": {
"description": "默认FOV",
"type": "number"
},
"freecam_lookat_target": {
"description": "视角随着马娘移动",
"type": "boolean"
},
"freecam_follow_target": {
"description": "摄像机随着马娘移动",
"type": "boolean"
},
"follow_offset": {
"description": "摄像机随马娘移动参数",
"type": "object",
"properties": {
"distance": {
"description": "与目标马娘的距离",
"type": "number"
},
"x": {
"description": "x轴偏移",
"type": "number"
},
"y": {
"description": "y轴偏移",
"type": "number"
},
"z": {
"description": "z轴偏移",
"type": "number"
}
}
}
},
"additionalProperties": false
},
"externalPlugin": {
"description": "外部插件配置",
"type": "object",
Expand All @@ -95,6 +190,10 @@
},
"additionalProperties": false
},
"httpServerPort": {
"description": "HTTP服务器端口, 用于外部插件交互",
"type": "integer"
},
"autoChangeLineBreakMode": {
"description": "根据横竖屏模式自动切换\"忽略换行符\"模式",
"type": "boolean"
Expand Down
103 changes: 101 additions & 2 deletions resources/config_en.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Umamusume Localify Config",
"title": "Trainers-Legend-G Config",
"description": "Umamusume Localify Config",
"type": "object",
"properties": {
Expand All @@ -16,14 +16,37 @@
"type": "boolean"
},
"maxFps": {
"description": "Fps setting (-1 = Default fps|0 = Infinity|>0 = Limit game to specific fps)——Vertical synchronization is enabled",
"description": "Fps setting (-1 = Default fps|0 = Infinity|>0 = Limit game to specific fps)",
"type": "integer",
"minimum": -1
},
"highQuality": {
"description": "High quality mode (FullQuality, MSAA x8)",
"type": "boolean"
},
"enableVSync": {
"description": "Enable vertical synchronization",
"type": "boolean"
},
"unlockSize": {
"description": "Allow to use the resolution higher than `1080p`",
"type": "boolean"
},
"unlockSizeOffset": {
"description": "unlockSize offset",
"type": "object",
"properties": {
"landspace": {
"description": "landspace offset",
"type": "number"
},
"vertical": {
"description": "vertical offset",
"type": "number"
}
},
"additionalProperties": false
},
"uiScale": {
"description": "Customize the scale of ui (set 0.8 if you find your game windows can't show all the graphic)",
"type": "number"
Expand Down Expand Up @@ -76,6 +99,78 @@
"description": "Full screen the game automaticlly.\nIf monitor resolution is 16:9, game will be full screened during watching live/story\nIf monitor resolution is 9:16, game will be full screened in most circumstances",
"type": "boolean"
},
"live": {
"description": "Set Live",
"type": "object",
"properties": {
"free_camera": {
"description": "Enable free camera",
"type": "boolean"
},
"force_changeVisibility_false": {
"description": "Force disable character visibility changing",
"type": "boolean"
},
"moveStep": {
"description": "Camera move step",
"type": "number"
},
"close_all_blur": {
"description": "Disable all blur",
"type": "boolean"
}
},
"additionalProperties": false
},
"race_camera": {
"description": "Race Camera Settings",
"type": "object",
"properties": {
"free_camera": {
"description": "Enable free camera",
"type": "boolean"
},
"moveStep": {
"description": "Camera move step",
"type": "number"
},
"defaultFOV": {
"description": "Default FOV",
"type": "number"
},
"freecam_lookat_target": {
"description": "Look at Umamusume",
"type": "boolean"
},
"freecam_follow_target": {
"description": "Move after Umamusume",
"type": "boolean"
},
"follow_offset": {
"description": "Move offset",
"type": "object",
"properties": {
"distance": {
"description": "Distance from Umamusume",
"type": "number"
},
"x": {
"description": "X offset",
"type": "number"
},
"y": {
"description": "Y offset",
"type": "number"
},
"z": {
"description": "Z offset",
"type": "number"
}
}
}
},
"additionalProperties": false
},
"externalPlugin": {
"description": "Set external plugin.",
"type": "object",
Expand All @@ -95,6 +190,10 @@
},
"additionalProperties": false
},
"httpServerPort": {
"description": "HTTP Server Port",
"type": "integer"
},
"autoChangeLineBreakMode": {
"description": "Automatically toggle \"Ignore line break\" mode based on whether the game is 16:9 or 9:16",
"type": "boolean"
Expand Down
Binary file modified resources/legend_g_plugin.exe
Binary file not shown.
Loading

0 comments on commit 70389db

Please sign in to comment.