Frodo45127 / rpfm

Rusted PackFile Manager (RPFM) is a... reimplementation in Rust and Qt5 of PackFile Manager (PFM), one of the best modding tools for Total War Games.
MIT License
368 stars 58 forks source link

Extracting tables containing * in the name #205

Open krmarshall opened 2 years ago

krmarshall commented 2 years ago

Trying to extract a table that contains a in the table name (eg. SFO_effects__.loc) errors out. I initially noticed this with the CLI, but it throws an error in the GUI as well.

Can be reproduced using SFO2 by opening steel_faith_overhaul_2.pack, navigating to text/db/*SFO_effects__.loc and trying to right-click extract the table. image

Extracting other tables with special characters such as #SFO_ancillaries__.loc complete fine.

I haven't looked through the source but I'd hazard a guess it's an issue with the * character being interpreted as a wildcard?