• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to Make Custom Clothes [SWF]

Status
Not open for further replies.
Thanks for the memories!
Loyal Member
Joined
May 21, 2010
Messages
1,270
Reaction score
540
Back in Black BIOTCHES!

How to Make Custom Clothes


Hi everyone... I am back out of my semi-retirement with a great release. I just want to clearly state I am back. Back to the release, today I am going to teach you guys how to make custom clothing. Custom clothing was a long endeavor of mine ever since I started SWF developing. Today, I put my mind to it and knocked out a good hour of pure developments. I figured it out and am going to release to you. Enjoy.



1) Download this pack . Download a SWF Decompiler. Sorry the Hx D program doesnt work, you can download it


2) I now want you to goto your SWF directory and find a piece of clothing you want to edit off of. Lets say you want to make a tshirt with your hotel logo on it, you would go find the basic Tshirt swf, copy it and paste it to your desktop.

3) Open the selected SWF in your SWF decompiler and select all the images and export them to the desktop.

4) Edit each image to your liking, then goto your swf decompiler and replace the original images with your edited images. Then save.

5) Now time to rename the SWF, we MUST use the Char technique here. If the SWF's name is trousers_F_skirt then rename the end part with something that uses the same amount of valid characters. trousers_F_skirt can be trousers_F_flirt.

6) Drag the new SWF over the SWF compile program included in the pack. Then drag it over the SWF decompile program included in the pack. Then open HexDex.

7) Then in HexDex open the SWF. Then hit replace and type in the original swf name in find and the edited swf name in replace. Hit okay, then save and close.

8) Now I want you to open up two different files, open figuredata.xml and figuremap.xml.

9) I want you to now go into figuremap and type in the ending of the original name of the base SWF you are editing. Lets say I am using the swf trousers_U_camo then I am going to search camo until I come to the SWF that is the SWF i am using.

10) I want you now to look at that whole line of code. If I was using trousers_U_camo I would use this line of code:

Code:
<lib id="trousers_U_camo" revision="26096"> 
    <part id="2037" type="lg"/> 
  </lib>


11) Open HexDex again and open the SWF file you edited before. Now, hit replace and for the find type in the partid. For the trousers_U_camo the part id is 2037. So in find I am going to type in 2037 and in replace I will type in something unique from all other clothings part id. Lets say 6666. Hit ok and it will edit it. Save it.

12) Remember this piece of code in your figuremap.xml:
Code:
<lib id="trousers_U_camo" revision="26096"> 
    <part id="2037" type="lg"/> 
  </lib>[
we need to edit it. Now copy that original code and open a new text file and paste it. We must disect the code now. You changed your part id to something unique like 6666 so this is what you are going to do. Edit the code so it looks like this. Remember to change the SWF name to the edited one to.:
Code:
<lib id="trousers_U_famo" revision="6666"> 
    <part id="6666" type="lg"/> 
  </lib>
.

13) Open your figuremap.xml and find the original code, now next to the </lib> paste the new code so now it will look like this
Code:
<lib id="trousers_U_famo" revision="6666">   <part id="666" type="lg"/> </lib>
Save figuremap.xml and close it

14) Open up figuredata.xml and search the original part id. For the Camo we are gonna search 2037. Now once you find it look at that whole line of code. It should look like this.
Code:
<set id="3023" gender="U" club="2" colorable="1" selectable="1"><part id="2037" type="lg" colorable="1" index="0" colorindex="1"/></set>
we need to edit that. Change the set id to 6666, the part id to 6666. So it looks like this.
Code:
<set id="6666" gender="U" club="2" colorable="1" selectable="1"><part id="6666" type="lg" colorable="1" index="0" colorindex="1"/></set>
Paste it next to the original code, just like in step 13, so it fits the pattern of the whole file and save. Close it now.

15) Open up PHPMyAdmin and goto the table clothing. Hit insert and leave the ID blank, for PID put the new part id so 6666 and the class 0. Insert.

16) Reopen figuremap.xml

17) Now, scroll to the bottom where you a long list of the same code. The code should look similar to this:
Code:
<part id="17" type="ha"/>

18) If you are making a custom shirt your going to find the list named
Code:
<lib id="hh_human_shirt" revision="33155">
and the list named
Code:
<lib id="hh_human_50_shirt" revision="25687">.
If your making a custom thing that belongs on the face, find anything that relates to a face in the list form like the 2 above and do the same exact steps as below.

19) Now one of the codes in that list looks like this:
Code:
<part id="1" type="ch"/>
scroll to the bottom of the list and after the last code that looks like this we need to add our own. To do construct your own you will need 2 things, your Part ID and your type. The Part ID is what we have been working with, 6666 and the type can vary. In our example our type is LG so our code will look like this:
Code:
<part id="6666" type="lg"/>
. Now you may ask, what if the clothing we are editing has multiple types and the code looks like this:
Code:
<lib id="Shirt_M_Tshirt_Plain" revision="26635">
    <part id="2050" type="ch"/>
    <part id="2050" type="ls"/>
    <part id="2050" type="rs"/>
  </lib>
Then you make 3 new codes and add them to your list so now your 3 new codes are:
Code:
<part id="6666" type="ch"/>
    <part id="6666" type="ls"/>
    <part id="6666" type="rs"/>

20) Save your new figuremap.xml

21) Move the edited SWF into your SWF Directory.

22) Clear cache and enjoy your new Habbo Custom Clothing.




Proof it works:
Mithex - How to Make Custom Clothes [SWF] - RaGEZONE Forums




Like If You Like It​
Making history bitches <3
 
Last edited:
Learning C# - Developer
Loyal Member
Joined
Nov 8, 2010
Messages
669
Reaction score
66
:l *dies because of mithex releasing this*
This will be a making in the books! 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000/10
 
Last edited:
Thanks for the memories!
Loyal Member
Joined
May 21, 2010
Messages
1,270
Reaction score
540
:l *dies because of mithex releasing this*
This will be a making in the books! 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000/10

Haha thanks :D

---------- Post added at 10:57 PM ---------- Previous post was at 09:36 PM ----------

Someone release custom clothes!!!!!!!!!!!!!!!!!1
 
Learning C# - Developer
Loyal Member
Joined
Nov 8, 2010
Messages
669
Reaction score
66
I might. Im good with swfs too Dontcha know?
 
Learning C# - Developer
Loyal Member
Joined
Nov 8, 2010
Messages
669
Reaction score
66
;D made a duckie t shirt!
 
Web Developer
Loyal Member
Joined
Nov 5, 2009
Messages
1,229
Reaction score
309
Nice Release Mithex, Very good find!!!
 
Divine Celestial
Loyal Member
Joined
Jun 26, 2011
Messages
819
Reaction score
338
It's good that someone didn't rip a tut and made it noob-friendly.... Well not the BIG noobs.
 
Thanks for a great time!
Joined
Jun 10, 2009
Messages
681
Reaction score
122
tehee i was looking for this 1 day ago xD, awesome :) , i hope some creative users will gain ideas >:D
 
Status
Not open for further replies.
Back
Top