DurtyFree / durty-cloth-tool

Durty Cloth Tool easily generates addon cloth resources for GTA 5 Singleplayer and MP mods like alt:V, FiveM or RageMP with just a couple of clicks.
https://gta.clothing
116 stars 58 forks source link

Value was either too large or too small for an unsigned byte. #315

Closed Enjoy1982 closed 2 months ago

Enjoy1982 commented 2 months ago

I have the following error:

System.OverflowException: Value was either too large or too small for an unsigned byte.
   at System.Number.ThrowOverflowException(TypeCode type)
   at System.Convert.ToByte(String value)
   at CodeWalker.GameFiles.XmlMeta.Traverse(XmlNode node, MetaBuilder mb, MetaName type, Boolean isRoot)
   at CodeWalker.GameFiles.XmlMeta.Traverse(XmlNode node, MetaBuilder mb, MetaName type, Boolean isRoot)
   at CodeWalker.GameFiles.XmlMeta.GetMeta(XmlDocument doc)
   at ANrrkCKXTNElbZ8p640g.Yl04VCQ1NH6(XmlDocument , ANrrkCKXTNElbZ8p640g )
   at s9pUmOcxT1XsfjdvDBp.uxpTXoc6bJRx4NpBtAb.RQccbGSjK4(String  , List`1  )
   at wK3e8qcdjm0c3ifLe69.bfBIwxcmYRdjJOl2xvm.x0Cch6Ou7p(String  , String  , String  , String  )
   at wK3e8qcdjm0c3ifLe69.bfBIwxcmYRdjJOl2xvm.YGC4WPZZ1Ma(String  , String  , String  , String  )
   at YJ9XSiIhq7kJjOEPtIE.BqODX2ILVF0779tApxy.dl0dWNKp3fLssu6hkekO(Object , Object , Object , Object , Object )
   at YJ9XSiIhq7kJjOEPtIE.BqODX2ILVF0779tApxy.EFGIaJxccM(TargetResourceType  , String  , String  , String  , String  , ProgressDialog  )

App Version: 3.0.0.7 Items: 4108 project items (4108C / 0D) Project targets: FiveM DLC name: mpsum2 Collection name: enjoy_it_clothes_pack // mp_f_sum2 Project path: C:\Users\k_nat\Desktop\RENPLACE CLOTHES\clothproject_as_mega_clothes_pack Output path: C:\Users\k_nat\Desktop\RENPLACE CLOTHES Disable Extra Ymt Creation: False Create Subfolder For Cloth Drawable Types: True Replace settings enabled: False // DLC: mpsum2 Save File Version: 0



Cloth files:
`[Please provide cloth files (ydd, ytd), cloth project and any other related files here + describe reproduction steps]`
DurtyFree commented 2 months ago

You have added more than 255 clothes per drawable type, this is not recommended and there is also a popup warning about this. Please remove some clothes.

Enjoy1982 commented 2 months ago

Whit 254 also the same?

DurtyFree commented 2 months ago

@Enjoy1982 use 128.