Worldbuilder saves are an entirely different format, consisting of plain text. So it is not influenced by the changes to the binary format in C2C and it is considerably easier to write a program like Samin suggested.
Exactly, this will only work for Worldbuilder saves (i.e. scenarios?). It's really just something small that I want to use for a map I'm trying to make and I thought maybe that could be interesting for others too.
Well here is the first version that I just slapped together in an hour or two
http://lotgw.de/dev1/civ/Civ4ResourceScanner.zip - always be cautious when you download something from an unknown source, feel free to run malware checks but I didn't put anything in there
To use:
1. Click the "Choose" button in the top right corner -> select the mod folder (e.g. Beyond the Sword\Mods\Caveman2Cosmos)
2. Click the "Choose" button below -> select the map file (a .CivBeyondSwordWBSave)
3. Click the "Start" button
It currently only shows missing resources (based on YieldChanges, so gems show up)
Plus it shows placed resources that should probably not be placed.
Regarding gems, they currently show up because they still have YieldChanges entry (all 0). Could I base the decision what a map resource is on the entries of TerrainBooleans, FeatureBooleans and FeatureTerrainBooleans instead - i.e. when neither has any entries for a bonus it shouldn't be placed on the map? Another option would be to get rid of the useless (leftover) YieldChanges on gems - but the other way (via the boolean lists) might be better for future compatibility. Currently when a bonus has YieldChanges but no entry in the Booleans lists, it will show up in the "Missing" list but be marked as "(not generated)"
Also if some resources show up in the wrong section let me know. If an error occurs, it would be very helpful if you could send the whole text in the detail section via PM.
It should only require .NET 2.0 which should be installed by default on every computer that doesn't run Win98 anymore. It's compiled x86 but I currently don't have access to a 32bit Windows so I can't test that right now - should work fine.