Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Trying to view this .tex file

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
iCode
ultra-n00b
Posts: 7
Joined: Sun Apr 02, 2017 9:53 pm
Has thanked: 1 time

Trying to view this .tex file

Post by iCode » Tue Apr 11, 2017 1:45 pm

Could anyone tell me how to view .tex files, nothing will open them without errors.

Thanks
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1275
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2417 times
Been thanked: 747 times

Re: Trying to view this .tex file

Post by Acewell » Tue Apr 11, 2017 4:32 pm

controller_layout_win_tex.png
512x512 dxt5 image with 52 byte header
width at 0x28 and height at 0x32
:D
You do not have the required permissions to view the files attached to this post.

iCode
ultra-n00b
Posts: 7
Joined: Sun Apr 02, 2017 9:53 pm
Has thanked: 1 time

Re: Trying to view this .tex file

Post by iCode » Tue Apr 11, 2017 7:57 pm

Thank you so much

Would you mind telling me how you done this and how I can do it with other .tex files, how are you supposed to know what settings to choose.

User avatar
Acewell
VIP member
VIP member
Posts: 1275
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2417 times
Been thanked: 747 times

Re: Trying to view this .tex file

Post by Acewell » Wed Apr 12, 2017 2:13 pm

iCode wrote:Would you mind telling me how you done this and how I can do it with other .tex files
just input the settings like you see in the image,
-set the width of the image
-set the shift to account for where the data actually starts
-set the pixel format
how are you supposed to know what settings to choose.
by trial and error :)

there is no guarantee all of your images are the same pixel format or size etc
if you have more samples i will try to make a Noesis python script to open them. :D
also what is the game name where the samples come from?
from the image it looks like an X360 controller so i think we know the platform at least. :)

iCode
ultra-n00b
Posts: 7
Joined: Sun Apr 02, 2017 9:53 pm
Has thanked: 1 time

Re: Trying to view this .tex file

Post by iCode » Wed Apr 12, 2017 7:26 pm

Thanks for that :)

I'll try and explain what I'm trying to do

I'm trying to replace the xbox buttons with ps3/ps4 buttons using photoshop and then restoring the .tex so that it shows up in game.

I managed to get it working with a game before all I had to do was put the .tex in "game name/data\gui\" and it worked but other games haven't been as simple and I have no idea what to do.

With this game Ghostbusters: The Video Game (2009) it uses .POD which I managed to extract but now I'm trying to find the correct xbox texture to replace it with PS buttons. But no doubt I'll need to repack it into the .POD file which I have no idea how to.
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1275
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2417 times
Been thanked: 747 times

Ghostbusters: The Video Game (2009) .tex

Post by Acewell » Thu Apr 13, 2017 3:55 pm

i updated the Ghostbusters script here to open your 2 samples :D
viewtopic.php?p=125821#p125821

i can't really help with the modding/repacking stuff since that is not my area.

Post Reply