XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
mariokart64n
ultra-veteran
ultra-veteran
Posts: 567
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 34 times
Been thanked: 200 times

XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Post by mariokart64n » Fri Nov 17, 2006 2:07 pm

:? Anybody wants to code an extraction tool for these games. The format is "*.TPR" Holds model and texture data.

I had 1 coder to make a quick DDS image extractor for the TPR's for DOA4 (Dead or Alive 4), but the DSS images are swizzled and have to be 16byte swapped first, to view them. Here is the DOA4 DDS extractor for doa4 by akakios: Download: TPR.rar (for some reason this app only extracts to the root of D:\) Also though the headers between DOAX2's and DOA4's Tpr files look the same to me, the TPR dds extractor isn't compatible with DOAX2


Here's an example after a 16byte swap, the DDS is swizzled and hard to explain how to, unswizzle. but another coder did figure it out, but has since disappear along with his Texture unswizzler and model extractor :(
Image Image

the swizzle method is like every group of 4 pixels is exchanged
>example each box is a pixel

[1][2]
[3][4]

to unswizzle you cross swap

[1][3]
[2][4]

now consider these 4 pixels now a group, you do this for all groups of four. then start swapping the groups as you did the 4 pixels

yah i know its confusing >_< i had to unswizzle some by hand :oops: i can't code

Anyway please, if your interested I'm looking for a program to unswizzle and extract. the swizzle method is the same for both doa4 and doax2. i've included samples from both DOA4, and DOAX2: (ignor the cat file, its no longer believed to hold any importance)
DOA4_kasumiC1.rar
doax2_samps.rar

mariokart64n
ultra-veteran
ultra-veteran
Posts: 567
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 34 times
Been thanked: 200 times

Post by mariokart64n » Sun Dec 10, 2006 2:33 am

sorry to bump this

has anyone taken a look into this, haven't had any luck with conventional unswizzle methods, i'm wondering if this is partially due to maybe compression or some other form of encryption, thats sorta scrambling the file.

not that i havent already unswizzled a few, like i said i was able to unswizzle a few, but the way its done is very unconventional, wondering if anyone has an idea on another take on this.

mariokart64n
ultra-veteran
ultra-veteran
Posts: 567
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 34 times
Been thanked: 200 times

Post by mariokart64n » Tue Apr 17, 2007 2:33 am

:mrgreen: haha sorry BUMP'd again

aww, ??someone

i know how to unswizzle these i just need someone smart to code a easy texture extract/injection tool for the TPR files which swizzles/unswizzles on the fly.

if your interested plz let me, know ;)
also to sweeted the pot, i've successful made a patch, which another person has placed on there modded xbox, and it has proven to work with injected textures. so codding such an app would not go to waste.
Image

redman
advanced
Posts: 70
Joined: Tue Jan 12, 2010 2:06 pm
Has thanked: 20 times
Been thanked: 4 times

Re: XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Post by redman » Thu Apr 15, 2010 7:52 pm

any progress in editing doa textures?? i saw a nude hack for doax2 and christie has a tattoo on her back.

can someone tell me which programm i need.

User avatar
surix
beginner
Posts: 28
Joined: Sun Jun 06, 2010 4:17 am
Has thanked: 1 time
Been thanked: 6 times

Re: XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Post by surix » Thu Jun 10, 2010 8:15 pm

I coded a tool for doa4 texture unswizzling and reswizzling and injection a while back, still have the source if you want it. Its vb6 though! Still haven't gotten vb6 apps to work on my new windows7 machine.

User avatar
chrrox
Moderator
Posts: 2601
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1358 times

Re: XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Post by chrrox » Thu Jun 10, 2010 8:29 pm

yes please post it it will be good to learn from.

User avatar
surix
beginner
Posts: 28
Joined: Sun Jun 06, 2010 4:17 am
Has thanked: 1 time
Been thanked: 6 times

Re: XBOX360 -> DOA4 & DOAX2 TPR Format (Texture Extractio

Post by surix » Fri Jun 11, 2010 7:57 am

attached rar with source
You do not have the required permissions to view the files attached to this post.

Post Reply