Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Superstar (old mobile game) - Compressed PNG

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
barquetin16
beginner
Posts: 20
Joined: Mon Mar 20, 2017 5:16 pm
Has thanked: 8 times
Been thanked: 1 time

Superstar (old mobile game) - Compressed PNG

Post by barquetin16 »

Compressed PNG file it looks like it upside down with compress data, it is from an old mobile game no longer in service.
I have been trying to figure it out but nothing, i really hope you guys can help me.

Files:https://drive.google.com/file/d/1i9Yk98 ... sp=sharing
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: Compressed PNG

Post by ikskoks »

What game is it from?

This is just regular PNG file, but saved backwards xD
See the format here http://wiki.xentax.com/index.php/PNG_Image


You can convert it to PNG by just reading data, reversing it and saving to output file with PNG extension.
(or just reading/saving data backwards...)

Here is an example Python script to do this:

Code: Select all

import struct


def main():
    print("Starting main...")
    bytes_file = open("C:\\Users\\username\\Desktop\\background\\3.i.bytes", "rb")
    out_file = open("C:\\Users\\username\\Desktop\\background\\3.i.png", "wb")

    file_data = []
    original_data = bytes_file.read()

    for raw_byte in original_data:
        file_data.append(raw_byte)

    file_data.reverse()

    for list_byte in file_data:
        raw_byte = struct.pack("B", list_byte)
        out_file.write(raw_byte)

    bytes_file.close()
    out_file.close()
    print("PNG file saved successfully!")


if __name__ == '__main__':
    main()
Rabatini
veteran
Posts: 97
Joined: Tue Nov 22, 2016 1:13 pm
Has thanked: 1 time
Been thanked: 35 times

Re: Compressed PNG

Post by Rabatini »

I made a simple script tool in python.

I converted it to executable for easier handling.

just click on the program and choose the file you want to reverse png.

25mb i know, sorry, its the conversor.
But the tool works!

https://mega.nz/file/yAZSQZQZ#oHuo3ehyM ... PE62BBMv8E
User avatar
barquetin16
beginner
Posts: 20
Joined: Mon Mar 20, 2017 5:16 pm
Has thanked: 8 times
Been thanked: 1 time

Re: Compressed PNG

Post by barquetin16 »

Thanks for the replies both ways works thanks, the game name i belive it was superstar it was a music kinda game
Post Reply