Author Topic: [fixed] r4213: --validate-techtrees=x=purgeunused deletes techtree localizations  (Read 529 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
When you run --validate-techtrees with the purgeunused option it will delete techtree localizations / translations. Techtree localizations / translations are legitimate files used by the game and should not be deleted.

Example output (kindly provided by Atze, redacted by me):
Code: [Select]
$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/ --validate-techtrees=prax_0.5.2.2=purgeunused
====== Started Validation ======
Filtering techtrees and only looking for the following: prax_0.5.2.2
*NOTE All unused techtree files will be deleted!

---------------- Loading factions inside world ----------------
----------------------------------------------------------------
Checking techPath [/home/atze/.megaglest/techs/] techName [prax_0.5.2.2] total faction count = 2
...

Checking resources, count = 8
...

Errors were detected:
=====================
The Resource type [energy] is not used by any units in this techtree!
The Resource type [green] is not used by any units in this techtree!
The Resource type [kristall] is not used by any units in this techtree!
=====================
Found techtree filecount = 998, used = 673
 
Line ref: 2108, Warning, unused files were detected - START:
=====================
...
[/home/atze/.megaglest/techs/prax_0.5.2.2/lang/prax_0.5.2.2_english.lng]
[/home/atze/.megaglest/techs/prax_0.5.2.2/lang/prax_0.5.2.2_german.lng]
...
Purged 20.76 MB (325) in files

Line ref: 2142, Warning, unused files were detected - END:

Warning, duplicate files were detected - START:
...
Warning, duplicate files were detected - END:
----------------------------------------------------------------
====== Finished Validation ======
« Last Edit: 1 May 2013, 09:03:16 by tomreyn »
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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Should be fixed in rev# 4236.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
It's fixed for me, thanks.
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 · · ·