Hello all,
is there any way (script or mode) which could be used to find out, which objects / models are NOT used in particular dungeon from custom assets (made by other people)? I want reduce size of .dat file and I do not want to search it manulay one by one (which could be a mess in case you are using lots of custom assets located in differents directories etc...)
reduce size scripting ?
reduce size scripting ?
Last edited by Drakkan on Sun Feb 17, 2013 9:42 pm, edited 1 time in total.
Re: reduce size scripting ?
One thing you may want to consider before that is whether or not textures have been properly compressed.
1024x1024 files should usually be about 682kb.
512x512 is usually about 1.33kb
So if you have files with the same dimensions that are drastically larger, you know where to start.
1024x1024 files should usually be about 682kb.
512x512 is usually about 1.33kb
So if you have files with the same dimensions that are drastically larger, you know where to start.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: reduce size scripting ?
good advice for my own custom assets, thanks. Neverthless, curently I am searching how to reduce assets made by community (like removing object I have not used from particular asset). But seems I will have to search each object and delete it one by one (from models, textures, lua definition....)Neikun wrote:One thing you may want to consider before that is whether or not textures have been properly compressed.
1024x1024 files should usually be about 682kb.
512x512 is usually about 1.33kb
So if you have files with the same dimensions that are drastically larger, you know where to start.
Re: reduce size scripting ?
Yeah. This is inevitable if you built your dungeon in the same folder you put all the community assets.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: reduce size scripting ?
it would be great if someone would make a tool that analyzed the dungeon.lua and then figured what was used, then copied only the used things to a new dungeon directory tree, then we could go there and do the export.
Finished Dungeons - complete mods to play
Re: reduce size scripting ?
thats what i was talking about ! We can just hope somebody is boring enough (or wanna make it for community) to make such a converter /scriptKomag wrote:it would be great if someone would make a tool that analyzed the dungeon.lua and then figured what was used, then copied only the used things to a new dungeon directory tree, then we could go there and do the export.
Re: reduce size scripting ?
that is an AWESOME idea!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
