SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding Tutorials => Topic started by: Led on February 06, 2011, 12:15:04 PM

Title: HELP WANTED: how to reduce the size of a released mod
Post by: Led on February 06, 2011, 12:15:04 PM
Hi,

I have made a basic side mod by editing ODF, and I am using a stock map.

My new side lvl files seem huge--the all.lvl is 108 MB.  Is there anyway to reduce that for the final release of the mod?

Thanks,
Buckler
Title: Re: HELP WANTED: how to reduce the size of a released mod
Post by: Giftheck on February 06, 2011, 02:21:24 PM
Yes, you want to remove anything from the all.req that you're not using in your LUA file. For instance, if you're only using the "all_inf_basic" (standard units) and "all_inf_smuggler" (wookie unit), your custom REQ should look something like this:

ucft
{
REQN
{
"lvl"
"all_inf_basic"
"all_inf_smuggler"
}
}
Title: Re: HELP WANTED: how to reduce the size of a released mod
Post by: Led on February 06, 2011, 03:57:58 PM
Thanks!  That alone saved me about 50 MB.
Title: Re: HELP WANTED: how to reduce the size of a released mod
Post by: Phobos on May 28, 2012, 09:38:18 PM
also to reduce file of released mods intended for dedicated server hosting, remove all TGA files before munging. For dedi common.lvl, you have to delete the tgas from MSH and Effects folder, and also all .texture files from munged folder. This makes your server common about 3mb.
EhPortal 1.34 © 2024, WebDev