fosspill / FFXIV_Modding_Tool

FFXIV Modding Tool is the Cross-platform Commandline interface alternative for TexTools
https://ffmt.pwd.cat/
GNU General Public License v3.0
47 stars 4 forks source link

Silently fails at importing .ttmp files while .ttmp2 files works. #195

Closed taylor85345 closed 4 years ago

taylor85345 commented 4 years ago

After updating to 0.9.3, the modpack import and mpi commands report success without completing the install. "modlist.cgf" is not updated, and if deleted is not created on running ffmt mpi.

Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from Viera Refined.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
N

Data extraction successful.
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
WARNING: No entries found in the modlist, skipping
Checking LoD settings...
100%
No problems found

This issue is confirmed in both the binary release and the AUR build. Have not tried compiling manually.

fosspill commented 4 years ago

Interesting. Just confirmed that it works fine for me.

Could you link the Viera Refined modpack?

fosspill commented 4 years ago

@shinnova it may be problematic if mod_cache.db fails to create. We definitely need to catch that issue.

@taylor85345 could you try to delete your mod_cache.db file in your game installation folder and run the import again using the package in the aur?

taylor85345 commented 4 years ago

I have tried with half a dozen other modpacks as well, but you can find the Viera Refined here: https://www.nexusmods.com/finalfantasy14/mods/168

I did not receive any errors on the first run. My first command post-update was: ffmt backup

and the exact syntax I am using for installing is:

ffmt modpack import -t ~/FFXIV_TEX_BACKUPS/Mods/Viera\ Refined.ttmp2

or

ffmt mpi -t ~/FFXIV_TEX_BACKUPS/Mods/Viera\ Refined.ttmp2

I attempted this using my original config that worked in 0.9.2, and have also gone through the ffmt setup to build a new config just in case.

fosspill commented 4 years ago

Did you do this also after deleting mod_cache.db ? May need to delete the itemcache db also, but I don't think so.

Currently in a raid, so troubleshooting a bit later :)

taylor85345 commented 4 years ago

I deleted mod_cache.db, item_sets.db, and XivMods.json. On running mpi, those files were replaced, but the result was the same. No mods installed, no modlist.cgf

fosspill commented 4 years ago

Very interesting. What is your mod_cache.db size?

taylor85345 commented 4 years ago

4.0 MiB (4,239,360)

fosspill commented 4 years ago

Thank you! I'll check a bit soon.

This was a bit of a rough version due to large changes in the xivmoddingframework, so I apologize for the kinks.

taylor85345 commented 4 years ago

Understood. Please let me know if there is any additional information I can provide.

shinnova commented 4 years ago

What does your XivMods.json look like?

taylor85345 commented 4 years ago
{
  "version": "1.0",
  "modCount": 0,
  "modPackCount": 0,
  "emptyCount": 0,
  "ModPacks": [],
  "Mods": []
}
fosspill commented 4 years ago

Thanks, could you send your config file as well so that we can test with as similar setups as possible? Also - which dotnet runtime version do you have installed?

taylor85345 commented 4 years ago
[Directories]

GameDirectory=/home/taylor/.local/share/Steam/steamapps/common/FINAL FANTASY XIV Online

BackupDirectory=/home/taylor/FFXIV_TEX_BACKUPS

ConfigDirectory=/home/taylor/.local/share/Steam/steamapps/compatdata/39210/pfx/drive_c/users/steamuser/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn

I started this process running dotnet-runtime 3.1.3.sdk103.2-1, the version currently hosted in the Manjaro Community repositories, but in the process of troubleshooting I upgraded to dotnet-runtime-bin 3.1.6.sdk302-2 from the AUR.

shinnova commented 4 years ago

Could you try with this version and send us the output you get? Just unzip, cd into the folder, then run ./ffmt mpi -t ~/FFXIV_TEX_BACKUPS/Mods/Viera\ Refined.ttmp2

taylor85345 commented 4 years ago

Same result

taylor on taylor-kbox in ~/Apps/ffmt
❯ ./ffmt mpi -t ~/FFXIV_TEX_BACKUPS/Mods/Viera\ Refined.ttmp2
Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from Viera Refined.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
n

Data extraction successful.
DEBUG: Setting active mods file
DEBUG: Updating active mods
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
WARNING: No entries found in the modlist, skipping
Checking LoD settings...
100%
No problems found
shinnova commented 4 years ago

Thank you very much. Getting the same result was expected, but it helped in narrowing down the issue. Still cannot find anything wrong, so if you could run this new version and send the output that would be great. It is still expected to fail for you, but hopefully gives enough information.

For your reference, this is the output I'm getting:

./ffmt mpi -t EyesOnMeGryphon.ttmp2
Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from EyesOnMeGryphon.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
n

