How to reduce map filesize from ~20MB to ~5MB

Tutorials for Call of Duty 4 mapping

Moderator: Core Staff

Post Reply
Pedsdude
Site Admin
Site Admin
Posts: 15906
Joined: October 15th, 2004, 7:18 pm
Location: UK

How to reduce map filesize from ~20MB to ~5MB

Post by Pedsdude » January 3rd, 2011, 6:46 pm

Here's a quick and easy way to reduce your map size considerably, with seemingly NO effect on the map itself. KillerSam and I discovered it by complete fluke.

---

1. Open up the CoD4 Compile Tools program.

2. Click "4. Update Zone File"

3. Remove the following lines from your zone file:

Code: Select all

sound,common,mp_digital,!all_mp
sound,generic,mp_digital,!all_mp
sound,voiceovers,mp_digital,!all_mp
sound,multiplayer,mp_digital,!all_mp
(obviously it'll say your map name instead of mp_digital)

---

That's it, you should be done! When you compile, your .ff file will be considerably smaller, and from testing it a reasonable amount I haven't noticed ANY changes at all to the map or in-game sounds. I never added any custom sounds in mp_digital, so if you've got sound files in your map then perhaps it will mess things up, but otherwise I would imagine it's fine.

I told the same thing to Sohvax when he made mp_meh and the map seems to run perfectly fine with the reduced filesize.

Good luck, and enjoy shorter download times!
Image
Image

User avatar
Mooselflies
CJ Spammer!
CJ Spammer!
Posts: 641
Joined: April 20th, 2009, 8:29 pm
PSN ID: mooselflies
Location: Reading :<

Re: How to reduce map filesize from ~20MB to ~5MB

Post by Mooselflies » January 4th, 2011, 1:34 pm

:> your such a mapper nerd

Pedsdude
Site Admin
Site Admin
Posts: 15906
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: How to reduce map filesize from ~20MB to ~5MB

Post by Pedsdude » January 4th, 2011, 4:02 pm

Mooselflies wrote::> your such a mapper nerd
Pedsdude wrote:KillerSam and I discovered it by complete fluke.
Yes, how nerdish of me.
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13316
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: How to reduce map filesize from ~20MB to ~5MB

Post by Drofder2004 » January 4th, 2011, 4:15 pm

Lathough you have proven it to work, I just fail to believe it was never noticed before, which leads me to wonder if their are any potential problems.

But, currently no problems are evident and therefore I suggest it is used.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Pedsdude
Site Admin
Site Admin
Posts: 15906
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: How to reduce map filesize from ~20MB to ~5MB

Post by Pedsdude » January 4th, 2011, 5:08 pm

Indeed, there have been no reported problems with mp_digital or mp_meh, and they've been played reasonably extensively on #1.
Image
Image

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: How to reduce map filesize from ~20MB to ~5MB

Post by F |Madness| U » January 4th, 2011, 7:00 pm

Looks like it could stop the battlechatter effect (if you've only tested it ont he CJ jump mod) when playing relatively unmodded mods, personally battlechatter annoys me anyway though, so nice find.
-

topher
CJ Spammer!
CJ Spammer!
Posts: 740
Joined: December 4th, 2005, 9:17 am
Location: OK
Contact:

Re: How to reduce map filesize from ~20MB to ~5MB

Post by topher » August 22nd, 2011, 2:41 pm

One thing I found when fixing backlot, was vehicles make less noise(almost no noise) without "sound,common,mp_test,!all_mp"

So maybe the others are used for something.
Image
ImageImageImage
Image

Pedsdude
Site Admin
Site Admin
Posts: 15906
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: How to reduce map filesize from ~20MB to ~5MB

Post by Pedsdude » August 22nd, 2011, 8:29 pm

Do you mean noise when you stand on them / hit them with bullets+nades / blow them up?
Image
Image

topher
CJ Spammer!
CJ Spammer!
Posts: 740
Joined: December 4th, 2005, 9:17 am
Location: OK
Contact:

Re: How to reduce map filesize from ~20MB to ~5MB

Post by topher » August 22nd, 2011, 9:49 pm

Not sure about standing on them, but when they light on fire and blow up you can't hear the fire or explosion.
Image
ImageImageImage
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest