Tech Png's

Discussion in 'Open' started by Gayvid`, Jul 7, 2018.

  1. Gayvid`

    Gayvid` Yes, I'm a well-known member

    How does TT store an entire tech in a PNG? Seriously, that makes no sense! It's a picture!
  2. layer1

    layer1 Well-Known Member

    You can save metadata in PNGs and snapshots are a nice implementation of doing that.
    Lord Zarnox likes this.
  3. WhitePaw2002

    WhitePaw2002 Modding Husky

    Techs are saved in the color of PNGs.
    It's a type of encryption that I don't remember the name of, and is hard to see.
    HAL and Lord Zarnox like this.
  4. ZeroGravitas

    ZeroGravitas Breaker of Games


    Probably. Although I don't remember hearing that from the devs, directly, and I don't know enough about PNGs to be sure they can't just store enough info for a tech in their textual metadata. (Or beyond the readable image data range of the file, as this page talks about as an option.)
  5. harpo99999

    harpo99999 ah kick till it starts

    I DID hear of it from the devs during the KICKSTARTER. and from what dim distant details that I have a vague memory of reading, the encoding uses the least significant bit of the colour info in the png, which is why the editing of the png destroys the tech data
    HAL and ZeroGravitas like this.
  6. Lost Ninja

    Lost Ninja Well-Known Member

    Having looked at the metadata of a snapshot it doesn't appear to be stored there... :(

    That would have been too easy though. :D
    ZeroGravitas likes this.
  7. HAL

    HAL Well-Known Member

    I think, Tech info is written in the RGB least significant bit(LSB).

    sample1 (Snapshot)
    7(W)×7(D)×6(H) Blocks
    GSO Cosmonaut SAP Cab×1 + Venture Standard Block×294

    sample2 (Snapshot)
    7(W)×7(D)×12(H) Blocks
    GSO Cosmonaut SAP Cab×1 + Venture Standard Block×588
    Double sample1 volume.

    I accentuated the LSB.

    There is a noise on the bottom of the picture.

    The noise increase about 2 times.
    WhitePaw2002, ZeroGravitas and layer1 like this.
  8. ZeroGravitas

    ZeroGravitas Breaker of Games

    How did you do that? Just a Photoshop manipulation?

    I wonder if you could manage to make a snapshot look totally black (or white), by glitching the camera inside something, for example, so you could literally just see the data pattern on the Alpha channel...
  9. Gayvid`

    Gayvid` Yes, I'm a well-known member

    That is the most efficient way of storing data that i know of. Yet the PNG's still don't take up much space. It probably copies the binary code from your tech and your CPU converts it to an image like that, atleast that is my theory.
  10. HAL

    HAL Well-Known Member

    I used a "青い空を見上げればいつもそこに白い猫".
    It is a general-purpose file analyzer.

    If you use it, you'll extract just the LSB from the PNG and make it output a image.(of course, you can analyze Alpha channel)
    However, it is not English support:(
    ZeroGravitas likes this.

Share This Page