Page 1 of 1

[Wii] Arc Rise Fantasia - wtm-File (WTMD)

Posted: Mon Aug 16, 2010 9:12 pm
by Polefish
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...

Re: [Wii] Arc Rise Fantasia - wtm-File (WTMD)

Posted: Sat Mar 26, 2011 12:13 pm
by Polefish
Since there was some progress going on I bump this.

Re: [Wii] Arc Rise Fantasia - wtm-File (WTMD)

Posted: Sun Mar 27, 2011 5:35 pm
by Vash
Looks interesting. I hope you succeed in hack this format

Re: [Wii] Arc Rise Fantasia - wtm-File (WTMD)

Posted: Mon Mar 28, 2011 8:34 pm
by Polefish
With my very limited coding experience I wrote a converter... BUT it just creates a TPL-header from the data of the WTMD-file :D 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 :)
ImageImage

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)

Posted: Sun May 01, 2011 1:02 am
by yabari
what a nice work, cheers! :lol:
and im work hard with my .brfnt file decode.