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
405
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,404
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
405
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.
  • Sicklyboy @ Sicklyboy:
    @BigOnYa, I'll rip a bag off my Volcano to that, brother
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
  • K3Nv2 @ K3Nv2:
    All I gotta do is not spend $10 in the next 5 days and I'll break even this month lol
  • K3Nv2 @ K3Nv2:
    @BigOnYa, tell your wife not to forget her wallet
    K3Nv2 @ K3Nv2: @BigOnYa, tell your wife not to forget her wallet