How to make HDSkins/Buildings and all tml files

TML and sound file assistance

How to make HDSkins/Buildings and all tml files

Unread postby doudda » Fri, 5th Jul 2013 9:55

Hello :grin:

The first think that you need to know is how to rewrite a tml (that you can find here for example : vi...hp?f=62&t=8214)

So after that here is the skins headers that you need :pleased: :

05 00 00 00 80 00 00 04 01 00 00 00 00 00 0c 42 06 00 00 20 00 20 ff ff 00 00 43 00 ----> skin header 8192x8192

05 00 00 00 80 00 00 01 01 00 00 00 00 00 0c 42 06 00 00 10 00 10 ff ff 00 00 43 00 ----> skin header 4096x4096

05 00 00 00 80 00 51 00 01 00 00 00 00 00 0c 42 06 00 00 09 00 09 ff ff 00 00 43 00 ----> skin header 2304x2304

05 00 00 00 80 00 40 00 01 00 00 00 00 00 0c 42 06 00 00 08 00 08 ff ff 00 00 43 00 ----> skin header 2048x2048


05 00 00 00 80 00 31 00 01 00 00 00 00 00 0c 42 06 00 00 07 00 07 ff ff 00 00 43 00 ----> skin header 1792x1792

05 00 00 00 80 00 24 00 01 00 00 00 00 00 0c 42 06 00 00 06 00 06 ff ff 00 00 43 00 ----> skin header 1536x1536

05 00 00 00 80 00 19 00 01 00 00 00 00 00 0c 42 06 00 00 05 00 05 ff ff 00 00 43 00 -----> skin header 1280x1280

05 00 00 00 80 00 10 00 01 00 00 00 00 00 0c 42 06 00 00 04 00 04 ff ff 00 00 43 00 ----> skin header 1024x1024

05 00 00 00 80 00 04 00 01 00 00 00 00 00 0c 42 06 00 00 02 00 02 ff ff 00 00 43 00 ----> skin header 512x512

05 00 00 00 80 00 01 00 01 00 00 00 00 00 0c 42 06 00 00 01 00 01 ff ff 00 00 43 00 ----> skin header 256x256

and as for the stuff like buildings/fences/particules and such you just need to do the same things but you need to turn that number --> 02 (in some cases it's 00) who is actually after the number 42 into 06 (06 refere to a dds file) and with keeping the same code header structure, the same goes for the others tml files (like misc.tml, particle.tml ...).

To make your own custom resolution :

I firstly (started with the 1024x1024 resolution) discovered this by rising the number 04 and testing ..until i was at the number 10 and that at this number it worked "damn i was so happy but i was even so more happy when i rised the thing to 2048x2048 " , the last numbers (04 00 04) before ff ff are actually easy to find, just use a décimal (1024)to a hexadécimal(400-->04) converter

After 3-4 weeks of my find i discovered how to find that number not by rising it and testing one by one (boring) .. (i'm speaking about that number that was 04 and that i have changed into 10 to get the whole thing working), so the thing is to look at your .dds file with the hex editor and see here (in the two cases in green) : http://img15.hostingpics.net/pics/732723awesome.png

you will then find the correct values :grin:
User avatar
doudda
Park Visitor
Park Visitor
 
Posts: 12
Joined: Sun, 19th Aug 2012 11:10
Gender: Male
User Title: Member

Re: How to make HDSkins/Buildings and all tml files

Unread postby MastaFoo69 » Tue, 3rd Sep 2013 21:02

this is really really awesome, however it should be noted that the "05 00 00 00 " in the beginning of each size header is not part of the header. The header does not start until the "80"
User avatar
MastaFoo69
G.E.P. member
G.E.P. member
 
Posts: 1246
Joined: Thu, 24th May 2007 14:24
Location: Cyberspace.
Gender: Male
User Title: The 1337 developer of tools


Return to Skinning and sounds

Who is online

Users browsing this forum: No registered users and 3 guests

Help keep this forum ad-free - please Donate


This free, ad-free forum is hosted by ForumLaunch