Allow calling dlls directly #554

Open
opened 2026-01-29 15:22:18 +00:00 by claunia · 0 comments
Owner

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:

  • [✓?] New command...
  • [✓?] Improvement to output...

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.dll to verify or even convert an image files without needing to call aaru.exe or dotnet aaru.dll with 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.

Originally created by @Dimensional on GitHub (Nov 23, 2020). <!--- Provide a general summary of the issue in the Title above --> 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: * [✓?] New command... * [✓?] Improvement to output... ## 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.dll``` to verify or even convert an image files without needing to call ```aaru.exe``` or ```dotnet aaru.dll``` with the associated commands. ## Context <!--- Why is this change important to you? How would you use it? --> <!--- How can it benefit other users? --> 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.
claunia added the wontfix label 2026-01-29 15:22:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#554