Code Review #3171

Reduce file size

Added by oberhuemer about 8 years ago. Updated about 8 years ago.

Status:RejectedStart date:2011-10-17
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Even with less than a quarter of the "core" graphics done, CETS already is at 4 megabytes, bigger than almost all NewGRFs I know of. Seems like splitting the whole thing into "basic" and "add-on(s)" is the logical consequence. Then again, it is or was partly an NML issue (#3100) and may have something to do with internal structures I don't know about.


#1 Updated by oberhuemer about 8 years ago

  • Description updated (diff)

#2 Updated by planetmaker about 8 years ago

I don't think that file size is really an issue. We should keep it simple for users (and for us):
rw------ 1 ingo users 8140800 2011-03-16 17:48 WAS_World_Airliners_Set-Alpha2.tar
rw------ 1 ingo users 3911680 2009-05-18 18:31 North_American_Renewal_Set.2.02.tar
rw------ 1 ingo users 3225600 2011-09-16 17:47 NuTracks-1.1.2.tar
rw------ 1 ingo users 3215360 2011-03-02 12:23 Total_Town_Replacement_Set-3.11.tar
rw------ 1 ingo users 2949120 2011-03-16 17:48 UK_Town_Set-2.1.tar
rw------ 1 ingo users 2375680 2011-03-16 17:48 Long_vehicles-v404Oct2008.tar
rw------ 1 ingo users 2129920 2009-09-01 18:35 Japanese_Train_Set.Version_2.0.tar
rw------ 1 ingo users 2058240 2011-09-16 17:47 UKRS2__The_UK_Railway_Set-0.81.tar
rw------ 1 ingo users 2048000 2011-09-16 17:47 ECS_Machinery_vector-1.1.219Jun2011.tar

EDIT zum Vergleich:
rw------ 1 ingo users 3010560 2011-10-18 14:55 cets.tar

#3 Updated by Eddi about 8 years ago

large parts of the current size are due to the fact that each vehicle gets its own set of green boxes, so it shouldn't matter much whether an engine is actually drawn or not. so the size will likely not change beyond an order of magnitude anymore (if a vehicle has on average two different liveries, maybe twice the size overall, plus some additional vehicles for other companies currently not in the focus of development).

#4 Updated by planetmaker about 8 years ago

  • Status changed from New to Rejected
  • % Done changed from 0 to 100

more hassle than gain and we're not breaking usual bounds.

Also available in: Atom PDF