07-27-2017, 11:54 AM
(This post was last modified: 08-10-2017, 07:59 AM by Random Talking Bush.)
Updated the BFRES script with a quickfix:
https://mega.nz/#!atZ20IiZ!Ck4PX__CExrZc...7iFGeFFVo0
Basically, there was an error in the script where if you loaded up the same model more than once (or even two different ones with the same setups, e.g. Mario Kart 8's and then Mario Kart 8 Deluxe's models one after another), it would continue using the old paths and extensions even if you change the options (e.g. absolute DDS paths even if you changed it to relative PNG before importing). And as per request, there's another option added in for that ("Sub") that looks for textures in a subfolder with the same name as the BFRES file (basically the same way my script exports 'em).
Speaking of, I've also changed the QuickBMS script a bit so that textures don't have the dimensions appended to their filenames by default (unless it needs manually trimming). You can change the behaviour back to the way it was before by changing the "ADDDIMENSIONS" value in the script from 0 to 1. (No longer necessary.)
https://mega.nz/#!XwAjSYBa!JQ9wy3qGHvo7h...-uvRAKJy54
Code:
Fixed texture paths not remembering changes, added an option to check subfolders.
Basically, there was an error in the script where if you loaded up the same model more than once (or even two different ones with the same setups, e.g. Mario Kart 8's and then Mario Kart 8 Deluxe's models one after another), it would continue using the old paths and extensions even if you change the options (e.g. absolute DDS paths even if you changed it to relative PNG before importing). And as per request, there's another option added in for that ("Sub") that looks for textures in a subfolder with the same name as the BFRES file (basically the same way my script exports 'em).
Speaking of, I've also changed the QuickBMS script a bit so that textures don't have the dimensions appended to their filenames by default (unless it needs manually trimming). You can change the behaviour back to the way it was before by changing the "ADDDIMENSIONS" value in the script from 0 to 1. (No longer necessary.)
https://mega.nz/#!XwAjSYBa!JQ9wy3qGHvo7h...-uvRAKJy54