Laupetin / OpenAssetTools

Open Source Modding Tools for old Call Of Duty games
https://openassettools.dev
GNU General Public License v3.0
85 stars 14 forks source link

fix: do not normalize asset names when loading assets #209

Closed Laupetin closed 3 months ago

Laupetin commented 3 months ago

Asset names were normalized when loading because i assumed all asset names were normalized anyway. Leaderboards are an obvious counter example to this since their names are all uppercase.

Since the main thing that has be correct is that asset lookup is being done case insensitively, the inteded effect of the original change was to make this happen, but it is now covered already by normalizing asset names for lookup.

So now this reverts back normalizing asset names upon load so you can have leaderboards have uppercase names again for example, as they are in vanilla fastfiles.