Commit Graph
164 Commits
Author SHA1 Message Date
d683cdeb64 Run from gamedir (#686)
* prepare gamedir for running the game

* Stop telling installers to overwrite the vanilla game

The release no longer contains anything that lands on a vanilla file:
its base data lives in Base, so unpacking it over the game directory
and copying the game's Data into the release now amount to the same
installation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Give the mod's base data its own VFS profile

Its files ship in Base now, so that a vanilla Data directory can be
copied in whole without a single collision. Mount Base right above the
vanilla dirs in every profile stack — the slot where the installer's
overwrites used to end up.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Mount Base in the language overlays' VFS configs too

Assembling a release copies a <Language>_Version directory over
gamedir, its own copies of the configs included, so without the same
Base profile every non-English release would mount nothing from Base.

Their libraries move along with the rest of the base data: each
language slf, and the Russian data.slf that shadows the vanilla
Data.slf by name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore a vanilla Data directory dropped into gamedir

Running the game here needs one copied in, and it is an untouched copy
of somebody's retail install — nothing this repository should track.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore only the player profile directory, not every Profiles

The unanchored pattern also swallowed Base/TableData/Profiles, the
mod's soldier profile XMLs, which are tracked and belong in a release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* move gamedir/Data to gamedir/Base

* move gamedir-languages' Data to Base

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 11:05:15 -03:00
b9ea3ef36e spell language overlay paths the way gamedir does
The overlays were authored on Windows, where a filesystem that folds case hid
the fact that thousands of translated files spell their path differently from
the gamedir file they are meant to replace: Data-1.13/Mercedt/170.EDT over
Data-1.13/MercEdt/170.EDT, 149_ATTN.wav over 149_ATTN.WAV. Copying an overlay
onto gamedir on a case-sensitive filesystem leaves both files instead of
replacing one, and VFS, which folds case itself, then serves whichever the
directory happened to yield first.

Every overlay path is now spelled component for component the way gamedir
spells it. gamedir was already self-consistent, so nothing there moves and no
new convention is invented. The transformation is mechanical and no file gains
or loses content:

    git diff --shortstat HEAD~1 HEAD
        5374 files changed, 0 insertions(+), 0 deletions(-)
    git diff --name-status -M HEAD~1 HEAD | cut -f1 | sort -u
        R100
    git ls-tree -r --name-only HEAD gamedir-languages | wc -l
        28884, the same as before

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 09:12:12 -03:00
majcostaandmajcosta c3c4fe2873 add telemetry INI for chinese version 2026-07-28 12:10:19 -03:00
Marco Antonio J. Costa fe6ca8c905 i18n: INI-file to set game language
this is simpler than copying a whole Ja2.ini file for the 7 that don't go
with the English default
2026-07-17 11:19:26 -03:00
JuqiandGitHub 77622e6cf3 Supplement Chinese translation files (#23)
* Supplement Chinese translation files

TBS members supplement Chinese translation files, fix errors in Chinese.Emails.xml and other untranslated files.

* Revert "Supplement Chinese translation files"

This reverts commit 473b7f89e8c82453db95313fc6f672e2416a5e5d.

* Add Chinese Translations, and repair XML mistakes
2026-05-07 10:32:50 +03:00
AsdowandGitHub 48f9fde561 Update Chinese.Emails.xml (#21)
Missed one email from EMAIL25.EDT
2026-01-04 14:54:44 +02:00
Asdow 42df190a24 Remove empty <Message> 2026-01-04 14:52:05 +02:00
Asdow c900c366d8 Add localizations for externalized emails 2026-01-03 18:48:55 +02:00
zwwooooo 042f474d66 Chinese translation update(by Forum of Playbar): 1dot13/gamedir a9ba654 2025-05-11 17:11:28 +08:00
zwwooooo 7d6b33f1a7 Chinese translation update(by Forum of Playbar): 1dot13/gamedir 3519efb 2025-04-05 20:27:24 +08:00
zwwooooo bbb281351f Chinese translation update(by Forum of Playbar)
- translation update
- Organize the translated documents
2025-02-25 23:59:50 +08:00
zwwooooo f1e73808c2 Chinese translation update(by Forum of Playbar) 2025-01-02 22:37:36 +08:00
zwwooooo a77f9d4b62 Chinese translation update(by Forum of Playbar) 2024-04-29 22:46:24 +08:00
zwwooooo 5a833b7e92 Chinese translation update(by Forum of Playbar) 2023-11-07 20:48:20 +08:00
zwwooooo ea6b214c1d Chinese translation update(by TBS) 2023-09-10 22:42:57 +08:00
zwwooooo f272703c76 Chinese translation update(by TBS) 2023-04-12 14:12:47 +08:00
Sevenfm a45df3c3b0 Chinese translation update (by zwwooooo).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9399 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-08-23 11:14:53 +00:00
Sevenfm 5581616143 Chinese translation update (by zwwooooo).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9374 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-05-03 06:52:18 +00:00
Sevenfm 09459abbc9 Chinese translation update (by zwwooooo).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9347 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-03-26 07:41:52 +00:00
Wanne 60a8f504f3 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-02-07 12:45:46 +00:00
Wanne a57e4e6d11 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9233 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-01-04 17:13:29 +00:00
Wanne 2c463fc6f6 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9219 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-12-06 22:18:20 +00:00
Wanne 6e6c0d9f06 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9208 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-11-01 11:18:41 +00:00
Wanne 5cfe0b09b5 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9154 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-23 12:39:43 +00:00
Wanne 739421c6fa Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9150 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-03 16:27:38 +00:00
Wanne b9b8b117a9 Deleted unused Chinese GameDir file
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9118 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-28 12:16:37 +00:00
Wanne 455d4925d5 Updated Chinese GameDir files (by kmoi)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9117 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-28 12:04:07 +00:00
Wanne e59abd971b Deleted unneeded file from Chinese Folder
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@9116 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-06-28 12:00:05 +00:00
Wanne 4d37edfac4 Updated Chinese GameDir files (by TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8897 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-10-01 09:40:58 +00:00
Wanne bf9fd75fb4 Updated Chinese GameDir files
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8774 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-03-17 10:07:31 +00:00
Wanne 0be64b6e55 Updated Chinese GameDir files (by TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8655 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2019-01-28 15:45:23 +00:00
Wanne 427240ff6a Updated Chinese GameDir files (by TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8614 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2018-09-11 21:01:34 +00:00
Wanne b851d9671f Updated Chinese GameDir files (by TBS & zwwooooo)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8470 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2017-09-13 06:49:03 +00:00
Wanne b607601b46 Updated Chinese GameDir files (by zwwooooo & TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8322 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-10-17 16:40:13 +00:00
Wanne 1e84d4e6b3 Updated Chinese GameDir files (by TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8305 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-09-28 08:26:13 +00:00
Wanne 1826c57efd Added missing items to the *.Items.xml files
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8290 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-08-22 18:26:52 +00:00
inshy bda3362661 -Fixed grammar in English for all *.Desease.xml
-Translated Russian.Disease.xml

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8069 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-02-25 11:25:15 +00:00
inshy 83a619b731 Added missing Disease.xml file for all languages.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8066 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-02-24 12:03:39 +00:00
Wanne 4c5ba3b0ed - Added missing items
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8035 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-01-25 08:36:03 +00:00
Wanne 6c9cf0e9ee Bugfix: Added missing xml entries for language specific versions
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@8010 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2016-01-04 09:01:52 +00:00
Wanne a40fd1d7ce Added / Updated Chinese EDT files (by TBS & zwwooooo)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7997 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-10-16 17:12:24 +00:00
Wanne 1bcda08c70 - Updated Chinese translations (by zwwooooo)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7994 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-10-05 19:31:49 +00:00
inshy 58265d947f Sandbags no longer need to be filled, item #1541 has been removed.
Empty sandbags (#1540) are now a 'stack' of bags that can be used to create 100 sandbag structures and it can be merged.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7971 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-08-13 17:13:59 +00:00
Wanne afb10c6ca0 Added missing new entries for *.Items.xml for all non english languages
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7849 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-05-07 19:10:46 +00:00
Wanne 52f03d2dc0 Updated Chinese GameDir XML Files (by TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7848 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-05-07 18:58:31 +00:00
Wanne 4c85786117 Translated Chinese.CampaignStatsEvents.xml (by Kmoi from TBS and zwwooooo)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7837 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-05-01 14:19:57 +00:00
Wanne 53a1c28632 Merged from revision: 7581
- Hotkey corrections in *.LoadScreenHints.xml (by Buggler)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7582 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-10-17 17:33:15 +00:00
Wanne c02317ac50 Added language specific *.DifficultySettings.xml file
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7469 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-09-01 04:30:30 +00:00
Wanne a772197c7c "Carrier Bladder" (by Off_Topic)
- Updated XML files

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7455 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-08-28 21:21:53 +00:00
Wanne 023ab93a2a - Added missing items to *.Items.xml
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameData@7424 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-08-26 08:49:27 +00:00