Author Topic: Overloading language files by means of UserData  (Read 828 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Overloading language files by means of UserData
« on: 24 May 2011, 15:09:04 »
Currently we need to ensure that language files are up to date by the time we release. This does not currently work too well since we are volunteers depending on multiple volunteer translators.

So it would be nice if it was possible to update language files after release, from within the game, from a central storage location. Either by means of automated background downloads (if a specific option is set in the .ini) or manually triggered in the Game Mods menu. In contrary to other game mods, however, checksum calculation and verification of original / compatible content across the network and all players of an online game is not needed for such translation files. Aside of this, translation files can be handled just like any other game mod - they would be installed to the UserData dir, and, if found there, would overload previously existing language files (such as shipped with the game during release).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Overloading language files by means of UserData
« Reply #1 on: 24 May 2011, 21:12:23 »
I like this idea since im a translator, what about adding a box in the options like "Search atutomatically for language update" or something like that? :)
I translated Megaglest in italian and i keep the translation updated.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Overloading language files by means of UserData
« Reply #2 on: 24 May 2011, 21:54:59 »
The way I see, it, there would ideally be three options: Always check for updates, only check for updates for the language currently used, and never check for updates. The change in this one is the second option. After all, why check for updates of every one when the majority of players will only use one language? That would preferably be the default too, as it would probably be the least problematic. Of course, the basic, most popular language, english, *should* always be up to date in the releases themselves, so it should never have to be checked for updates.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert