How to test addon cloth resources - DurtyFree/durty-cloth-tool GitHub Wiki
Warning
This information is most likely OUTDATED. Documentation has been reworked and is now available at https://docs.gta.clothing/getting-started/testing-addon-clothes
Testing your add-on cloth resources should always happen on a clean enviroment - This means that you should ideally not run any other mods or server resources other than what is needed to test your new clothes.
Depending on the type of add-on resource, this can be different.
All add-on clothing items will always appear at the end of your clothing scripts such as Menyoo or vMenu, if you are struggling to find them, please reach out to the respective script creators, as we cannot garauntee support for each and every script.
*Please keep in mind this article is a WIP and will be enhanced further (with screenshots etc) in the future.
-
Download and setup a clean AltV server. See the docs for more information regarding setting up a windows server.
-
Download AltV Better Clothing Menu and put it in your server / resources folder. Make sure to add the resource name to the server.cfg file
-
Move the Durty Cloth Tool generated add-on generated resources to your server/resources folder Add yourclothtoolresourcename (Should be named like your cloth collection, visible in the build window) to your server.cfg as a seperate line below resources: [ and before the enclosing ]
Your server.cfg resources configuration could look similar to this:
resources: [
altv-better-clothing,
newclothes1
newclothes2
newclothes3
]
The order in which you add your clothing to your server.cfg, is the order it will appear after the Grand Theft Auto Online clothing. We can of course rearrange our clothing resources to our own preference, such as newclothes2, 1 then 3.
-
Start your server and connect to it (localhost)
-
Once in your server, press
F6
to open the cloth menu and browse through your new added clothing.
They are always added to the end of the list.
DISCLAIMER - Please ensure you are subscribed to Cfxre's Cfx.re Element Club Argentum
The Element Club Argentum allows server owners to stream custom clothing within the FiveM platform. Alternatively, you can set your player slots to 10 in your txAdmin or server.cfg.
Please refer to their forums on how to do this as we cannot provide support for each and every platform.
- Download and setup a clean FiveM server
- Download vMenu and place it within your server/resources folder
*See detailed installation and permission steps here.
- Move the Durty Cloth Tool generated add-on resource to your server / resources folder
- Add
ensure yourclothtoolresourcename
(Should be named like your cloth collection, visible in the build window) to your server.cfg - Start your server and connect to it (localhost)
- Press
M
on your keyboard to open the menu and browse thru your new added clothes (They are always added to the end / last DLC clothes).
The order in which you add your clothing resources to your server.cfg, is the order it will appear in your clothing menu scriptss, after the original Grand Theft Auto Online clothing. For example;
ensure ClothPack4
ensure ClothPack2
ensure ClothPack1
ensure ClothPack3
In the example above, we would have 4 clothing packs, however in the order of 4, 2, 1, and 3. We can of course rearrange this to our own preference.
Please note that we can not provide support for other clothing menus.
ScripthookV is necessary for mods and scripts in Single Player mode. You can download it from this link:
http://www.dev-c.com/gtav/scripthookv/
-
Place the ScriptHookV.dll file in the game's main directory, where GTA5.exe is located.
-
To load .asi plugins, you’ll need to have an ASI Loader installed. You can either download it separately or use the latest version included with the package (dinput8.dll).
If you have an older version of the ASI Loader (dsound.dll) installed, make sure to delete it.
Download and install OpenIV (https://openiv.com/)
-
Open OpenIV ASI Manager and install ASI Loader & OpenIV.ASI
- This allows for loading additional singleplayer mods without editing the original game
- See the official tutorial by OpenIV regarding this here
-
There now should be a mods folder in your games directory. If not, it is highly recommended that you create one. Once you have done so, open this directory.
-
Move the by Durty Cloth Tool generated
dlc.rpf
file to this sub folder of your mods folder:mods/update/x64/dlcpacks
(Create it if its not there) -
In order to make the game load this new dlc.rpf file, we need to modify the games dlclist.xml, this can be done by searching for dlclist.xml using OpenIV and copying it to your mods folder:
mods/update/update.rpf/common/data
(Create it if its not there) -
Edit the last entry of your dlclist.xml file and make sure to add a similar entry with the name of your addon cloth resource (DLC name you have configured in your project settings in Durty Cloth Tool)
<Item>dlcpacks:/clothpacknew/</Item>
Much like in our AltV and FiveM examples above, you can organize your add-on clothing to appear in the order you desire, which will appear after the default Grand Theft Auto Online clothing;
<Item>dlcpacks:/clothpacknew/</Item>
<Item>dlcpacks:/clothpacknew3/</Item>
<Item>dlcpacks:/clothpacknew2/</Item>
- To apply the new clothes you will need some mod menu, suggested ones are:
- Menyoo 2.0: GitHub, 5mods
- Character Menu
- (Please see related installation guides there)
-
It is crucial that you are aware of the YMT limits within the game. This can differ depending on the version of your gamebuild.
- Please refer to the YMT game limit and crash issues page for more information regarding this.
-
It is also recommended that your packs are in lowercase, for example
myclothpack1
rather thanMyClothPack1
. It has been reported that uppercase clothing files can / may cause issues.