Pocket Plane Group

Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: subtledoctor on January 27, 2018, 11:12:48 PM

Title: Fetaure request: detect game platform
Post by: subtledoctor on January 27, 2018, 11:12:48 PM
Specifically, I wonder if Weidu could detect whether the player is installing mods for iOS or Android.  The games definitely have a different file structure, at least on iOS, so it should be feasible to detect it - although, I haven't gone so far as to identify a particular method. 

The reason is, iOS and Android games need .PVRZ and/or .TIS files to use a different encoding.  This means that, while it is now wonderfully possible to install a ton of mods on the tablet games - I'm playing BGEE on my iPad with ~35 mods, there are over 18,000 files in my override folder - we cannot use mods that install new areas, or mods that change the UI in certain ways.  Argent77 has been working to allow players to convert these files after the fact, but there are issues, like not functioning on OS X. 

If Weidu could detect that a mod is being installed for iOS, then a mod could include the conversion utility and automatically run it at install-time - or even easier, convert them once beforehand and include properly-formatted files in a subfolder for use on that platform.  Then mods could be as platform-independent as the games themselves now are.  :)
Title: Re: Fetaure request: detect game platform
Post by: Wisp on January 31, 2018, 01:31:21 PM
I'm ill equipped to do anything about this since I don't have any test systems for BG on either iOS or android. If it's not bad code, I'll (maybe) merge it, but that's about what I can do.