NickHugi / PyKotor

A Python library that can read and modify most file formats used by the game Knights of the Old Republic and its sequel.
GNU Lesser General Public License v3.0
11 stars 3 forks source link

Add more core resources into toolset. #83

Closed th3w1zard1 closed 4 days ago

th3w1zard1 commented 5 months ago

I noticed the toolset doesn't show all the audio files, or the k1 patch.erf files. This PR adds them into the toolset.

Additionally I noticed the coreWidget.setResources() function was incredibly unoptimized, so this pr also addresses that problem.

Result: image

th3w1zard1 commented 5 months ago

This pr should be modified to not add streamwaves/streamsounds, neither of those have useful things for the Core tab. Those two folders should exclusively be used for specific gff editors like dlg or the uts. NickHugi's original implementation had the right idea and I've just lost the plot