Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting TSV's is now nested big problem #237

Open
gdwitt opened this issue Mar 16, 2023 · 5 comments
Open

Extracting TSV's is now nested big problem #237

gdwitt opened this issue Mar 16, 2023 · 5 comments

Comments

@gdwitt
Copy link

gdwitt commented Mar 16, 2023

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
Copy link
Owner

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
Copy link
Author

gdwitt commented Mar 25, 2023

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
Copy link
Author

gdwitt commented Mar 26, 2023

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
Copy link
Author

gdwitt commented Mar 26, 2023

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
Copy link
Owner

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

  • Download RPFM 3.0.16 from the releases section.
  • Download the schemas from the link I provided.
  • Start RPFM 3.0.16 and do not update the schemas.
  • Go to Game Selected/Open RPFM config folder, then in the folder that will open open the "schemas" folder (create it if it's missing), delete everything from it, and extract the schemas in there.
  • Then restart RPFM 3.016, import all the tsvs you want into a Pack, and save it.
  • Then open said pack in RPFM 4.0, and extract it.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants