[FEATURE REQUEST] Automatically search for missing source files on new path

Started by Gal Shemesh, Sat 09/09/2023 20:46:51

Previous topic - Next topic

Gal Shemesh

I have a suggestion / feature request regarding the Sprite editor:

If sprite source files had moved on disk and we try to replace them from source, AGS gives an error that the source files are missing. However, it doesn't give an option to search for the files in the new path.

I thought that maybe I could just select multiple sprites and then update only a fraction of the path in their SourceFile property, and that it will keep the filename intact - but it actually changed all sprites to have the same path in their SourceFile, which is not correct. So I thought of 2 possible solutions:

1. To have the SourceFile property broken into 2 separate properties: one for the path without the filename, and one only for the filename. That way, the path of multiple sprites could be updated while their filename property will remain intact.

2. Havig AGS to give us an option to search for the first missing file, and after picking it in the new path it will try to search for the rest there as well - this is neat solution that exists in other programs like Adobe's; when loading a project and there are missing files that should be read from external locations on disk, which for example had been moved to another location, the program prompts about the first missing file and lets you browse for it. Once picking the file at the new path, it takes into account the new path and automatically search for the rest of the missing files there.

I think that the second option would be the best route, as this may also be usable not only for the sprite manager but for other sections in AGS which have an option to replace assets from source.
Gal Shemesh,
goldeng

SMF spam blocked by CleanTalk