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

Cmd `image` subcommand does not work #54

Open cole-h opened 2 years ago

cole-h commented 2 years ago

When I attempt to run the image subcommand, it just prints out:

Game version: 2021.11.28.0000.0000
Definition version: 2021.11.28.0000.0000
SaintCoinach.Cmd (Version 0.1.0.0)
> image
Object reference not set to an instance of an object.

I was hoping to dump some of the loading screens because they're so pretty. I also tried with Godbert, but couldn't find a way to do so; however, maybe I was holding it wrong.

Hezkezl commented 2 years ago

try the ui command instead of image. Assuming you know the path to it, you should be able to put that in there as well, because just ui by itself will extract ALL of the images instead of just the loading screens.

Godbert isn't a file explorer so much as it is an /exd/ display, so it's not quite up to the task of getting the loading screens.

cole-h commented 2 years ago

While the ui command did work, it only spat out a ui/icon directory, and after skimming through all the files it generated, none of them appear to be the loading screen icons. Exploring with Godbert does show a LoadingImage category, but I don't know how to get to its contents or anything like that.

Do you have any further insight? I'm pretty new to this, so I don't exactly know how I should be going about doing this. Thanks for your time!

Hezkezl commented 2 years ago

Ahh, shit I think you're right. Now that I think about it, the loading screen stuff is part of the literal user interface, which requires XIV Explorer to get... you'll wanna open up the 060000 file go to ui/loadingimage/ and look in there for them. Apologies! It's been too many years since I've thought about the loading screens so I forgot where they were :) https://github.com/goaaats/ffxiv-explorer-fork should be where to go to download it.

cole-h commented 2 years ago

Aha! That worked flawlessly -- thanks a bunch! I stumbled upon the old FFXIV Explorer, but that didn't seem to work. Thanks for the link to the fork! I'll leave it up to you whether or not this should be closed (since I think image not working is still an issue).

(I say that and I still accidentally click the "comment and close" button lol... oops)

Hezkezl commented 2 years ago

Best leaving it open, I didn't realize that the 'image' command was an actual command listed in the help menu. Will let one of the actual programmer comment about it when they get some time :D

ClayLivince commented 2 years ago

when using image command you need the path to which file you want to export such as image ui/loadingimage/-nowloading_base_hr1.tex image command was designed for exporting one image per line. for HD loading images, you can fetch them at https://ffxiv.cyanclay.xyz/loadingimage.zip