Naming of Stamps (Including little tutorial how to do it manually, for those interested)

  • THE5
    19th Aug 2010 Member 0 Permalink
    I think I understand the way TPT saves it's stamps.
    The file called "stamps.def" tells the app what stamps exist. The individual stamps seem to be devided by the '00' at the end after that the next stamp starts. Then TPT looks up into the stamps dir and searches for these files.

    For example:
    I got a stamp called "4c6d2dd100.stm" and in the "stamps.def" it says "4c6d2dd100" at some point.
    Now I tried renaming one of my stamps to "test00.stm" and also changed the same part in the "stamps.def" to be "test00".
    Supprisingly it realy WORKED! The only part important seems the '00' at the end of the filename.

    Now the question comes up, why not giving us the possibility to name the stamps in a more comftable way, right inside TPT?
    (Or let us save our crations offline, on our local disc... but thats another point to be discussed.)

    Is this sort of feature possiblie or would it require a complete overhaul?
  • um3k
    19th Aug 2010 Member 1 Permalink
    In fact, I think we should go a step further, and put a system into place for organizing stamps. It could include such things as naming, tagging/sorting, and deleting/protecting from deletion. Another cool feature might be to have a box on the main screen with your most commonly used stamps, which can be turned on and off.
  • ssc4k
    19th Aug 2010 Member 0 Permalink
    I agree, it shouldn't be that hard to code either (gui like when you name a creation would be all that is needed which wuld come up hen a stamp was amde)

    on&off-topic: I believe the stamps are compressed (considering their size and that they are not noticeable patterns if i save a large stamp of just the same thing) so how can I go about creating a stamp TPT can read without making it in TPT (if I wanted to manually edit a stamp)?
  • THE5
    19th Aug 2010 Member 0 Permalink
    ssc4k:
    on&off-topic: I believe the stamps are compressed (considering their size and that they are not noticeable patterns if i save a large stamp of just the same thing) so how can I go about creating a stamp TPT can read without making it in TPT (if I wanted to manually edit a stamp)?

    From what I can tell it simply writes a value for the material into every pixel, Like this.

    FuC ( = Starts the Code
    xxooee$ = every character represents one material at the given position so (Pixel at with 1 heigh 1 = Material 'x')
    xxoooo$ = ... (pixel 2/1 and pixel 2/2 = Material 'x') (pixel 2/3 to pixel 2/6 = Material 'o')
    xxoooo$ = ... '$' means end of the Line of Pixels
    xxooee$ =
    )EOF = End of File Flag

    Though it's unknown what Material is represented by what character (or Hexadecimal values... dunno).
    Probably it's some HEX since you cant see any patterns in it.