Author Topic: Find Unused Files...  (Read 5679 times)

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1944
  • Gender: Male
    • The Fields of the Dead
Find Unused Files...
« on: December 04, 2006, 10:49:00 AM »
I think this feature has some errors. When searching for unused BMPs in BG:TotSC, it reported 1076 out of 1128 as being unused. Most of the unused files are the three different types of area maps, but there are also NPC portraits which are referenced in their CRE files.

-Echon

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: Find Unused Files...
« Reply #1 on: December 05, 2006, 01:19:43 PM »
Find Unused Files works by searching known resources for references to the selected file types. Most BMPs aren't referenced by other files (including the "giant" NPC portraits), so it's working as expected.

You won't want to use it as a definitive list of files that are actually unused; only as a hint about which files aren't referenced in any of the known resources. In particular, it will miss files the engine automatically knows to look for (in this case, all the area reference maps, the palettes, and just about every BMP), and IIRC, it also doesn't handle correctly resources referenced from dialogue trigger and action lists.

This is also the case with Find Unused Strings.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: