Package Details: 0ad-zh-lang a26.1-1

Git Clone URL: https://aur.archlinux.org/0ad-zh-lang.git (read-only, click to copy)
Package Base: 0ad-zh-lang
Description: Chinese Fonts and Translations For 0ad
Upstream URL: https://play0ad.com/
Licenses: GPL
Submitter: peeweep
Maintainer: xlucn
Last Packager: xlucn
Votes: 1
Popularity: 0.000000
First Submitted: 2020-06-03 05:25 (UTC)
Last Updated: 2023-10-28 20:26 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

xlucn commented on 2022-10-04 04:13 (UTC)

Recommend this PKGBUILD:

pkgname=0ad-zh-lang
_pkgver=0.0.26
pkgver=a26
pkgrel=1
pkgdesc="Chinese Fonts and Translations For 0ad"
arch=(any)
url="https://play0ad.com/"
license=('GPL')
depends=(0ad=${pkgver} 0ad-data=${pkgver})
source=(${pkgname}-${_pkgver}.zip::"http://releases.wildfiregames.com/locales/zh-lang-${_pkgver}.pyromod")
sha256sums=('1e47709831baaa5ff03df9ecd846a80eda643f78deb461cc797b9872f5787fdc')

package() {
  cd ${srcdir}
  install -d ${pkgdir}/usr/share/0ad/data/mods/zh-lang
  cp -r l10n ${pkgdir}/usr/share/0ad/data/mods/zh-lang/l10n
  cp -r fonts ${pkgdir}/usr/share/0ad/data/mods/zh-lang/fonts
  cp mod.json ${pkgdir}/usr/share/0ad/data/mods/zh-lang/mod.json
}

xlucn commented on 2022-09-27 12:42 (UTC)

OK, now I know why the error in my last comment happened. You have to install this mod into a new folder, not /usr/share/0ad/data/mods/public for "public" mod. For example, create /usr/share/0ad/data/mods/chinese/ and put fonts, locale and mod.json files in there.

xlucn commented on 2021-10-08 07:40 (UTC)

error: failed to commit transaction (conflicting files)
0ad-zh-lang: /usr/share/0ad/data/mods/public/mod.json exists in filesystem (owned by 0ad-data)

Is this supposed to happen?

Another (possibly not) issue is, in the game's mod selection page, if I try to disable the mod, it will be hiden if "filter compatible" is on. I guess this is only a configuration issue in this language pack?

frat commented on 2020-10-25 03:21 (UTC)

thanks,very good.