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 TSV's is now nested big problem #237

Open gdwitt opened 1 year ago

gdwitt commented 1 year ago

To do quick diffs, I need the tsv's to extract from the db all in one folder. The old create/mass extract feature did this. The new extract method puts each table in a separate directory. This makes it very hard to work with diffs and doubles the work to find and rename things. This is especially hard since I may have 50 extractions of my old mods that are not embedded in folders. Is there a way to extra the tables as tsv's all in one folder for the mod in focus?

Frodo45127 commented 1 year ago

There are currently no plans to get mass_export implemented again, as its removal and merge into the normal extract function was one of the reasons why the 4.0 big rewrite was done.

To update old mods, import them back with 3.0.16 (using theses schemas: https://github.com/Frodo45127/rpfm-schemas/tree/398275eb300557dd29cec727244a51c5edda44c8), then export them back using 4.0. That way the old mods will have the same folder structure as the new ones, which makes diff tools work.... the same as before.

gdwitt commented 1 year ago

So you wish that we find a way to import our db folders into a mod then export them again? I will try it. But why not make extraction not use nested folders in the first place? It makes reading and access very frustrating. I may stop donating as this was my favorite feature.

gdwitt commented 1 year ago

I have no idea how reimporting works. That link is just schemas. Is that supposed to be an old version of PFM? Now I can't diff with my old repos that have no pack file to extract from.

gdwitt commented 1 year ago

I have an idea. Can you provide a link to the last version of the RFPM? I only need to extract occasionally and I can use the old PFM to extract all in a non-nested format. That will solve this issue.

Frodo45127 commented 1 year ago

To get the tsv files on the new format, you need to:

That will leave you the extracted files you had using the new format. Of course, you can still use 3.0.16 instead, but keep in mind that no new schemas will be released for it.