I made some progress with this kind of graphicfiles.
It looks like the format is quite similar to the standard texture-format of the GC/Wii. See http://hitmen.c02.at/files/yagcd/yagcd/ ... sec15.20.1
I tried to verify some values of the data and they matched but there are still some unknown values left. Here is what I found out by using the yagcd:
Offset Size Description
0x06 2byte Palette Offset - offset to Palette Data
0x08 2byte Width
0x0A 2byte Height
0x0C 1byte Imageformat - RGB565/RGBA8/CI4/CI4... see yagcd for more info
0x12 2byte Data Offset - offset to image Data
So there are images with and without a palette possible. I was not able to find the value that specifies the paletteformat since my version of the dolphin emulator does not show transparent images right and on newer version I dont get the buttons to work... Just from guessing I would say its 0x15.
This should be enough data to dump the images of the game
Some images: http://filebeam.com/cd883cf48bb793d9b05163d2f83b5fad
PS. Is there a tool that lets you specify the palette and imageformat in a way that its possible to view the WTMD files? It must have support for the vaious formats like RGB565/RGBA8/CI4/CI4...
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
[Wii] Arc Rise Fantasia - wtm-File (WTMD)
-
- veteran
- Posts: 94
- Joined: Sat Jun 20, 2009 1:47 pm
- Has thanked: 16 times
- Been thanked: 13 times
Re: [Wii] Arc Rise Fantasia - wtm-File (WTMD)
With my very limited coding experience I wrote a converter... BUT it just creates a TPL-header from the data of the WTMD-file Now its no problem to use one of the known tools to convert the TPL to png oder something else. However this is just a workaround and at this time it only works for RGBA8. Its a shame that I dont understand the sourcecode of the various tpl converter out there Basicly its just changing the offsets to get a TPLconverter working for WTMD files.
Some eyecandy
When I find some time I try to learn more about programming and maybe I get so far that I can code a real converter. If this will not happen at least the format is known now.
Some eyecandy
When I find some time I try to learn more about programming and maybe I get so far that I can code a real converter. If this will not happen at least the format is known now.
Re: [Wii] Arc Rise Fantasia - wtm-File (WTMD)
what a nice work, cheers!
and im work hard with my .brfnt file decode.
and im work hard with my .brfnt file decode.