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

Needing help extracting these .tex file

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

Needing help extracting these .tex file

Post by Maren »

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: 121 times

Re: Needing help extracting these .tex file

Post by merlinsvk »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Needing help extracting these .tex file

Post by Acewell »

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
Maren
n00b
Posts: 15
Joined: Tue Jul 18, 2017 4:36 pm
Has thanked: 10 times

Re: Needing help extracting these .tex file

Post by Maren »

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