mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
Allow calling dlls directly #554
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dimensional on GitHub (Nov 23, 2020).
Allow the calling of certain dlls directly instead of calling through aaru.exe/dll. Can allow for users to trim down packaged copies of the program and leave in only files required for the specific functions, such as checksumming only, or converting an image, or extracting a filesystem.
Check and fill as appropriate:
Detailed Description
Can there be an update to allow for directly calling dlls and associated ones? For example, allowing us to run
dotnet Aaru.Images.dllto verify or even convert an image files without needing to callaaru.exeordotnet aaru.dllwith the associated commands.Context
The biggest benefit I can see from this would be to allow 3rd party programs, mainly those that aren't programmed in C# or any of the .NET supported languages, to pass a call straight to the dll to execute a command. This would allow these 3rd party programs to possibly package precompiled versions of the software, and even only include the bare minimum required for the dll they want, even more so if the dll could be built with all the dependencies statically built into it. Programs such as RetroArch, ePSXe, PCSX2, etc might benefit from this only as supported external dlls.
This might also benefit 3rd party C# programs too, as they wouldn't have to copy certain calls from the aaru.exe/dll source or need to include the program as well, just pass a command via the .NET CLR to the dlls. This would even allow DICUI to call the dlls directly instead of having to include all files, including aaru.exe/dll, again trimming down the overall size of the package.