Comments (5)
The main UI make this seem pretty straight forward:
MainWindow.xaml.cs#L123
from ffxiv_modding_tool.
As of commit bfb9cf4 bool indexLocked = index.IsIndexLocked(XivDataFile._0A_Exd)
always returns true even when it should not. Bypassing this check for now.
The next error we run into then is that mono FFXIV_TexTools_CLI.exe modpackimport -g /path/to/FINAL\ FANTASY\ XIV\ -\ A\ Realm\ Reborn/ -m /path/to/modpackdirectory/ -t /path/to/modpackfile.ttmp
returns the following:
Could not load signature of ImageMagick.MagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Could not load signature of ImageMagick.IMagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Unhandled Exception:
System.UnauthorizedAccessException: Access to the path '$HOME/git/my_repos/FFXIV_TexTools_CLI/FFXIV_TexTools_CLI/bin/Debug/ModPacks/' is denied.
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) [0x000e0] in <2db172fd6cc04cc789459631328c1dd5>: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 <2db172fd6cc04cc789459631328c1dd5>: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.Boolean useAsync) [0x00000] in <2db172fd6cc04cc789459631328c1dd5>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding entryNameEncoding) [0x00037] in <c2db6a73996b4746962d0084f4eca25d>:0
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode) [0x00000] in <c2db6a73996b4746962d0084f4eca25d>:0
at System.IO.Compression.ZipFile.OpenRead (System.String archiveFileName) [0x00000] in <c2db6a73996b4746962d0084f4eca25d>:0
at xivModdingFramework.Mods.FileTypes.TTMP.GetOriginalModPackJsonData (System.IO.DirectoryInfo modPackDirectory) [0x0000d] in <8317f3ff705b42e2a71d871411d228b6>:0
at FFXIV_TexTools_CLI.MainClass.GetModpackData (System.IO.DirectoryInfo ttmpPath, System.IO.DirectoryInfo modpackDirectory, xivModdingFramework.Mods.DataContainers.ModPackJson ttmpData) [0x00167] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at FFXIV_TexTools_CLI.MainClass.ImportModpackHandler (System.IO.DirectoryInfo ttmpPath, System.IO.DirectoryInfo modpackDirectory) [0x0006b] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at FFXIV_TexTools_CLI.MainClass+<>c__DisplayClass15_0.<Main>b__0 (FFXIV_TexTools_CLI.importoptions opts) [0x00033] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at CommandLine.ParserResultExtensions.WithParsed[T] (CommandLine.ParserResult`1[T] result, System.Action`1[T] action) [0x0001e] in <fd00a227a30544d7afa42bde90a9d412>:0
at FFXIV_TexTools_CLI.MainClass.Main (System.String[] args) [0x0001d] in <d0db9e064d0049a1b1ea5553270aaabb>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path '$HOME/git/my_repos/FFXIV_TexTools_CLI/FFXIV_TexTools_CLI/bin/Debug/ModPacks/' is denied.
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) [0x000e0] in <2db172fd6cc04cc789459631328c1dd5>: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 <2db172fd6cc04cc789459631328c1dd5>: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.Boolean useAsync) [0x00000] in <2db172fd6cc04cc789459631328c1dd5>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding entryNameEncoding) [0x00037] in <c2db6a73996b4746962d0084f4eca25d>:0
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode) [0x00000] in <c2db6a73996b4746962d0084f4eca25d>:0
at System.IO.Compression.ZipFile.OpenRead (System.String archiveFileName) [0x00000] in <c2db6a73996b4746962d0084f4eca25d>:0
at xivModdingFramework.Mods.FileTypes.TTMP.GetOriginalModPackJsonData (System.IO.DirectoryInfo modPackDirectory) [0x0000d] in <8317f3ff705b42e2a71d871411d228b6>:0
at FFXIV_TexTools_CLI.MainClass.GetModpackData (System.IO.DirectoryInfo ttmpPath, System.IO.DirectoryInfo modpackDirectory, xivModdingFramework.Mods.DataContainers.ModPackJson ttmpData) [0x00167] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at FFXIV_TexTools_CLI.MainClass.ImportModpackHandler (System.IO.DirectoryInfo ttmpPath, System.IO.DirectoryInfo modpackDirectory) [0x0006b] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at FFXIV_TexTools_CLI.MainClass+<>c__DisplayClass15_0.<Main>b__0 (FFXIV_TexTools_CLI.importoptions opts) [0x00033] in <d0db9e064d0049a1b1ea5553270aaabb>:0
at CommandLine.ParserResultExtensions.WithParsed[T] (CommandLine.ParserResult`1[T] result, System.Action`1[T] action) [0x0001e] in <fd00a227a30544d7afa42bde90a9d412>:0
at FFXIV_TexTools_CLI.MainClass.Main (System.String[] args) [0x0001d] in <d0db9e064d0049a1b1ea5553270aaabb>:0
and running the same command with dotnet
returns:
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '$HOME/git/my_repos/FFXIV_TexTools_CLI/FFXIV_TexTools_CLI/bin/Debug/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the $HOME/git/my_repos/FFXIV_TexTools_CLI/FFXIV_TexTools_CLI/bin/Debug/FFXIV_TexTools_CLI.runtimeconfig.json file specifying the appropriate framework.
from ffxiv_modding_tool.
Turns out that despite the variable in the TTMP class being called modPackDirectory
, it's actually asking for the full .ttmp path, which results in this exception being thrown as the function is expecting a zip file and we were giving it a directory.
from ffxiv_modding_tool.
Both the index check and importing was failing because of hard coded paths in the framework that this project relies on. liinko/xivModdingFramework@6f4f9f9 remedies this.
from ffxiv_modding_tool.
c5cd446 completes this issue.
Readme might need more updating, and we should consider releasing a binary.
from ffxiv_modding_tool.
Related Issues (20)
- Testing needed: Version 0.9.5 HOT 15
- [FEATURE] Per Modpack import configuration HOT 7
- Having a hard time understanding the download steps? HOT 4
- [FEATURE] Patch 5.4 Compatibility HOT 3
- Problem running on 5.4 HOT 5
- Having a hard time installing and setting up on Pop OS Linux HOT 10
- [ISSUE] AUR package update to 0.9.8-2 fails because of checksum HOT 2
- Mac: Certain mods makes game load black screen HOT 48
- [FEATURE] Patch 5.5 Compatibility HOT 2
- [FEATURE] Extend Modpack Creation functionality
- [FEATURE] Penumbra support
- [ISSUE] Bug, Maximum data size limit reached for DAT: 040000 HOT 35
- mac : mods freeze my game HOT 7
- [ISSUE] Blank line when installing modpack HOT 2
- [ISSUE] Defrag option broken
- Invalid Directory with Wizard HOT 8
- Lutris Steam version: Invalid game directory HOT 3
- Getting invalid ttmp file error HOT 6
- Where is the modlist.cfg? HOT 1
- [ISSUE] Seemingly incompatible with FFXIV 6.3 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffxiv_modding_tool.