How to extract a long skin string that contain everything the player is

i have a few skins i spent long time customizing, they are saved in a trainer, locally in appdata… but encrypted. Long story short, i can spawn with the trainer all those special skins, but to replace inside my database (esx) as default skin… essentialmode, table users… colums skin … is there a way or code that could extract what i am currently wearing into a huge string like this

Exemple of string:

{"lipstick_2":0,"chest_2":0,"makeup_1":0,"moles_2":0,"mask_1":0,"bodyb_1":0,"bproof_1":0,"bags_2":0,"moles_1":0,"hair_1":0,"beard_2":0,"glasses_2":0,"arms":0,"shoes_2":0,"eye_color":0,"makeup_2":0,"decals_2":0,"skin":15,"watches_2":0,"eyebrows_3":0,"bags_1":0,"chain_1":0,"pants_2":0,"age_1":0,"chest_1":0,"arms_2":0,"ears_1":-1,"ears_2":0,"hair_color_1":0,"beard_4":0,"mask_2":0,"eyebrows_4":0,"hair_color_2":0,"age_2":0,"face":26,"eyebrows_1":0,"bracelets_1":-1,"blemishes_2":0,"tshirt_2":0,"eyebrows_2":0,"tshirt_1":0,"torso_2":0,"blush_3":0,"lipstick_1":0,"makeup_3":0,"torso_1":0,"chain_2":0,"lipstick_4":0,"chest_3":0,"decals_1":0,"blush_2":0,"helmet_1":-1,"blush_1":0,"lipstick_3":0,"complexion_1":0,"beard_3":0,"blemishes_1":0,"pants_1":0,"shoes_1":0,"beard_1":0,"sun_2":0,"glasses_1":0,"hair_2":0,"bproof_2":0,"bracelets_2":0,"complexion_2":0,"bodyb_2":0,"makeup_4":0,"watches_1":-1,"sun_1":0,"sex":0,"helmet_2":0}

that is just waiting to be copy pasted inside the DB and see the result

Can’t skinchanger do that? or atleast if you change your skin you could copy the string from the database of that user

Only if i recreate the same ped manually using esx_skin that it will be written into the database… using the default ES skin system… but it lacks a few options, i got every skin details, sunglass, earpiece, etc… with vMenu. → now im looking to migrate my vMenu created ones out of the trainer…

because of that i had to learn (good thing) how to write and read my own shit from the DB… almost done scripting it.

i was expecting not the re-write history myself so i ask… i will extract data from skinchanger tonight… i hope its the right format…

the need came with the fact that i created all my favorite skin inside vMenu… vMenu export locally to encrypted files in AppData of the client computer … what i extracted did not work.

vMenu vs esx_skins … i see a lot of fixing needed, so i need to start somewhere and take control of the skins. Ex I go to a shop with my vMenu created skin, i open the menu at the clothing store, decide to cancel and i revert back to what i created in ES when i first logged… i did not modded those parts of my server other than dumping into the server.

start esx_kashacters
start esx_skin
start skinchanger

mostly i cant modify the code inside vMenu other than the rights in the config

VMenu format was something along the line of

{"PedHeadBlendData":{"FirstFaceShape":15,"SecondFaceShape":0,"ThirdFaceShape":0,"FirstSkinTone":15,"SecondSkinTone":0,"ThirdSkinTone":0,"ParentFaceShapePercent":0.0,"ParentSkinTonePercent":0.0,"ParentThirdUnkPercent":0.0,"IsParentInheritance":false},"DrawableVariations":{"clothes":{"11":{"Key":15,"Value":0},"4":{"Key":15,"Value":9},"6":{"Key":12,"Value":0},"7":{"Key":44,"Value":0},"9":{"Key":0,"Value":0},"3":{"Key":51,"Value":0},"8":{"Key":15,"Value":0},"10":{"Key":0,"Value":0},"1":{"Key":0,"Value":0}}},"PropVariations":{"props":{"0":{"Key":-1,"Value":-1},"1":{"Key":5,"Value":4},"2":{"Key":2,"Value":0},"6":{"Key":10,"Value":0},"7":{"Key":1,"Value":0}}},"FaceShapeFeatures":{"features":{}},"PedAppearance":{"hairStyle":0,"hairColor":0,"hairHighlightColor":0,"HairOverlay":{"Key":"multiplayer_overlays","Value":"FM_M_Hair_001_a"},"blemishesStyle":0,"blemishesOpacity":0.0,"beardStyle":4,"beardColor":60,"beardOpacity":1.0,"eyebrowsStyle":0,"eyebrowsColor":0,"eyebrowsOpacity":0.0,"ageingStyle":0,"ageingOpacity":0.0,"makeupStyle":0,"makeupColor":0,"makeupOpacity":0.0,"blushStyle":0,"blushColor":0,"blushOpacity":0.0,"complexionStyle":0,"complexionOpacity":0.0,"sunDamageStyle":0,"sunDamageOpacity":0.0,"lipstickStyle":0,"lipstickColor":0,"lipstickOpacity":0.0,"molesFrecklesStyle":0,"molesFrecklesOpacity":0.0,"chestHairStyle":0,"chestHairColor":0,"chestHairOpacity":0.0,"bodyBlemishesStyle":0,"bodyBlemishesOpacity":0.0,"eyeColor":0},"PedTatttoos":{"TorsoTattoos":[{"Key":"mpStunt_overlays","Value":"MP_MP_Stunt_tat_044_M"},{"Key":"multiplayer_overlays","Value":"FM_Tat_Award_M_004"},{"Key":"multiplayer_overlays","Value":"FM_Tat_M_009"}],"HeadTattoos":[{"Key":"mpBusiness_overlays","Value":"MP_Buis_M_Neck_000"}],"LeftArmTattoos":[{"Key":"mpChristmas2017_overlays","Value":"MP_Christmas2017_Tattoo_004_M"},{"Key":"mpChristmas2017_overlays","Value":"MP_Christmas2017_Tattoo_013_M"}],"RightArmTattoos":[{"Key":"mpImportExport_overlays","Value":"MP_MP_ImportExport_Tat_005_M"}],"LeftLegTattoos":[],"RightLegTattoos":[],"BadgeTattoos":[]},"PedFacePaints":{},"IsMale":true,"ModelHash":1885233650,"SaveName":"mp_ped_Keshawn Thug","Version":1,"WalkingStyle":null,"FacialExpression":"mood_smug_1"}

Thank you for your input. Merci beaucoup!