Bully Anniversary Edition (.tex)

Textures, recreate headers, conversions, algorithms and parsing of image files
LegalizeRanch
Posts: 9
Joined: Fri Jul 01, 2016 8:33 pm

Bully Anniversary Edition (.tex)

Post by LegalizeRanch »

I can only get this info from them in hex:
Image
Examples: https://www.dropbox.com/s/n7b1rs032rhmz ... x.zip?dl=0
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Bully Anniversary Edition (.tex)

Post by Acewell »

here is a Noesis python script attempt to open your tex samples :D
*script updated Feb 7, 2018*
tex_BullyAnniversaryEdition_Android_iOS_tex.zip

supports dxt1, dxt5, rgba4444, rgba8888, rgb888, a8, rgb565, pvrtc 4bpp(?)
3 of your samples contain the same image twice, once as pvr(?) and again as dxt5,
i'm not completely sure of the pvr correctness so i would avoid using that one,
you'll have better luck probably with PVRTexTool converting that pvr data from tex. :)
Last edited by Acewell on Thu Feb 08, 2018 2:34 am, edited 2 times in total.
LegalizeRanch
Posts: 9
Joined: Fri Jul 01, 2016 8:33 pm

Re: Bully Anniversary Edition (.tex)

Post by LegalizeRanch »

Thanks a lot for this! I'm getting an error with some certain ones (UnboundLocalError: local variable 'texFmt' referenced before assignment). And hudmontr_monitor.tex can't be viewed or exported.
These for example give this error or can't be exported: https://www.dropbox.com/s/yz9bq94px0mlp ... r.zip?dl=0
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Bully Anniversary Edition (.tex)

Post by Acewell »

okay i updated the script in my previous post to work with the compressed dxt5 sample and the dxt1 and rgba32 formats. :D
LegalizeRanch
Posts: 9
Joined: Fri Jul 01, 2016 8:33 pm

Re: Bully Anniversary Edition (.tex)

Post by LegalizeRanch »

Thanks for updating it! Sorry to bother again, but some export as RGB rather than BGR, as well as with some stuff in the background. https://www.dropbox.com/s/p4klyo2bp5p7z ... B.zip?dl=0
https://puu.sh/ziVnG/7ccd7eb84d.png
https://puu.sh/ziVon/b6d77513bc.png
Image
And there seems to be another compressed format the script can't export.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Bully Anniversary Edition (.tex)

Post by Acewell »

okay script updated and with 3 more formats :)
LegalizeRanch
Posts: 9
Joined: Fri Jul 01, 2016 8:33 pm

Re: Bully Anniversary Edition (.tex)

Post by LegalizeRanch »

This one's great. Thanks.
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

Re: Bully Anniversary Edition (.tex)

Post by Seonply »

Hi Acewell I have a C language source that decompiles xml file from bully anniversary edition. And it works perfectly. But I need a xml compiler too. Can you help me for find a complier pls?

here is the decomplier
https://www.mediafire.com/file/bm6diq9n ... ier.c/file

and here is the xml file examples
https://www.mediafire.com/file/coqkqwot ... t.xml/file
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

Re: Bully Anniversary Edition (.tex)

Post by Seonply »

Acewell wrote:okay script updated and with 3 more formats :)

pls help me if you can :(
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Bully Anniversary Edition (.tex)

Post by Acewell »

i don't know anything about that, sorry. :(
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

Re: Bully Anniversary Edition (.tex)

Post by Seonply »

Acewell wrote:i don't know anything about that, sorry. :(

thank you for answer ❤️