Opened 12 years ago

Closed 11 years ago

#1363 closed enhancement (invalid)

Consider removing unused files from public.zip

Reported by: fabio Owned by:
Priority: If Time Permits Milestone:
Component: Build & Packages Keywords:
Cc: Patch:

Description

There should be a way to remove unused files from public.zip.

See the discussion at http://www.wildfiregames.com/forum/index.php?showtopic=15553&view=findpost&p=238569

Change History (4)

comment:1 by historic_bruno, 12 years ago

There is a way... we can discuss them on a case by case basis and remove them from SVN :) Unfortunately it's not a high priority compared to finishing the game, adding new features and art, etc. Though we've made a lot of progress on removing clutter in recent months.

If you mean automatically detecting unused files when packaging the game, I think that's asking for trouble, because you never know how and when a script will load an asset, imagine a fragment of code like:

var asset = "path\to\asset\" + playerciv + "_some_asset";

and there's really no way to analyze the codebase and know whether it intends to load something or not.

Last edited 12 years ago by historic_bruno (previous) (diff)

comment:2 by Kieran P, 12 years ago

Priority: Should HaveIf Time Permits

comment:3 by historic_bruno, 12 years ago

Milestone: Alpha 11Backlog

comment:4 by historic_bruno, 11 years ago

Milestone: Backlog
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.