okay script updated again, it works with all your samples now. the problem with that rgba8888 image was the case sensitvity in type check.DDS.phyre and dds.phyre are considered 2 different things, so i just lower cased everything stored in the variable.

see thats the problem with this format, there is really no versioning aside from platform that i see to distinguish phyre from one game to the next, but there is subtle changes in how some data is stored. the only sure way to make a catch-all phyre script is to read the phyre structure properly and i'm just not interested in reproducing official specs. i just recently made a phyre script for another game and the width and height was stored just before "PTexture2D" instead of 0x52 and 0x56 back and the next game might change again, so it becomes endless tinkering. to simplify i think there should be a different script for each game because these are really one-time use scripts anyway and it only takes a second to move a conflicting script out of the python folder, i mean once you convert all the textures from that game you won't need that script again. i'd rather just modify the line and rename the script instead of adding new if statements, checks, conditions etc every other week when the next game is extracted.

this should probably go in a new thread but here is the simple modification

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum