Skip to content

Commit 4b28d94

Browse files
committed
🟢 (058) The One Who Heralds the End {Sub Story}
fixes #226
1 parent de28b37 commit 4b28d94

15 files changed

Lines changed: 915072 additions & 33693 deletions

File tree

.gitattributes

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml
22
# https://github.com/github-linguist/linguist/blob/main/docs/overrides.md
33

4-
* text=auto
4+
* text=auto eol=lf
55

6-
*.md linguist-language=Markdown
7-
*.md linguist-detectable=true
6+
**/*.md linguist-language=Markdown
7+
**/*.md linguist-detectable=true
88

9-
*.yml linguist-language=YAML
10-
*.yaml linguist-language=YAML
11-
*.yaml linguist-detectable=true
9+
**/*.yml linguist-language=YAML
10+
**/*.yaml linguist-language=YAML
11+
**/*.yaml linguist-detectable=true
1212

1313
# (.etp > .yaml)
1414
Steam/**/pakchunk0-WindowsNoEditor.pak/Game/Content/NonAssets/ETP/*.yaml linguist-detectable=true

.github/workflows/Create_Latest_Release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,18 @@ jobs:
4141
# echo -e "::group::\033[0;34m Building LocRes-Builder's Inputs \033[0m"
4242
mkdir -p ${{ github.workspace }}/BUILD/LocRes-Builder/INPUT
4343
44-
yq "." -o=json \
45-
"${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.yaml" \
46-
> "${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json"
47-
4844
cp \
4945
"${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locmeta.json" \
5046
"${{ github.workspace }}/BUILD/LocRes-Builder/INPUT/locmeta.json"
5147
52-
for LANGUAGE in de en es fr it ja ko pt-BR zh-Hans zh-Hant; do jq \
53-
"to_entries| map(reduce . as \$obj ({};{\"key\": \$obj[\"key\"],\"value\": (\$obj[\"value\"]| to_entries| map({\"key\": .key,\"value\": [(if (.value[\"${LANGUAGE}\"] != \"\")then (.value = .value[\"${LANGUAGE}\"])else (.value = .value.ja)end)]| from_entries[]})| from_entries)}))| from_entries" \
54-
"${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json" \
48+
echo -e "Splitting Game.locres.yaml"
49+
for LANGUAGE in de en es fr it ja ko la pt-BR zh-Hans zh-Hant; do \
50+
echo -e "Splitting \033[0;32m$LANGUAGE\033[0m"
51+
yq "." --yaml-fix-merge-anchor-to-spec \
52+
"${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.yaml" \
53+
-o=json \
54+
| jq --arg LANGUAGE $LANGUAGE \
55+
--from-file "${{ github.workspace }}/BUILD/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json_--from-file.txt" \
5556
> "${{ github.workspace }}/BUILD/LocRes-Builder/INPUT/${LANGUAGE}.json"
5657
done
5758
# echo "::endgroup::"

.github/workflows/Create_Latest_Release_DEBUG.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,18 @@ jobs:
3636
# echo -e "::group::\033[0;34m Building LocRes-Builder's Inputs \033[0m"
3737
mkdir -p ${{ github.workspace }}/DEBUG/LocRes-Builder/INPUT
3838
39-
yq "." -o=json \
40-
"${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.yaml" \
41-
> "${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json"
42-
4339
cp \
4440
"${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locmeta.json" \
4541
"${{ github.workspace }}/DEBUG/LocRes-Builder/INPUT/locmeta.json"
4642
47-
for LANGUAGE in de en es fr it ja ko pt-BR zh-Hans zh-Hant; do jq \
48-
"to_entries| map(reduce . as \$obj ({};{\"key\": \$obj[\"key\"],\"value\": (\$obj[\"value\"]| to_entries| map({\"key\": .key,\"value\": [(if (.value[\"${LANGUAGE}\"] != \"\")then (.value = .value[\"${LANGUAGE}\"])else (.value = .value.ja)end)]| from_entries[]})| from_entries)}))| from_entries" \
49-
"${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/BACKLOG/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json" \
43+
echo -e "Splitting Game.locres.yaml"
44+
for LANGUAGE in de en es fr it ja ko la pt-BR zh-Hans zh-Hant; do \
45+
echo -e "Splitting \033[0;32m$LANGUAGE\033[0m"
46+
yq "." --yaml-fix-merge-anchor-to-spec \
47+
"${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.yaml" \
48+
-o=json \
49+
| jq --arg LANGUAGE $LANGUAGE \
50+
--from-file "${{ github.workspace }}/DEBUG/dqx-offline-localization/Steam/App_ID-1358750/Build_ID-14529657/pakchunk0-WindowsNoEditor.pak/Game/Content/Localization/Game/Game.locres.json_--from-file.txt" \
5051
> "${{ github.workspace }}/DEBUG/LocRes-Builder/INPUT/${LANGUAGE}.json"
5152
done
5253
# echo "::endgroup::"

0 commit comments

Comments
 (0)