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

Search found 52 matches

by aspadm
Wed Mar 01, 2023 3:40 pm
Forum: Graphic file formats
Topic: PNG and Atlas cutter script? Legend of the Phoenix
Replies: 7
Views: 693

Re: PNG and Atlas cutter script? Legend of the Phoenix

You almost there. All that you need is to insert missing "python":

Code: Select all

python C:\Users\????\Desktop\002\LotPcutter.py C:\Users\????\Desktop\002\3331002_tex.json
At least it must provide readable error.
by aspadm
Tue Feb 28, 2023 11:39 pm
Forum: Graphic file formats
Topic: PNG and Atlas cutter script? Legend of the Phoenix
Replies: 7
Views: 693

Re: PNG and Atlas cutter script? Legend of the Phoenix

Just save script as .py file and run in commandline or powershell like this:

Code: Select all

python script.py example.json
Or

Code: Select all

python script.py folder_with_jsons
You can also pass an output directory like this:

Code: Select all

python script.py json_or_dir output_dir
Hope this helps!
by aspadm
Tue Feb 28, 2023 9:11 pm
Forum: Graphic file formats
Topic: PNG and Atlas cutter script? Legend of the Phoenix
Replies: 7
Views: 693

Re: PNG and Atlas cutter script? Legend of the Phoenix

Here is a little Python 3.6+ script that do the work you wanted. Please note that you need an Python interpreter and Pillow library installed (pip install pillow). Hope that helps! from PIL import Image from json import load as json_load from pathlib import Path from sys import argv, exit def split_...
by aspadm
Thu Jul 15, 2021 9:50 pm
Forum: Game Archive
Topic: Deus EX: Mankind Divided .archive
Replies: 151
Views: 74887

Re: Deus EX: Mankind Divided .archive

I've already gotten the huge collection of .dat (and other) files, now what? There is not a big amount of GUI tools, so I can recommend DEMD DB program (latest build: https://yadi.sk/d/qUxdTmJa3MxHEs). It allows to preview and convert textures, most of models formats, FSB (audio) files. If you used...
by aspadm
Thu Apr 22, 2021 10:21 pm
Forum: Graphic file formats
Topic: Digimon Encounters Encrypted(?) PNG textures
Replies: 2
Views: 3468

Re: Digimon Encounters Encrypted(?) PNG textures

Files are encrypted with XXTEA algorithm which is commonly used in cocos2d games. First two bytes is XT signature, which must be skipped before decryption. Example of image decoding (Python3 + xxtea library): import xxtea if __name__ == "__main__": with open("chr755a01.png", &quo...
by aspadm
Thu Apr 15, 2021 9:33 pm
Forum: Graphic file formats
Topic: Miracle Nikki - .ktx file doesn't open
Replies: 12
Views: 3422

Re: Miracle Nikki - .ktx file doesn't open

Well, old script or LN_decode still works for files that use old key. For the files encrypted with new keys you must change script AND aquire 26*26-1 = 675 new keys. After that you must use right key that chosed by version_a/b fields. Sorry, but I can't say more as it will against forum rules (rule ...
by aspadm
Thu Apr 01, 2021 10:29 am
Forum: Game Archive
Topic: Deus EX: Mankind Divided .archive
Replies: 151
Views: 74887

Re: Deus EX: Mankind Divided .archive

AzothRaven wrote: Thu Apr 01, 2021 10:25 am I think that the NameMap.txt. is not getting created but I have no idea why or how to fix it.
Hi!
It's an old problem in my program. It's a false positive message, i.e. in reality unpacking completed.
You must just open created NameMap.txt (Open unpacked DB).
by aspadm
Tue Mar 23, 2021 12:23 pm
Forum: Graphic file formats
Topic: Miracle Nikki - .ktx file doesn't open
Replies: 12
Views: 3422

Re: Nikki Games .ktx file help

I hope someone can help me method to decode this ktx file. Attachments include the ktx file and the original png file. Well, this is the encrypted textures. You can see characters "dr***png" at the end of files. They have known file structure, but sharing the decryption keys is prohibited.
by aspadm
Sun Mar 14, 2021 7:09 pm
Forum: Graphic file formats
Topic: Netease AS head .dat file
Replies: 3
Views: 1756

Re: Netease AS head .dat file

No, this looks like raw RGBA pixels of 16x16 tiles with different start offset.
Maybe this is level map file or just packet tileset.
by aspadm
Mon Mar 08, 2021 8:03 pm
Forum: Graphic file formats
Topic: Miracle Nikki - .ktx file doesn't open
Replies: 12
Views: 3422

Re: Miracle Nikki - .ktx file doesn't open

From which game version did you take sample .ktx file?
"png" signature also was in .ktx files, it's just flag for chosing right encryption method.
by aspadm
Sun Mar 07, 2021 3:03 pm
Forum: Graphic file formats
Topic: FF7 International Artwork
Replies: 2
Views: 1307

Re: FF7 International Artwork

So you have an disc image of PSX version in .bin+.cue file format, right?
First of all, you can convert it to .iso and mount using windows explorer.
After that you can find archives and use existing tools on them.
by aspadm
Sat Mar 06, 2021 3:58 pm
Forum: Graphic file formats
Topic: Miracle Nikki - .ktx file doesn't open
Replies: 12
Views: 3422

Re: .ktx file doesn't open

@aspadm, can you link to some documentation or at least some discussion regarding this format? Ow, looks like they changed format. Previous was like this: byte data[len-8]; // len = file size, must be a multiple of 8 char sign[2]; // "dr" unsigned char version_a; unsigned char version_b; ...
by aspadm
Sat Mar 06, 2021 3:27 pm
Forum: Graphic file formats
Topic: Miracle Nikki - .ktx file doesn't open
Replies: 12
Views: 3422

Re: .ktx file doesn't open

Lucy wrote: Fri Mar 05, 2021 4:11 pm I have taken textures/sprites from a mobile game (Miracle Nikki) but I can't open them.
This is custom made file format with blowfish encryption that was reverse engineered several times.
Latest version was deleted as tencent started the pursuit of enthusiasts.
by aspadm
Mon Mar 01, 2021 9:45 pm
Forum: Graphic file formats
Topic: Parsing .OBJ File to Display PNG Image (Digimon Battle Online)
Replies: 1
Views: 997

Re: Parsing .OBJ File to Display PNG Image (Digimon Battle Online)

Oh, well, your friend just posted this on several forums. In any case, looks like game has two formats: for tiles and objects, which are the parts of game level. Provided example file is object file. Object file structure (in the Kaitai Struct .ksy format): meta: id: obj file-extension: obj endian: ...
by aspadm
Wed Feb 24, 2021 8:30 pm
Forum: Graphic file formats
Topic: Blizzard Arcade Collection .sprite archives
Replies: 3
Views: 1679

Re: Blizzard Arcade Collection .sprite archives

This is custom format. I think that there must be a lot of variations inside. In your example file 4 images that looks like a cover of the "Rock N' Roll Racing" cartridge/disc. If you are familiar with Kaitai Struct and python, you can extract it using this format description: meta: id: im...