HELP WANTED: how to reduce the size of a released mod

Started by Led, February 06, 2011, 12:15:04 PM

Previous topic - Next topic
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
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

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"
}
}
In Progress:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy Edition)
--Endor: Imperial Base

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1


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.