Cut your mod's filesize by 1mb or more, free!

Cut your mod's filesize by 1mb or more, free!

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Cut your mod's filesize by 1mb or more, free!

Post by Nemo »

A general tip for all modders on windows platforms: (all of us, I imagine...)

When you've compiled the release build of your mod, go into the folders in the zip with either bmp or jpg images, and look for a file called Thumbs.db, and DELETE IT!

These thumbs.db files are crap generated by windows so you can preview images faster, but they bloat mod sizes by a lot - especially with mods that use 3do units in any form (they load every single unit texture file into this thumbs.db for faster viewing). For example: in Gundam 1.1, these thumbs.db files add just over 1mb to the total file size. In E&E they add about the same. Removing this windows crap is how I got the 1944 demo (oh so long ago..) to just under 4mb - with them, it was over 5.5mb.

I know ~1mb seems trivial these days, but its just useless windows crap that is wasting bandwidth, so nuke thumbs.db!

PS: my apologies to Smoth (Gundam) and Fang (E&E) for using them as examples; those (and SWS and 1944) are what I have in my mod folder right now.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

I am not offended
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

everyone should be using 2xexplorer anyway...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

I'll use windows as I always do.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

Forboding Angel wrote:everyone should be using Thunar anyway...
Fixed.

More seriously, explorer replacements suck and I think there's an option to not generate thumbs.db somewhere.
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Post by el_matarife »

Tools -> Folder Options -> View Tab -> Do Not Cache Thumbnails checkbox. I can't believe compression tools are dumb enough to add that file since it has both hidden & system tags on, not to mention they should know it won't be needed on the other end.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

The tools just assume you know what you're doing and IMO it's better they add unnecessary files than leave out important ones.
McLoud
Posts: 36
Joined: 03 Sep 2006, 22:31

Post by McLoud »

ZellSF wrote:
Forboding Angel wrote:everyone should be using UltraExplorer anyway...
Fixed.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

McLoud wrote:
ZellSF wrote:
Forboding Angel wrote:everyone should be using DOS anyway...
Fixed.
fixed.

STOP FIXING IT, THE WHOLE FIXED MEME IS GAY
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

Depends on what you mean seriously. I've used DOS lots for games. If that's not using it seriously I haven't ever used Mac OS X, Linux or Windows seriously either :P

I don't see how that's revelant to file managers or thumbs.db at all though.
duncs
Posts: 107
Joined: 27 Feb 2006, 16:27

Post by duncs »

neddiedrow wrote:I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
Lol! I'm 27 and I played lots of the dos games, right from the start.

hell, I even used a ZX spectrum (48k). I seriously wonder how people manage to use so much ram these days. games back then worked fine with 48k.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

neddiedrow wrote:I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
I doubt most people here know that DOS supports piping stdout to files.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I do most gaming on my Atari 2600 when I'm at home. River Raid anybody?
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

Pitfall is ftw!
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

You forgot to mention only XP users are affected.
KDR_11k wrote:
neddiedrow wrote:I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
I doubt most people here know that DOS supports piping stdout to files.
I do. It's the fastest way to create a list of your warez and pron... "dir /o > stuff.txt" :P
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

neddiedrow wrote:I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
KDR_11k wrote:I doubt most people here know that DOS supports piping stdout to files.
27 year old programmer who learned programming using turbo c++ and I read a lot of the header files when I used them. I didn't like using C though.
McLoud
Posts: 36
Joined: 03 Sep 2006, 22:31

Post by McLoud »

Old Turbo C 25 old user here as well, as well as turbo pascal (what an awesome IDE at the time). I don't really like C, but C++ isn't looking that bad after all those years... and yes, DOS really has it's uses, specially if you combine then with the gnu tools providing linux like pipe ready commands and regexps.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Programming for DOS is fun so long as you don't want to do anything that eats more than 640KB of memory, then it becomes a bit less amusing.
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Post by el_matarife »

neddiedrow wrote:I doubt most people here are old enough or poor enough to have ever used DOS seriously. No offense to others who have.
Dos 5 was the first OS I seriously used. You young whipper-snappers haven't lived till you've had to go through your command.com and autoexec.bat to get enough lower memory to play an Origin game like Wing Commander Privateer. You folks have no idea how mindblowing memmaker was.
Post Reply

Return to “Game Development”