Data extraction successful.
DEBUG: Setting active mods file
DEBUG: Updating active mods
DEBUG: modActiveConfFile = /home/user/.config/FFXIV_Modding_Tool/modlist.cgf
DEBUG: About to enter mods foreach loop
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Returning states
Importing 8/8 mods from modpack...
100%
8 mod(s) successfully imported.
Updated /home/user/.config/FFXIV_Modding_Tool/modlist.cgf to reflect changes.
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
100%
Checking LoD settings...
100%
No problems found
taylor85345 commented 4 years ago

Same output, doesn't seem to be providing any more information

~/Apps/ffmt
❯ ./ffmt mpi -t ~/FFXIV_TEX_BACKUPS/Mods/Viera\ Refined.ttmp2
Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from Viera Refined.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
N

Data extraction successful.
DEBUG: Setting active mods file
DEBUG: Updating active mods
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
WARNING: No entries found in the modlist, skipping
Checking LoD settings...
100%
No problems found

I've tried this build with a few other modpacks and am not seeing any debug messages at all.

shinnova commented 4 years ago

That does help narrow it down even more, though I still cannot see what exactly is causing this issue. Could you give me the output of this one as well? It should give more information as to what is going on.

kainzilla commented 4 years ago

EDIT: My apologies, I see that most of the issues mentioned below are probably stemming from the change in ffxivmod framework as mentioned here: https://github.com/TexTools/xivModdingFramework/pull/18

Quick up front - thanks so much for working on this mod installer. This program is so easy to use, and it's very appreciated.

I appear to be seeing a similar issue here with the current version:

ffmt mpi -t test.ttmp2 = fail: ERROR: Invalid ttmp file
ffmt mpi -t ./test.ttmp2 = fail: ERROR: Invalid ttmp file
ffmt mpi -t /home/user/example/folder/test.ttmp2 = Successfully runs and prompts, non-test version doesn't install, but the test version linked just above does install

This issue appears to impact the current version and the test version linked above. The test version with debug logging doesn't output anything at all that might indicate why it isn't finding the file in the local present working directory.

fosspill commented 4 years ago

@all-contributors please add kainz0r for Bug Reports and User Testing.

fosspill commented 4 years ago

@all-contributors please add taylor85345 for Bug Reports and User Testing.

shinnova commented 4 years ago

@kainz0r and @taylor85345 Could you try importing with this debug version? It contains fixes for Y/n prompts not accepting Return, and when using the included script to run ffmt your current working directory should be respected once again

Please send the output of your XivMods.json after trying an import.

taylor85345 commented 4 years ago

The latest debug version appears to be behaving as expected with ttmp2 files. Below is my output from XivMods.json after the first run using the Viera Refined.ttmp2 modpack.

./ffmt mpi -t "/home/taylor/FFXIV_TEX_BACKUPS/Mods/Viera Refined.ttmp2"
Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from Viera Refined.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
n

Data extraction successful.
DEBUG: Setting active mods file
DEBUG: Updating active mods
DEBUG: modActiveConfFile = /home/taylor/.config/FFXIV_Modding_Tool/modlist.cgf
DEBUG: About to enter mods foreach loop
DEBUG: Mod didn't exist yet
DEBUG: Issue encountered during updating of active mods
Object reference not set to an instance of an object.
DEBUG: Returning states
Importing 32/32 mods from modpack...
100%
32 mod(s) successfully imported.
Updated /home/taylor/.config/FFXIV_Modding_Tool/modlist.cgf to reflect changes.
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
100%
Checking LoD settings...
100%
No problems found
taylor on taylor-kbox in Apps/FFXIV_Modding_Tool/ffmt
cat ~/.steam/steam/steamapps/common/FINAL\ FANTASY\ XIV\ Online/game/XivMods.json ```{ "version": "1.0", "modCount": 32, "modPackCount": 0, "emptyCount": 0, "ModPacks": [], "Mods": [ { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_fac_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 423578304, "modOffset": 2128, "modSize": 278528 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_fac_d.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 354051520, "modOffset": 280656, "modSize": 520192 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_fac_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 410271552, "modOffset": 800848, "modSize": 327936 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_fac_d.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 307629248, "modOffset": 1128784, "modSize": 663040 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_etc_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 380474560, "modOffset": 1791824, "modSize": 164352 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_iri_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 447138880, "modOffset": 1956176, "modSize": 2865664 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_iri_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 454576576, "modOffset": 4821840, "modSize": 15104 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_iri_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 447213376, "modOffset": 4836944, "modSize": 54784 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 242921536, "modOffset": 4891728, "modSize": 437760 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_fac_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 403521600, "modOffset": 5329488, "modSize": 2300160 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_iri_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 454535616, "modOffset": 7629648, "modSize": 14592 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_etc_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 326924992, "modOffset": 7644240, "modSize": 137728 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0102/texture/--c1801f0102_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 1078916496, "modOffset": 7781968, "modSize": 366592 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_iri_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 454556096, "modOffset": 8148560, "modSize": 14592 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_iri_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 447151296, "modOffset": 8163152, "modSize": 52480 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_fac_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 173709632, "modOffset": 8215632, "modSize": 5146368 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_fac_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 177739328, "modOffset": 13362000, "modSize": 5236736 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_fac_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 689977520, "modOffset": 18598736, "modSize": 4656128 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_fac_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 154694080, "modOffset": 23254864, "modSize": 4825088 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_iri_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 447126464, "modOffset": 28079952, "modSize": 52480 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_fac_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 409233600, "modOffset": 28132432, "modSize": 1272064 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 873289136, "modOffset": 29404496, "modSize": 301824 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 312950976, "modOffset": 29706320, "modSize": 238336 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_etc_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 379373120, "modOffset": 29944656, "modSize": 184320 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0001/texture/--c1801f0001_fac_d.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 329386688, "modOffset": 30128976, "modSize": 10056704 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0004/texture/--c1801f0004_etc_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 370144704, "modOffset": 40185680, "modSize": 122880 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0104/texture/--c1801f0104_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 273506368, "modOffset": 40308560, "modSize": 314368 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 256669120, "modOffset": 40622928, "modSize": 374016 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0101/texture/--c1801f0101_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 860129184, "modOffset": 40996944, "modSize": 430592 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0103/texture/--c1801f0103_etc_n.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 1609136048, "modOffset": 41427536, "modSize": 234496 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_iri_s.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 454547904, "modOffset": 41662032, "modSize": 2873600 } }, { "minimumFrameworkVersion": "1.0.0.0", "source": "FFXIV_Modding_Tool", "name": "Face", "category": "Character", "fullPath": "chara/human/c1801/obj/face/f0002/texture/--c1801f0002_fac_d.tex", "datFile": "040000", "enabled": true, "modPack": null, "data": { "dataType": 4, "originalOffset": 324262976, "modOffset": 44535632, "modSize": 677120 } } ] } ```

