Hacking How to work with a Headerless TIM file?

PSXCraver

Active Member
OP
Newcomer
Joined
Nov 5, 2021
Messages
32
Trophies
0
Age
37
XP
400
Country
Canada
Ok, so I have a TIM that has no Header with it (No CLUT).
This is for PS1.

My question is how do you generate palettes from the image that contains all the correct colors, so I can then use it on the Headerless TIM to edit that one correctly?

Thanks
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom
Not sure what counts as headerless but no CLUT (colour look up table, think palette on most other/2d systems) is more a different matter from where I sit as that is more fundamental to the experience than some header that was maybe not even used by the game to do something useful and more there to appease the neurosis of various devs that were told to always have such things in school.

Afraid I have no specific PS1/TIM knowledge on how this gets handled. Generally if a tool expects something like that I might fake having a header (can be as simple as padding out the start to the relevant size, though might have to be somewhat legit too even if copied from another "valid" file). If you have to make a CLUT then first see if you can find it elsewhere in the files (it might be a separate thing, sometimes devs do this to simplify reads of things rather than having to fetch multiple files multiple times) but you might also see what goes as far as ripping it from memory if you can get the relevant file loaded up within the game*

*might also be worth trying overwriting something that appears near the start of the game/in the title cards and seeing what happens there in case the CLUT is just somewhere else in the file.
 

PSXCraver

Active Member
OP
Newcomer
Joined
Nov 5, 2021
Messages
32
Trophies
0
Age
37
XP
400
Country
Canada
Thank you for the response!

I ment to post sooner, but kinda got to occupied with chores.

That's some good advice you given me, I will keep at it since I know I'm close :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Looks like Link's Awakening was metaphorical.