schdub / dlcsync

DLC files downloader for TSTO
4 stars 1 forks source link

One problem. #2

Open LolHacksRule opened 5 years ago

LolHacksRule commented 5 years ago

It works great on everything else, but ones having android-ipad3 don't download alone, using ipad3 in the tierlist will add them along with the ipad3 DLC but will that be fixed? Non-platform specific DLC support (like audio) as well?

nathan666 commented 5 years ago

It is because android is using also the ios images and video files, depend on their device resolution. What are you want to do maybe i can help.

LolHacksRule commented 5 years ago

I want to get the audio files and android-ipad3 only DLC alone if possible.

nathan666 commented 5 years ago

Not sure if i understand you correctly. You want to download all files which has the attribute platform="android" and tier="ipad3" ?

That's pretty easy. Just add this line as line 15:

plat = [ 'android', 'ios', 'all' ] # 'android', 'ios', 'all'

Add this lines as lines 126, 127:

elif (tag == 'Package'):
    self.Platform = attrib['platform']

And change line 131 to this one:

if (not self.ignorePackage and self.Language in lang and self.Platform in plat):

Now you can sort it by platforms.

LolHacksRule commented 5 years ago

Thanks so much.

LolHacksRule commented 5 years ago

What about DLC with -retina? Wait never mind that, any way to ignore specific DLC?