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
357 stars 57 forks source link

Wrong tables because old schema #264

Open Leonardusius opened 1 year ago

Leonardusius commented 1 year ago

Hi,

I encountered enough problems with mostly old mods which have incorrect tables shown with last RPFM updates because they use old schemas. Is there any possibilities to add RPFM an option to load a specific schema without changing manually that in app folder ?

Frodo45127 commented 1 year ago

Nop. Schemas never drop support for older tables, so there's literally no reason to support multiple schema files for the same game. If a table opened with an old schema, but not with a newer one for the same game is either a bug, or the user using a schema for a different game (which happens a lot). So if you find that situation in any table and you're sure you have the correct game selected, please report it so the table can be decoded instead of using an old schema.

Leonardusius commented 1 year ago

Oh, yes, it happens. Evem with PFM. When I introduce old schema it read values from mod table OK. With new schema it reads wrong. For example in unitspecial abilities_table in one the value for passive column is seen as ticked and in the other not.

Frodo45127 commented 1 year ago

What you describe is a swapped column bug in the schema which should be reported so it can be fixed. So please, if you find that situation, report the game/table/columns where it happens instead of using old schemas.