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

Cannot figure out how to mass import TSV's #166

Closed gdwitt closed 3 years ago

gdwitt commented 3 years ago

It doesn't seem to work, except when overwriting in a table. This doesn't work: https://frodo45127.github.io/rpfm/chapter_3_2_0.html?highlight=tsv#packfile-treeview "Create…/Mass-Import TSV: Allows you to import a bunch of TSV files at once. The system is able to distinguish between DB and Loc TSV files, so you can import all of them at the same time, and RPFM will create all the files needed, in their correct place."

If it does work, is there an adequate guide anywhere? I've tried many ways.

I am trying to reimport tsv's I had just exported and modified in Google Sheets. I was able to import them this way: https://frodo45127.github.io/rpfm/chapter_4_1.html and the same tables worked and played in-game.

I need a quicker way to import tsv's as I export most of the pack file when doing diffs and the reimport.

Thank you for your work. I have been a patreoner for over a year now.

gdwitt commented 3 years ago

Hello Frodo. Is this something I am doing wrong, a feature or a bug? I think it should be a standard feature for modders who do work on large tables outside of pfm. I have been a patreon member for over a year now.

Frodo45127 commented 3 years ago

Sorry, got a busy month and this kinda flew under the radar for me. The mass-import feature is working for me here, just tested it. What exactly happens to you? It's greyed out? It errors out at some point?

gdwitt commented 3 years ago

It's not available to select. I see the menu selection (bright but can't be selected). I am modding currently in Attila. I know it's old, but last month I was modding Rome 2 and Shogun and it was not available in RPFM for either of those. This would be a very useful feature as it necessary to edit the larger tables in excel as tsv. I wonder if I'm doing something wrong. The mass export feature is not available either and it was available several months ago.

Frodo45127 commented 3 years ago

That button is disabled unless the game path is configured in the settings and the dependencies cache generated for said game. The second requirement was added due to some changes in 2.5. Does fulfilling those requirements enable the button for you?

gdwitt commented 3 years ago

That fixes it. I wonder if this could be easier to figure out. The game paths were set in "preferences". I have had a persistent Diagnostics error. I just double clicked it and it offered to generate the dependency cache. After that, the drop down option for mass export and mass import is Kudos for self-correcting errors. The dependency error persists until I close and restart.

gdwitt commented 3 years ago

Mass export is working. Mass Import appeared to be still broken and I was getting errors at every trial. However, once I correctly matched the import table folder in RPFM with the files being imported and didn't change the destination name, it worked. After 1 successful import, the box seemed to not care what I did with the destination or original filename check box and just imported. It didn't even care where I right clicked to start the "mass import". It simply placed the imported file in the correct associated folder. Something could be improved with interface feedback, but it is working well for me now. Excellent work.

Frodo45127 commented 3 years ago

I know it's far from the most user-friendly feature, but there are plans to rework it.... hopefully soon, to make it more user-friendly and flexible.

Frodo45127 commented 3 years ago

Closing as this has been reworked on 2.6.