Converting Xbox TMdl

Technical discussion of development of third-party apps.
User avatar
StingRay68
Hall of Fame
Posts: 1073
Joined: Mon Jan 09, 2012 7:23 pm

Re: Converting Xbox TMdl

Postby StingRay68 » Sat Apr 09, 2016 11:42 am

I looked at the forums posts that Minotauri linked, not all of the details were included in the code examples, so that's not going to help us.
I tried the texture viewer thing and got similar results as BIT did.

BIT - can you post another tattoo file? Both the xbox and the pc equivalent, but something that the tattoo is bigger? Something that the tattoo uses more of the available 64x32 pixels.

What is happening is that the xbox tattoo image is being broken down into a grid like pattern. 64x32 is being broken down into 64 pieces that are 8x4 each and then each one of those is being re-encoded in a 2x2 pattern but linearly.

1234
5678
Would end up encoded as 12563478

Re: Converting Xbox TMdl

Sponsor

Sponsor
 

BelieverInTeal
Hall of Fame
Posts: 1337
Joined: Fri Jul 15, 2011 6:58 pm

Re: Converting Xbox TMdl

Postby BelieverInTeal » Sat Apr 09, 2016 2:00 pm

Try these.
Attachments
00049-TATTOOS.DAT.Xbox.copy001
(3.53 KiB) Downloaded 118 times
00049-TATTOOS.dat.PC.copy001
(1.18 KiB) Downloaded 130 times
Image

User avatar
StingRay68
Hall of Fame
Posts: 1073
Joined: Mon Jan 09, 2012 7:23 pm

Re: Converting Xbox TMdl

Postby StingRay68 » Sun Apr 10, 2016 1:18 pm

Ok, i now have a valid pattern for the 64x32 graphics. Confirmed it with your latest example. It may be possible to apply that pattern to other sized graphics, but I havent messed with anything else.
So eventually it may be possible to view/extract/edit the xbox MMAP graphics, like we are already able to for pc

User avatar
minotauri
All-Pro
Posts: 177
Joined: Mon Jan 04, 2016 3:17 pm
Contact:

Re: Converting Xbox TMdl

Postby minotauri » Sun Apr 10, 2016 1:25 pm

Is that supposed to be a pig?

I didn't have luck on the fan wall either. I also wasnt able to get a good graphic using Texture Explorer as well. The swizzle algorithm is definitely diff between PSP/PS2/Xbox. I think I got it kind of close with the PSP algorithm.. but I'm not a developer so I don't really know what I'm talking about either. :)
Attachments
Screen Shot 2016-04-10 at 10.23.24 AM.png
Screen Shot 2016-04-10 at 10.23.24 AM.png (37.39 KiB) Viewed 2837 times
Screen Shot 2016-04-10 at 10.20.02 AM.png
Screen Shot 2016-04-10 at 10.20.02 AM.png (38.75 KiB) Viewed 2837 times
I also go by Antdroid on other forums and places.

https://www.ncaanext.com - NCAA 06 NEXT Mod
https://discord.ncaanext.com - NCAA & Madden NEXT PS2 Discord

BelieverInTeal
Hall of Fame
Posts: 1337
Joined: Fri Jul 15, 2011 6:58 pm

Re: Converting Xbox TMdl

Postby BelieverInTeal » Sun Apr 10, 2016 2:48 pm

Want to try a bigger one? See if you can solve this one without the PC equivalent.
Attachments
00006-TATTOOS.DAT.File00006.copy001
(9.53 KiB) Downloaded 152 times
Image

User avatar
StingRay68
Hall of Fame
Posts: 1073
Joined: Mon Jan 09, 2012 7:23 pm

Re: Converting Xbox TMdl

Postby StingRay68 » Tue Apr 12, 2016 7:58 am

I haven't written anything yet to fix the graphic. Still need to verify how to get a pattern for different sizes.
Are there any 32x64 graphics that have a pc equivalent, or even a 64x64 ?

BelieverInTeal
Hall of Fame
Posts: 1337
Joined: Fri Jul 15, 2011 6:58 pm

Re: Converting Xbox TMdl

Postby BelieverInTeal » Tue Apr 12, 2016 9:50 pm

Ok. Grabbed these from uis_persona_images. Sometimes the xbox dat will have fewer files than a pc dat. Since I extract them based on their ID's, I can't guarantee that these files are 100% the same.

The good thing is that I found some 24x24 and 32x32 graphics in this dat. If you still want some of those, let me know.
Attachments
00072-UIS_LIB_PERSONA_DBIMAGES.dat.pc.copy001
(5.12 KiB) Downloaded 133 times
00072-uis_pdbi.dat.xbox.copy001
(5.53 KiB) Downloaded 132 times
Image

User avatar
StingRay68
Hall of Fame
Posts: 1073
Joined: Mon Jan 09, 2012 7:23 pm

Re: Converting Xbox TMdl

Postby StingRay68 » Wed Apr 13, 2016 7:48 am

If you would, upload the 24x24 and 32x32
The same pattern works fine for 64x64

BelieverInTeal
Hall of Fame
Posts: 1337
Joined: Fri Jul 15, 2011 6:58 pm

Re: Converting Xbox TMdl

Postby BelieverInTeal » Wed Apr 13, 2016 6:33 pm

Turns out the 24x24 is 32x32. Here are two 16x16's instead.
Attachments
00049-uis_pdbi.dat.PC.copy001
(1.78 KiB) Downloaded 136 times
00049-UIS_LIB_PERSONA_DBIMAGES.dat.PC.copy001
(1.37 KiB) Downloaded 135 times
Image

BelieverInTeal
Hall of Fame
Posts: 1337
Joined: Fri Jul 15, 2011 6:58 pm

Re: Converting Xbox TMdl

Postby BelieverInTeal » Wed Apr 13, 2016 6:34 pm

32x32.
Attachments
00058-uis_pdbi.dat.PC.copy001
(2.53 KiB) Downloaded 142 times
00058-UIS_LIB_PERSONA_DBIMAGES.dat.PC.copy001
(2.12 KiB) Downloaded 132 times
Image


Return to “Development”

Who is online

Users browsing this forum: No registered users and 7 guests