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

Paper Mario: TTYD sprite help

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
PhillipGamer3264
advanced
Posts: 45
Joined: Sun Aug 14, 2016 4:32 am
Has thanked: 1 time
Been thanked: 2 times

Paper Mario: TTYD sprite help

Post by PhillipGamer3264 »

This file is called ''a_mario'' and ''a_mario-''

https://www.mediafire.com/?kx6783p44qvj3d6

can we extract this sprite plz?
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: Paper Mario: TTYD sprite help

Post by ikskoks »

Here is partially guessed file format of a_mario:

Code: Select all

big endian

//header
4 bytes - size of header
64 bytes - name + padding
64 bytes - name + padding
64 bytes - compilation date + padding

4 bytes - 1
4 bytes - 5
4 bytes - 5
224 bytes - ?


//animation entries (168 bytes)
64 bytes - animation name
104 bytes - ?

...

//table of filepaths (starting from 18764, 150 files)
number of files *
{
	64 bytes - filepath + padding
}

...

//group entries (starting from 38628, 59 entries)
64 bytes - name + padding
24 bytes - ?
number of entries *
{
	60 bytes - name + padding
	4 bytes - graphics offset
}


//graphics data (graphics data starts from offset 42492, right after header)
number of group entries *
{
	x bytes - file data
}




It's not any help with extraction, but it may help someone with writing tool for that files.
User avatar
PhillipGamer3264
advanced
Posts: 45
Joined: Sun Aug 14, 2016 4:32 am
Has thanked: 1 time
Been thanked: 2 times

Re: Paper Mario: TTYD sprite help

Post by PhillipGamer3264 »

ikskoks wrote:Here is partially guessed file format of a_mario:

Code: Select all

big endian

//header
4 bytes - size of header
64 bytes - name + padding
64 bytes - name + padding
64 bytes - compilation date + padding

4 bytes - 1
4 bytes - 5
4 bytes - 5
224 bytes - ?


//animation entries (168 bytes)
64 bytes - animation name
104 bytes - ?

...

//table of filepaths (starting from 18764, 150 files)
number of files *
{
	64 bytes - filepath + padding
}

...

//group entries (starting from 38628, 59 entries)
64 bytes - name + padding
24 bytes - ?
number of entries *
{
	60 bytes - name + padding
	4 bytes - graphics offset
}


//graphics data (graphics data starts from offset 42492, right after header)
number of group entries *
{
	x bytes - file data
}




It's not any help with extraction, but it may help someone with writing tool for that files.
i extract this file to rename this .tpl file to .tga file but, Open with Paint.NET to extract .PNG Files
Post Reply