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

Getting invalid ttmp file error #281

Open vaulknerx77 opened 2 years ago

vaulknerx77 commented 2 years ago

Hiya! First of all, thank you so much for building a mac-compatible tool for FFXIV mods, I'm really excited to use it. However, after following all the install instructions, I'm getting an error when attempting to install a ttmp file. It reads out that the ttmp in question is invalid– I've attached part of the error here. I tried this on two separate ttmps and both popped the same error.

Additionally, I've noticed the commands struggle with spaces in the file system, is there anything you suggest for that aside from adding hyphens/underscores to the file name?

Screen Shot 2022-07-11 at 3 12 41 PM

Thank you much!

fosspill commented 2 years ago

That's very interesting. @shinnova time to have a look?

fosspill commented 2 years ago

Spaces should be fine, but try to put " around the whole path?

Basically all the code does to check if it's a valid ttmp file is checking if it exists and if it has the right extension, so that means it's not finding a ttmp in the path you are using.

Could you show the full command you ran + output? Feel free to anonymize the path and such as long as it follows the same structure And, ry something like ffmt mpi "/user/my name/mods/VieraFluffyTails1.2.ttmp"?

vaulknerx77 commented 2 years ago

For some reason it's duplicating the first two in the filepath so: Users/my name/Users/my name ???

if I try any variation, it's not tacking on the initial Users/my name so it can't find the directory Screen Shot 2022-07-11 at 5 21 14 PM

fosspill commented 2 years ago

Ah that's interesting then. What happens if you write the full directory on your own including the first "/"?

vaulknerx77 commented 2 years ago

Ah, first / seems to help point it to the right place! Now it does this Screen Shot 2022-07-16 at 1 19 24 PM

midorialexandros commented 1 year ago

Had the same issue. The only way I got around it is to remove the spaces from the paths.

EDIT: however, I was only trying to install a single mod, and it shows it's installed 12 times. My assumption is that every time I saw the file being invalid, it was actually installing the mod.