Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

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

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

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

Post 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...
You do not have the required permissions to view the files attached to this post.
Polefish
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)

Post by Polefish »

Since there was some progress going on I bump this.
Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 26 times

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

Post by Vash »

Looks interesting. I hope you succeed in hack this format
Polefish
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)

Post 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.
yabari
ultra-n00b
Posts: 1
Joined: Sun May 01, 2011 12:54 am

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

Post by yabari »

what a nice work, cheers! :lol:
and im work hard with my .brfnt file decode.
Post Reply