. . . Posted August 7, 2024 Share Posted August 7, 2024 I know apparently dyn files don't load and are only called when needed, but I think things like their portraits images and stuff like that are still loaded always and I want to speed up my loading times. I know there's "skin_assets.lua" which seems to load all the assets for the skins, but I can't seem to invalidate it even as a test using this code, maybe it's being loaded in another file too? Spoiler local assets = GLOBAL.require("skin_assets") for i = 1, #assets do assets[i] = nil end I also see in skinprefabs.lua the skins I think for characters are being created and added to a table? Is there a way I can stop all this from happening by deleting the table or can I make the "CreatePrefabSkin" function completely empty would that make the skins inside of prefabskin.lua not get created and waste my loading time/pc resources with getting created? There's also the prefabskins.lua file that seems to say each prefab that has a skin.. Basically, I just want to be able to remove the skins assets from being loaded at all such a degree that I can delete them off my HDD and the game would still function (with the mod that does it) to see if it improves my loading time. I know, very weird, but I'll do anything for more loading speed if possible and the skins are just bloat to me since I don't use any of them or vanilla characters for that matter at all... So, anybody have any idea how I can prevent these lua files from being loaded or make them return nil or like make their tables of data and stuff all nil or whatever I can do to prevent the skins assets specifically from being loaded? Link to comment https://forums.kleientertainment.com/forums/topic/158917-anyone-got-any-pointers-for-how-i-can-disable-skin-assets-from-loading/ Share on other sites More sharing options...
grm9 Posted August 7, 2024 Share Posted August 7, 2024 (edited) try overriding them through putting an empty file with same name into a folder with same name that can get accessed through same path starting with scripts folder into scripts folder of the mod that you're making mods probably don't load in before game's files though so you might need to replace files in C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\data\databundles\scripts.zip Edited August 7, 2024 by grm9 1 Link to comment https://forums.kleientertainment.com/forums/topic/158917-anyone-got-any-pointers-for-how-i-can-disable-skin-assets-from-loading/#findComment-1739701 Share on other sites More sharing options...
. . . Posted August 8, 2024 Author Share Posted August 8, 2024 Well unless I did something wrong it seems the skin stuff does indeed not impact loading times much if at all since unloading all the skin assets by manually replacing them in the databundles.zip did work and it actually was kind of cool to see how the screen can look with forge hud lol but in the end it saved like 1 second of loading time and with my previous tests of nearly removing all the vanilla prefabs from loading which saved me about 10 seconds of loading time I can conclude that if I want faster dst loading times it means the game needs to have less assets and prefabs or I get a better PC, sad lol Link to comment https://forums.kleientertainment.com/forums/topic/158917-anyone-got-any-pointers-for-how-i-can-disable-skin-assets-from-loading/#findComment-1739754 Share on other sites More sharing options...
HeroSoda Posted August 8, 2024 Share Posted August 8, 2024 (edited) 8 hours ago, . . . said: Well unless I did something wrong it seems the skin stuff does indeed not impact loading times much if at all since unloading all the skin assets by manually replacing them in the databundles.zip did work and it actually was kind of cool to see how the screen can look with forge hud lol but in the end it saved like 1 second of loading time and with my previous tests of nearly removing all the vanilla prefabs from loading which saved me about 10 seconds of loading time I can conclude that if I want faster dst loading times it means the game needs to have less assets and prefabs or I get a better PC, sad lol As somebody with a high end computer specifically designed for gaming I'd like to let you know that DST still has some lengthy load times for me. Cyberpunk usually loads faster. I've also seen plenty of complaints about the load times from others as well. Edited August 8, 2024 by HeroSoda 1 Link to comment https://forums.kleientertainment.com/forums/topic/158917-anyone-got-any-pointers-for-how-i-can-disable-skin-assets-from-loading/#findComment-1739832 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now