Important information: this site is currently scheduled to go offline indefinitely by end of the year.

NFS Rivals - .itexture

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
LALHW
ultra-n00b
Posts: 9
Joined: Sun Jan 10, 2016 1:37 am

NFS Rivals - .itexture

Post by LALHW »

Hello, I am trying to edit some Need for Speed Rivals textures and I need help.

After dumping the game, I have tried to extract/convert the .itexture files, in order to get readable dds files, but I fail. The extracted results are some useless, very strangely proportioned (2048x1 px e.t.c) but with right names, dds files. I have tried using the following tools:
-Bf4 texture converter (Batch_Itexture_Converter_BF4.exe) by Dainiuxxx
-Star Wars Battlefront texture converter (Batch_Itexture_Converter.exe) by Dainiuxxx

Using Ninja Ripper I'm able to get some textures, is there any other way?
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: NFS Rivals - .itexture

Post by Wobble »

[out]
Last edited by Wobble on Sun Mar 12, 2017 11:58 am, edited 1 time in total.
LALHW
ultra-n00b
Posts: 9
Joined: Sun Jan 10, 2016 1:37 am

Re: NFS Rivals - .itexture

Post by LALHW »

Yes, I'm using Windows, please check these files, I hope there is everything you need.

NFS - Rivals: https://mega.nz/#!GQ0hXCgZ!ZM5gaxkHbn8o ... oTRJjFsxaE, .ebx reffering to file
https://mega.nz/#!XY0wwCLJ!gKEs2HDs6Ug2 ... DlpWHaZo1U, .itexture
https://mega.nz/#!XJFTwLSa!7NlSWL2g1AdM ... TODuLAC3rg, .chunk file, referred by the .itexture
https://mega.nz/#!yM90nR6D!xuRKEh_Aatu2 ... -aFvrWF8dU, extracted .dds via Bf4 texture converter
https://mega.nz/#!DQUSXS7a!pOSEc2s7kQzB ... 1ZSdz00tB4, the resulted .png after the dds conversion
https://mega.nz/#!3d1mHLiA!JDxJsv0UbG9m ... RsS4Y_h4C4, real .dds (converted to png), extracted via Ninja Ripper
https://mega.nz/#!jRVAjTKR!kPYzQhtZYGse ... 3ME4nKdfyw, screenshot from Texture Finder v2.1, showcasing the .chunk file
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: NFS Rivals - .itexture

Post by Wobble »

[out]
Last edited by Wobble on Sun Mar 12, 2017 11:58 am, edited 1 time in total.
LALHW
ultra-n00b
Posts: 9
Joined: Sun Jan 10, 2016 1:37 am

Re: NFS Rivals - .itexture

Post by LALHW »

I will try your suggestion. I have found 'DXT5' using a hex editor, but where are the dimensions located? Can I just change the image size using any image editor?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: NFS Rivals - .itexture

Post by Acewell »

Open car_ford_mustanggt_2014_livery_kenblock_d.dds with a hex editor
put your cursor on byte 0xC and type in 00 08 to overwrite the current values
then put your cursor on byte 0x57 and type in 31 to overwrite the current value
save the file and you are done

:D
Last edited by Acewell on Sat Jan 16, 2016 1:21 pm, edited 1 time in total.
LALHW
ultra-n00b
Posts: 9
Joined: Sun Jan 10, 2016 1:37 am

Re: NFS Rivals - .itexture

Post by LALHW »

Thank you all, it works for most of the files. But can you please check these files, too? https://mega.nz/#!qQExlL6J!-f4pirGH0Fa5 ... QVDNu--h4xY It seems it's not working because it's supposed to be a 512px file. Is there any 'map' I should follow for the different image sizes? For example, what should I change for 128px, 256px, 512px e.t.c.?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: NFS Rivals - .itexture

Post by Acewell »

put your cursor on byte 0xD and type 02 to overwrite 08

all you're doing is taking the image size and converting it to hexadecimal and inputting that value in the right place in little endian byte order.

64 - 40 - 40 00
128 - 80 - 80 00
256 - 100 - 00 01
512 - 200 - 00 02
1024 - 400 - 00 04
2048 - 800 - 00 08
4096 - 1000 - 00 10

height value starts at 0xC and width value starts at 0x10

:D
LALHW
ultra-n00b
Posts: 9
Joined: Sun Jan 10, 2016 1:37 am

Re: NFS Rivals - .itexture

Post by LALHW »

THank you, everything is OK now. Final question: is it possible to enable alpha channel this way?
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: NFS Rivals - .itexture

Post by Wobble »

[out]
Post Reply