Needing help extracting these .tex file

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
LeonNeol
n00b
Posts: 15
Joined: Tue Jul 18, 2017 4:36 pm
Has thanked: 10 times

Needing help extracting these .tex file

Post by LeonNeol » Fri Sep 22, 2017 4:09 pm

I got these file from a ps3 game. Anyone know how to convert it??

Please teach me, I still have lots of other .tex files of the same game need to be open it

https://www.dropbox.com/sh/up490x544tg9 ... K-Jta?dl=0

merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 117 times

Re: Needing help extracting these .tex file

Post by merlinsvk » Fri Sep 22, 2017 5:09 pm

They are PNGs with added "header". If you will want to change the texture, you need to discover the meanings if the header. If not, just remove first 28 bytes (until you reach ‰PNG...) with some hex editor and save it with .png extension.

User avatar
Acewell
VIP member
VIP member
Posts: 1329
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2683 times
Been thanked: 841 times

Re: Needing help extracting these .tex file

Post by Acewell » Fri Sep 22, 2017 9:42 pm

this bms script will automate the cleanup of header and will write out original header for reimport i guess :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get NAME basename
get SIZE asize
math SIZE - 0x1c
string HEADER = NAME
string HEADER + .header
string NAME + .png
log NAME 0x1c SIZE
log HEADER 0x0 0x1c

LeonNeol
n00b
Posts: 15
Joined: Tue Jul 18, 2017 4:36 pm
Has thanked: 10 times

Re: Needing help extracting these .tex file

Post by LeonNeol » Fri Sep 29, 2017 6:13 am

I extracted the file. But looks like the file is encrypted. It can't be view

Post Reply