.TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

.TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

any existing bms script for these kinds of files? i know there is a lot of work done for angry birds games using this engine, but i've found nothing on .twi texture files that this game uses.
they all have a header of "TWI����€���" or "54 57 49 00 00 00 00 80 00 00 00" in hex

ive attached some twi files from the game in a .ZIP archive
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by LolHacksRule »

It's the very first revision of the engine. I messed with v1 (ABGO, AB Console) a bit and v2 (F1/ABT) the most. I explored this game to check if the XMLs were binary to check revisions for XOX0, but only V1 and V2 exist so far. I'll try to help ya tommorow.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by LolHacksRule »

I think its raw data of some sort... Not sure what tho...
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

LolHacksRule wrote:I think its raw data of some sort... Not sure what tho...

hey thanks for actually taking a look. interesting it's the 1st revision of this engine..
i tried looking at the files in TiledGGD but i couldn't get a coherent image out of any of them so far.

you seem to know a thing or 2 about XGS considering the work you've done on those angry birds pc games....do you have a discord account? things would get done faster if we continued there

Asdfguy86#4749 is my discord name/id
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

Asdfguy86 wrote:i tried looking at the files in TiledGGD but i couldn't get a coherent image out of any of them so far.


jinxed myself, it *sort of* looks like something at 32bpp, 256x384 resolution
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by LolHacksRule »

LolHacksRule#2293, PC AB games don't use XGS, the 3d mobile games (EXC the Unity ones) do.
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Allen »

I can only extract one format.
The other format data looks like DXT compression, and then the data is SWIZZLED.
Hope someone can continue to help resolve it.
one format: palette bgra5551, 4bpp indexed.
one format: unknown dxt compression, pixel swizzled.

EDIT:
Update.
Added support for all image formats.
Last edited by Allen on Wed Jan 15, 2020 3:43 am, edited 2 times in total.
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

Allen wrote:I can only extract one format.
The other format data looks like DXT compression, and then the data is SWIZZLED.
Hope someone can continue to help resolve it.
one format: palette bgra5551, 4bpp indexed.
one format: unknown dxt compression, pixel swizzled.

wow! progress being made. thank you very much for your effort!!!!!
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

Allen wrote:I can only extract one format.
The other format data looks like DXT compression, and then the data is SWIZZLED.
Hope someone can continue to help resolve it.
one format: palette bgra5551, 4bpp indexed.
one format: unknown dxt compression, pixel swizzled.

also, it seems like there is another format. same palette of bgra5551 except 8bpp indexed instead of 4bpp.
this seems to hold true for some wheel textures and menus. but most car decals and fonts are viewable now, so it is a great step up from nothing.
as for anyone else interested, i've attatched all the files from this game below
google drive link
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Allen »

Update.
Added support for all image formats.
Please recheck the attachment in my post above.
Image
Asdfguy86
Posts: 18
Joined: Sun Oct 13, 2019 1:00 am

Re: .TWI texture file (Need For Speed Hot Pursuit Wii, Exient XGS Engine)

Post by Asdfguy86 »

Allen wrote:Update.
Added support for all image formats.
Please recheck the attachment in my post above.
Image

you are a god. thank you so much