I have since tried this with a couple of other modpacks. .ttmp2 packs install as expected, but .ttmp packs still exhibit the previous behavior.

./ffmt mpi -t "/home/taylor/FFXIV_TEX_BACKUPS/Mods/Touch of Real.ttmp"
Checking backups before proceeding...
All backups present and up to date
Starting import...
Extracting data from Touch of Real.ttmp...
Initializing problem check
Checking index dat values...
100%
Checking index backups...
100%
Checking dat file...
100%
Checking modlist...
100%
Checking LoD settings...
100%
No problems found

The other behaviors regarding Y/n prompts and respecting the working directory seem to be resolved.

fosspill commented 4 years ago

Thank you very much! That helps tremendously.

Some observations: XivMods.json seems to be filled in incorrectly still, even though that shouldn't cause any direct issues it does point to a problem in the data we are feeding the xivmoddingframework.

Incorrect value examples:
 "modPackCount": 0,
  "ModPacks": [],
  "Mods": [
    {
      "fullPath": "chara/human/c1801/obj/face/f0003/texture/--c1801f0003_fac_s.tex",
      "modPack": null,
shinnova commented 4 years ago

@kainz0r @taylor85345 This latest test build should have fixed import for both .ttmp2 and .ttmp files. Could you test and confirm that it works for you?

fosspill commented 4 years ago

Changelog for the currently linked test build:

Fixes and maintenance

taylor85345 commented 4 years ago

I have been able to successfully import both .ttmp and .ttmp2 modpacks in the new build. However, I the application will occasionally hang after the step "Importing 94/94 mods from modpack...", never reporting a progress percentage. Killing the process and trying again is usually successful. Seems to be 50/50, usually impacting newly installed modpacks.

❯ ./ffmt mpi -t ~/FFXIV_TEX_BACKUPS/Mods/Eyes\ of\ Eorzea\ -\ Buns\ \&\ Lions.ttmp2
Checking backups before proceeding...
All backups present and up to date
WARNING: Found a mod applied by an unknown application, game stability cannot be guaranteed:
Would you like to continue? (y/N)
y
Starting import...
Extracting data from Eyes of Eorzea - Buns & Lions.ttmp2...
Would you like to use the Wizard for importing?
(Y)es, let me select the mods
(N)o, import everything
n

Data extraction successful.
DEBUG: Setting active mods file
DEBUG: Updating active mods
DEBUG: modActiveConfFile = /home/taylor/.config/FFXIV_Modding_Tool/modlist.cgf
DEBUG: About to enter mods foreach loop
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Overwriting existing mod entry
DEBUG: Found existing mod
DEBUG: Overwriting existing mod entry
DEBUG: Returning states
Importing 16/16 mods from modpack...
fosspill commented 4 years ago

Taylor "The Bug Finder" strikes again! Try giving it some time instead of killing it, but I'll move this to a new issue and close this one :)

taylor85345 commented 4 years ago

No problem, and thanks for all the hard work on this! I love the tool!

kainzilla commented 4 years ago

I wanted to confirm that the test build seen above appears to correct the issues mentioned as corrected (confirmation, using current working directory) - thanks!