Any chance for a linux version so I can do some of these on my break at work?
A few false positive errors about translation packs in there.
Thanks for looking into this, nbohr1more !
A Linux version shouldn't be a problem at all.
I just had a look at the code again and found nothing that might be Windows specific in any way.
So, I would actually expect the code to run on Linux just fine as well.
But I don't have a Linux system at my disposal right now.
I assume you are just asking for some launch script?
What happnes if you try to run it as follows:
java -jar TDMMissionDbCheck.jar
With respect to the 1 false positive:
The localizations pack for 'Special Delivery' show up only in the XML version of the mission list, but not in the PHP version.
<localisationPack url="http://www.fidcal.com/darkuser/missions/delivery_l10n.pk4" />
<localisationPack url="http://darkmod.taaaki.za.net/fms/delivery_l10n.pk4" />
<localisationPack url="http://www.southquarter.com/tdm/fms/delivery_l10n.pk4" />
whereas this one doesn't :
This means that you will see no Translation seems available when browsing this mission on the website (which uses the PHP version) http://www.thedarkmo...ndetails/?id=22,
whereas the internal downloader (which uses the XML version) is well aware of these 'localization packs'.
That's why the latest scan indicates an inconsistency there.
Anyway: These specific 'localization 'files should be probably dropped entirely, as they are 100% identical to the actual mission file delivery.pk4.
So, they aren't a localized version at all. Or are they?
I see some risk that any future update to that mission might mean that people would be playing the new version, but with a bunch of stuff superseeded by an outdated version.
Maybe the files on the server should be replaced with an empty pk4, to make sure everyones local copy of the L10N files get overwritten if there should ever be an update to the mission itself.
Edited by gnartsch, 03 February 2019 - 05:20 AM.