beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
178 stars 95 forks source link

FR: some way to avoid archive scanning #1495

Open sprunk opened 2 months ago

sprunk commented 2 months ago

Bill of materials to be done before starting this ticket:


Have 500 maps/games in data folders. Get a new engine. Run a startscript with some specific map/game (snippet):

gametype=Zero-K $VERSION;
mapname=Adansonia v4.1;

Now engine will scan all the 500 archives to figure out which one contains "Zero-K $VERSION". Maybe it's splinter_faction_v1.28.sd7? Maybe it's testmod_debug.sdz? Maybe it lurks in maps/speedmetal_final.sd7? This takes a while. image

At some point it discovers that "Zero-K $VERSION" lives in ZK.SDD, which is extra frustrating because I knew that all along.

The request is to make the scan less bothersome. Note that each of the below looks independent so you don't need to choose one.