I dont know how it happened exactly, but I was stuck with a corrupted outfit that I could not delete, because the game was crashing when I was trying to delete it (and the game was trying to load its assets, thus crashing).
I found the following way to let me get rid of this corrupted outfit and thought it could be useful to other people eventually.
I modified store_clothing.lua in store_clothing.str2_pc so that when the user is in the wardrobe and checks the owned outfits, the outfits assets are not loaded in memory to try to put them on the character in the preview window. This lets the user succesfully delete corrupted outfits that make the game crash.
The mod should be installed, then user deletes undesired outfits, and remove the mod afterward. See details in the readme file.
I have put this in the tools sections because in my mind it is meant to be used as a tool.
I found the following way to let me get rid of this corrupted outfit and thought it could be useful to other people eventually.
I modified store_clothing.lua in store_clothing.str2_pc so that when the user is in the wardrobe and checks the owned outfits, the outfits assets are not loaded in memory to try to put them on the character in the preview window. This lets the user succesfully delete corrupted outfits that make the game crash.
The mod should be installed, then user deletes undesired outfits, and remove the mod afterward. See details in the readme file.
I have put this in the tools sections because in my mind it is meant to be used as a tool.