Users browsing this thread: 1 Guest(s)
Weird PNG files?
#10
(11-03-2016, 07:16 AM)Raccoon Sam Wrote: This is an interesting case. puggsoy is right, these are in fact real PNG files but under some obfuscation. For comparison's sake, here's the first 18 bytes of a valid PNG and the ones seen in the game's a11.png:

valid: 89 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52 00 00
apk's: 89 50 41 88 0D 0A 15 C5 00 00 0F C2 49 48 4B 9D 00 00
diffs: 00 00 0D 59 00 00 05 BB 00 00 0F B5 00 00 07 4B 00 00

It appears that the first two bytes are okay, then two bytes of strangeness. Then two bytes of okay again, and two bytes screwed up again, etc. etc.

I'm trying to figure something out.

EDIT: the smallest file is arrow_attack.png. Its bytes are as follows (confirmed valid bytes bolded)
00: 89 50 4E 36 0D 0A 1A 7B 00 00 00 7C 49 48 44 23
10: 00 00 00 60 00 00 00 60 01 03 00 71 00 01 A3 A4
20: B9 00 00 71 04 67 41 3C 41 00 00 C0 8F 0B FC 10
30: 05 00 00 71 01 73 52 36 42 00 AE BF 1C E9 00 71
40: 00 03 50 4C 54 45 FF 00 00 19 E2 09 37 00 00 00
50: 0C 49 44 41 54 08 D7 63 60 A0 1C 00 00 00 44 00
60: 01 06 C0 57 A2 00 00 00 00 00 00 00 41 00 00 08
70: 71

I dunno, it has a mangled IHDR chunk header, but the PLTE and IDAT chunk headers are okay. Could be just a coincidence.
I can't find a IEND terminator in any of the PNGs though.

tdlr: they're pngs but they've been run through some kind of an obfuscator.

EDIT2: assets/res/images/icon/story/r10004.PNG is still unobfuscated



SUPER EDIT:
okay, i found strings and files relating to Cocos2D framework in the files. Apparently, someone from China has made a PNG encrypter/decrypter that's compatible with Cocos2D to some extent.
So, I guess they're encrypted with that. Dunno the keys though.

Pretty extensive for such a nice game.
Is there any way to test it out?
[Image: 3oEduVuAsde9E8A716.gif][Image: ness_stamp_by_yukidarkfan.png]
3DS Friend Code: 4098-7082-7654
Add me sometime. I've got Smash, Mario Kart, and a few others!
Reply
Thanked by:


Messages In This Thread
Weird PNG files? - by supersmashball - 10-23-2016, 02:47 AM
RE: Weird PNG files? - by puggsoy - 10-23-2016, 07:11 AM
RE: Weird PNG files? - by Garamonde - 10-23-2016, 09:14 AM
RE: Weird PNG files? - by Skyla Doragono - 10-23-2016, 11:05 AM
RE: Weird PNG files? - by supersmashball - 10-23-2016, 12:41 PM
RE: Weird PNG files? - by Skyla Doragono - 10-23-2016, 06:15 PM
RE: Weird PNG files? - by supersmashball - 11-02-2016, 08:38 PM
RE: Weird PNG files? - by shadowman44 - 11-03-2016, 03:22 AM
RE: Weird PNG files? - by Raccoon Sam - 11-03-2016, 07:16 AM
RE: Weird PNG files? - by supersmashball - 11-09-2016, 05:16 PM
RE: Weird PNG files? - by supersmashball - 12-07-2016, 08:26 PM

Forum Jump: