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

[ISSUE] MacOS: Document important folders #79

Closed
fosspill opened this issue Aug 13, 2019 · 9 comments
Closed

[ISSUE] MacOS: Document important folders #79

fosspill opened this issue Aug 13, 2019 · 9 comments
Assignees
Labels
bug Something isn't working MacOS
Milestone

Comments

@fosspill
Copy link
Owner

fosspill commented Aug 13, 2019

Just did and the initial run works but it's not able to find the necessary file to actually run.

The first error I get is the following

System.IO.DirectoryNotFoundException: Could not find a part of the path "/Applications/FINAL FANTASY XIV ONLINE/game/XivMods.json".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <0523ad94f2e04325802cd231c518c8d9>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <0523ad94f2e04325802cd231c518c8d9>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <0523ad94f2e04325802cd231c518c8d9>:0
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <0523ad94f2e04325802cd231c518c8d9>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <0523ad94f2e04325802cd231c518c8d9>:0
  at xivModdingFramework.Mods.Modding.CreateModlist () [0x00067] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at xivModdingFramework.SqPack.FileTypes.Dat..ctor (System.IO.DirectoryInfo gameDirectory) [0x00019] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at xivModdingFramework.Helpers.ProblemChecker..ctor (System.IO.DirectoryInfo gameDirectory) [0x0001e] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at FFXIV_Modding_Tool.Commandline.Arguments.PreviouslyModifiedGame () [0x00029] in <1efd7f5278184069a7bb4e8f4d373139>:0
  at FFXIV_Modding_Tool.Commandline.Arguments.ArgumentHandler (System.String[] args) [0x0080b] in <1efd7f5278184069a7bb4e8f4d373139>:0
  at FFXIV_Modding_Tool.MainClass.Main (System.String[] args) [0x00036] in <1efd7f5278184069a7bb4e8f4d373139>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Applications/FINAL FANTASY XIV ONLINE/game/XivMods.json".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <0523ad94f2e04325802cd231c518c8d9>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <0523ad94f2e04325802cd231c518c8d9>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <0523ad94f2e04325802cd231c518c8d9>:0
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <0523ad94f2e04325802cd231c518c8d9>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <0523ad94f2e04325802cd231c518c8d9>:0
  at xivModdingFramework.Mods.Modding.CreateModlist () [0x00067] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at xivModdingFramework.SqPack.FileTypes.Dat..ctor (System.IO.DirectoryInfo gameDirectory) [0x00019] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at xivModdingFramework.Helpers.ProblemChecker..ctor (System.IO.DirectoryInfo gameDirectory) [0x0001e] in <e7087d1cba03440a94b4ddd624a8bfd5>:0
  at FFXIV_Modding_Tool.Commandline.Arguments.PreviouslyModifiedGame () [0x00029] in <1efd7f5278184069a7bb4e8f4d373139>:0
  at FFXIV_Modding_Tool.Commandline.Arguments.ArgumentHandler (System.String[] args) [0x0080b] in <1efd7f5278184069a7bb4e8f4d373139>:0
  at FFXIV_Modding_Tool.MainClass.Main (System.String[] args) [0x00036] in <1efd7f5278184069a7bb4e8f4d373139>:0

You may want to up the Docs to say the GameDirectory config value or -g option needs to look within the .app file. The full path is similar to:
/Applications/FINAL FANTASY XIV ONLINE.app/Contents/SharedSupport/finalfantasyxiv/support/published_Final_Fantasy/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn

Originally posted by @hybridindie in #78 (comment)

@fosspill fosspill changed the title Just did and the initial run works but it's not able to find the necessary file to actually run. [BUG] MacOS: Support .app folder or document properly Aug 13, 2019
@fosspill fosspill added the bug Something isn't working label Aug 13, 2019
@fosspill fosspill changed the title [BUG] MacOS: Support .app folder or document properly [ISSUE] MacOS: Support .app folder or document properly Aug 13, 2019
@fosspill fosspill modified the milestones: v5.5, v0.6 Aug 13, 2019
@fosspill fosspill added the MacOS label Aug 13, 2019
@fosspill
Copy link
Owner Author

Added a note regarding this in the first-time setup doc:
fosspill/FFMT-Website@311fc5a

@fosspill fosspill self-assigned this Aug 13, 2019
@hybridindie
Copy link

The index and dat files are actually located /Users/<USER_NAME>/Library/Application Support/FINAL FANTASY XIV ONLINE/Bottles/published_Final_Fantasy/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn This took me a while but eventually got a successful load of a mod using this path. No need to download anything as all the necessary files were found in the backup.

@fosspill
Copy link
Owner Author

Neat!

We'll have to clean up documentation and properly have this available.

@shinnova, would it be a good idea to add these common paths to the config file itself as examples?

@shinnova
Copy link
Collaborator

Yeah, having proper examples in the config file is a very good idea.

@fosspill
Copy link
Owner Author

We should also consider having a setup command that takes the user through the basic configuration. Here we could also include some code that tries to scan for and suggest directories.

Thank you very much so far @hybridindie ! You have no idea how appreciated your input and reports are.

@fosspill fosspill changed the title [ISSUE] MacOS: Support .app folder or document properly [ISSUE] MacOS: Document important folders Aug 13, 2019
@fosspill
Copy link
Owner Author

@hybridindie : Which folder did you set as the ConfigDirectory? Unsure about the nature of wine+MacOS here.

@hybridindie
Copy link

ConfigDirectory is set as follows `/Users/<USER_NAME>/Documents/My Games/FINAL FANTASY XIV - A Realm Reborn

OT: I'll be glad to assist for Mac related issues/testing, I'm not Mono / C# but I am a developer

@fosspill
Copy link
Owner Author

Perfect! So happy to have you onboard :)

Quickly slapped some more text together. Would this have helped you?
https://ffmt-pr-3.onrender.com/docs/mods/first-time/

@fosspill
Copy link
Owner Author

This issue is now mostly resolved and will be properly included in the next release.

Website changes:

  • Add new Configuration File section.
  • Add examples to first-time setup.

Application changes:

  • The default configuration file will come with examples built-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MacOS
Projects
None yet
Development

No branches or pull requests

3 participants