xivapi / SaintCoinach

A .NET library written in C# for extracting game assets and reading game assets from Final Fantasy XIV: A Realm Reborn.
Do What The F*ck You Want To Public License
315 stars 100 forks source link

SaintCoinach.Cmd offering update, but crashing when offer accepted. #148

Open mistahmikey opened 1 year ago

mistahmikey commented 1 year ago

I am seeing the following problem:

C:\Users\xxxx\Source\repos\SaintCoinach\SaintCoinach.Cmd\bin\Debug>SaintCoinach.Cmd
Game version: 2023.05.31.0000.0000
Definition version: 2023.05.18.0000.0000
Update is available, perform update (Y/n)? y

Unhandled Exception: System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.
   at SaintCoinach.IO.PackCollection..ctor(DirectoryInfo dataDirectory) in C:\Users\xxxx\Source\Repos\SaintCoinach\SaintCoinach\IO\PackCollection.cs:line 30
   at SaintCoinach.IO.PackCollection..ctor(String dataDirectory) in C:\Users\xxxx\Source\Repos\SaintCoinach\SaintCoinach\IO\PackCollection.cs:line 24
   at SaintCoinach.ARealmReversed.Update(Boolean detectDataChanges, IProgress`1 progress) in C:\Users\xxxx\Source\Repos\SaintCoinach\SaintCoinach\ARealmReversed.cs:line 366
   at SaintCoinach.Cmd.Program.Main(String[] args) in C:\Users\xxxx\Source\Repos\SaintCoinach\SaintCoinach.Cmd\Program.cs:line 52
Failed to delete temporary directory C:\Users\xxxx\AppData\Local\Temp\tmpB7F7.tmp.

C:\Users\xxxx\Source\repos\SaintCoinach\SaintCoinach.Cmd\bin\Debug>

Is there something I must manually do to allow this update to happen?

justscribe commented 8 months ago

Update is broken due to wrong packed "SaintCoinach.History.zip". It contains only latest version, while updater is looking for previous one. image

mistahmikey commented 4 months ago

I do not know what to do with this information - is there something I must do to make this work?

justscribe commented 4 months ago

This can be fixed by the owner of the repo, I just noticed the problem.