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

Lutris Steam version: Invalid game directory #277

Closed Goelant closed 2 years ago

Goelant commented 2 years ago

Solution here: https://github.com/fosspill/FFXIV_Modding_Tool/issues/277#issuecomment-1102928626

Describe the bug I'm trying to setup FFMT and i'm trying to change textures from a steam-downloaded FF14. As i'm setuping, I give where are my files but i'm getting the title's error, no matter what. I tried to manually change the config file but it's not working, ffmt keeps saying that I didn't defined the gamedirectory as i'm trying to use it.

To Reproduce Steps to reproduce the behavior:

  1. Run command 'ffmt setup'
  2. Set /home//Games/final-fantasy-xiv-online/drive_c/Program Files (x86)/Steam/steamapps/common/FINAL FANTASY XIV Online/ as a GameDirectory
  3. See error 'WARNING: Invalid directory, please confirm that it matches the examples provided.'

Expected behavior ffmt setup running fine and ffmt pc returning nothing (actually returning "ERROR: Invalid game directory")

Desktop (please complete the following information):

Additional context Here is a little capture of the execution : image

It may be coming from a verification done on the game files folder ? On steam it's called "FINAL FANTASY XIV Online" but it's mentionned "FINAL FANTASY XIV - A Realm Reborn" in the example

Thanks a lot for this tool and your work :D !

fosspill commented 2 years ago

For now I'd just modify /home/xxxx/.config/FFXIV_Modding_Tool/config.cfg by hand!

What folders are in your FFXIV Online folder? could you show me? Reason I'm asking is that validation is done within the folder to ensure it seems like a proper install

The specific code that fails is: if(!_ValidDirectory(Path.Combine(_GameDirectoryFromConsole, "game", "sqpack", "ffxiv"), "GameDirectory")){

So, the path it's checking is: /home/XXXX/Games/final-fantasy-xiv-online/drive_c/Program Files (x86)/Steam/steamapps/common/FINAL FANTASY XIV Online/game/sqpack/ffxiv Within that folder we check for *.index files. if there are none it's not a valid directory.

Could you confirm that that folder has .index files in it?

Goelant commented 2 years ago

OH I'm so sorry I filled a bug for that : As I was searching for the .index file, I found the folder where I was trying to install ffmt didn't contain any game files : image

As this is the Lutris Steam version of FFXIV, used only to create a "steam link" to the Final Fantasy XIV QuickLauncher (one of the ways to play FFXIV on Linux now that the old launcher is not working anymore and you've got a steam version of FFXIV) there isn't any game files here :'( !

I installed my game in another directory of my disk through QuickLauncher download system ...

I found the .index file in this other destination and ffmt config worked well :+1:

I hope this issue can help other lost Linux users : Look again if your FFXIV folder is the one containing game files ;)

Thanks a lot for your reactivity :D

fosspill commented 2 years ago

Hah, don't worry. I reworked that a little while ago so I thought I had broken it for a second! Happy you found the issue. I've added a link to your solution in the OP